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         man5            \
  85         man7            \
  86         man7d           \
  87         man7fs          \
  88         man7i           \
  89         man7ipp         \
  90         man7m           \
  91         man7p           \
  92         man9            \
  93         man9e           \
  94         man9f           \
  95         man9p           \
  96         man9s
  97 
  98 .PARALLEL: $(SUBDIRS)
  99 
 100 all :=          TARGET = all
 101 install :=      TARGET = install
 102 clean :=        TARGET = clean
 103 clobber :=      TARGET = clobber
 104 lint :=         TARGET = lint
 105 
 106 all install clean clobber lint: $(SUBDIRS)
 107 
 108 $(SUBDIRS): FRC
 109         @cd $@; pwd; $(MAKE) $(TARGET)
 110 
 111 FRC:
 112