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