1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet
9# at http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011, Richard Lowe
14# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
15#
16
17include		$(SRC)/Makefile.master
18
19MANSECT= 	9p
20
21MANFILES= 	ddi-forceattach.9p		\
22	 	inquiry-device-type.9p		\
23	 	no-involuntary-power-cycles.9p	\
24	 	pm-components.9p		\
25	 	pm.9p				\
26	 	removable-media.9p		\
27	 	size.9p
28
29MANLINKS=	Nblock.9p		\
30	 	blksize.9p		\
31	 	ddi-no-autodetach.9p	\
32	 	device-blksize.9p	\
33	 	device-nblocks.9p	\
34	 	inquiry-product-id.9p	\
35	 	inquiry-revision-id.9p	\
36	 	inquiry-serial-no.9p	\
37	 	inquiry-vendor-id.9p
38
39ddi-no-autodetach.9p	:= LINKSRC = ddi-forceattach.9p
40
41inquiry-product-id.9p	:= LINKSRC = inquiry-device-type.9p
42inquiry-revision-id.9p	:= LINKSRC = inquiry-device-type.9p
43inquiry-serial-no.9p	:= LINKSRC = inquiry-device-type.9p
44inquiry-vendor-id.9p	:= LINKSRC = inquiry-device-type.9p
45
46Nblock.9p		:= LINKSRC = size.9p
47blksize.9p		:= LINKSRC = size.9p
48device-blksize.9p	:= LINKSRC = size.9p
49device-nblocks.9p	:= LINKSRC = size.9p
50
51.KEEP_STATE:
52
53include		$(SRC)/man/Makefile.man
54
55install:	$(ROOTMANFILES) $(ROOTMANLINKS)
56