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 (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>
15# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
16#
17
18SUBDIRS=	man1		\
19		man1b		\
20		man1c		\
21		man1has		\
22		man1m		\
23		man1s		\
24		man2		\
25		man3		\
26		man3avl		\
27		man3bsm		\
28		man3c		\
29		man3c_db	\
30		man3cfgadm	\
31		man3commputil	\
32		man3contract	\
33		man3cpc		\
34		man3curses	\
35		man3dat		\
36		man3devid	\
37		man3devinfo	\
38		man3dlpi	\
39		man3dns_sd	\
40		man3elf		\
41		man3exacct	\
42		man3ext		\
43		man3fcoe	\
44		man3fstyp	\
45		man3gen		\
46		man3gss		\
47		man3head	\
48		man3iscsit	\
49		man3kstat	\
50		man3kvm		\
51		man3ldap	\
52		man3lgrp	\
53		man3lib		\
54		man3m		\
55		man3mail	\
56		man3malloc	\
57		man3mp		\
58		man3mpapi	\
59		man3mvec	\
60		man3nsl		\
61		man3nvpair	\
62		man3pam		\
63		man3ofmt	\
64		man3papi	\
65		man3perl	\
66		man3picl	\
67		man3picltree	\
68		man3pool	\
69		man3proc	\
70		man3project	\
71		man3resolv	\
72		man3rpc		\
73		man3rsm		\
74		man3sasl	\
75		man3scf		\
76		man3sec		\
77		man3secdb	\
78		man3sip		\
79		man3slp		\
80		man3socket	\
81		man3stmf	\
82		man3sysevent	\
83		man3tecla	\
84		man3tnf		\
85		man3tsol	\
86		man3utempter	\
87		man3uuid	\
88		man3volmgt	\
89		man3xcurses	\
90		man3xnet	\
91		man4		\
92		man5		\
93		man7		\
94		man7d		\
95		man7fs		\
96		man7i		\
97		man7ipp		\
98		man7m		\
99		man7p		\
100		man9		\
101		man9e		\
102		man9f		\
103		man9p		\
104		man9s
105
106.PARALLEL: $(SUBDIRS)
107
108all		:= TARGET = all
109clean		:= TARGET = clean
110clobber		:= TARGET = clobber
111install		:= TARGET = install
112check		:= TARGET = check
113
114all check clean clobber install: $(SUBDIRS)
115
116$(SUBDIRS):	FRC
117	@cd $@; pwd; $(MAKE) $(TARGET)
118
119FRC:
120