Deleted Added
full compact
Makefile (123473) Makefile (124587)
1# From: @(#)Makefile 5.20 (Berkeley) 6/12/93
1# From: @(#)Makefile 5.20 (Berkeley) 6/12/93
2# $FreeBSD: head/usr.sbin/Makefile 123473 2003-12-11 22:34:36Z wpaul $
2# $FreeBSD: head/usr.sbin/Makefile 124587 2004-01-16 15:23:19Z ru $
3
3
4.if ${MACHINE_ARCH} != "powerpc"
5_sysinstall=sysinstall
6.endif
7
8# XXX MISSING: mkproto
9SUBDIR= IPXrouted \
10 ac \
11 accton \
4# XXX MISSING: mkproto
5SUBDIR= IPXrouted \
6 ac \
7 accton \
8 ${_acpi} \
12 adduser \
13 amd \
14 ancontrol \
9 adduser \
10 amd \
11 ancontrol \
12 ${_apm} \
13 ${_apmd} \
15 arp \
14 arp \
15 ${_asf} \
16 ${_atm} \
17 ${_bluetooth} \
18 ${_boot0cfg} \
19 ${_boot98cfg} \
16 bootparamd \
17 bsnmpd \
20 bootparamd \
21 bsnmpd \
22 ${_btxld} \
18 burncd \
19 cdcontrol \
20 chkgrp \
21 chown \
22 chroot \
23 ckdist \
24 config \
25 cron \
26 crunch \
27 ctm \
28 daemon \
29 dconschat \
30 devinfo \
31 digictl \
32 diskinfo \
23 burncd \
24 cdcontrol \
25 chkgrp \
26 chown \
27 chroot \
28 ckdist \
29 config \
30 cron \
31 crunch \
32 ctm \
33 daemon \
34 dconschat \
35 devinfo \
36 digictl \
37 diskinfo \
38 ${_editmap} \
33 edquota \
39 edquota \
40 ${_elf2exe} \
34 extattr \
35 extattrctl \
36 faithd \
37 fdcontrol \
38 fdformat \
39 fdread \
40 fdwrite \
41 fwcontrol \
42 getfmac \
43 getpmac \
44 gstat \
41 extattr \
42 extattrctl \
43 faithd \
44 fdcontrol \
45 fdformat \
46 fdread \
47 fdwrite \
48 fwcontrol \
49 getfmac \
50 getpmac \
51 gstat \
52 ${_i4b} \
45 ifmcstat \
46 inetd \
47 iostat \
48 ip6addrctl \
53 ifmcstat \
54 inetd \
55 iostat \
56 ip6addrctl \
57 ${_ipftest} \
58 ${_ipresend} \
59 ${_ipsend} \
60 ${_iptest} \
49 jail \
50 jexec \
51 jls \
52 kbdcontrol \
53 kbdmap \
54 kernbb \
61 jail \
62 jexec \
63 jls \
64 kbdcontrol \
65 kbdmap \
66 kernbb \
67 ${_keyserv} \
68 ${_kgmon} \
69 ${_kgzip} \
55 kldxref \
56 lastlogin \
70 kldxref \
71 lastlogin \
72 ${_lpr} \
73 ${_lptcontrol} \
74 ${_mailstats} \
57 mailwrapper \
75 mailwrapper \
76 ${_makemap} \
58 manctl \
59 memcontrol \
60 mergemaster \
61 mixer \
77 manctl \
78 memcontrol \
79 mergemaster \
80 mixer \
81 ${_mld6query} \
62 mlxcontrol \
82 mlxcontrol \
63 mount_portalfs \
64 mountd \
83 mountd \
84 ${_mount_nwfs} \
85 mount_portalfs \
86 ${_mount_smbfs} \
65 moused \
87 moused \
88 ${_mptable} \
66 mrouted \
67 mtest \
68 mtree \
89 mrouted \
90 mtest \
91 mtree \
92 ${_named} \
93 ${_named.reload} \
94 ${_named.restart} \
95 ${_ndc} \
96 ${_ndiscvt} \
69 ndp \
70 newsyslog \
71 nfsd \
72 ngctl \
97 ndp \
98 newsyslog \
99 nfsd \
100 ngctl \
73 ntp \
74 nghook \
101 nghook \
102 ${_nslookup} \
103 ${_nsupdate} \
104 ntp \
105 ${_ofwdump} \
106 ${_pccard} \
75 pciconf \
107 pciconf \
108 ${_pcvt/ispcvt} \
109 ${_pcvt} \
76 periodic \
77 pkg_install \
110 periodic \
111 pkg_install \
112 ${_pnpinfo} \
78 ppp \
113 ppp \
114 ${_pppctl} \
79 pppd \
80 pppstats \
115 pppd \
116 pppstats \
117 ${_praliases} \
81 procctl \
82 pstat \
83 pw \
84 pwd_mkdb \
85 quot \
86 quotaon \
87 rarpd \
88 raycontrol \
89 repquota \
118 procctl \
119 pstat \
120 pw \
121 pwd_mkdb \
122 quot \
123 quotaon \
124 rarpd \
125 raycontrol \
126 repquota \
127 ${_rip6query} \
90 rmt \
128 rmt \
129 ${_route6d} \
91 rpcbind \
92 rpc.lockd \
93 rpc.statd \
94 rpc.umntall \
95 rpc.yppasswdd \
96 rpc.ypupdated \
97 rpc.ypxfrd \
98 rrenumd \
99 rtadvd \
100 rtprio \
101 rtsold \
102 rwhod \
103 sa \
130 rpcbind \
131 rpc.lockd \
132 rpc.statd \
133 rpc.umntall \
134 rpc.yppasswdd \
135 rpc.ypupdated \
136 rpc.ypxfrd \
137 rrenumd \
138 rtadvd \
139 rtprio \
140 rtsold \
141 rwhod \
142 sa \
143 ${_sendmail} \
104 setfmac \
105 setkey \
106 setpmac \
144 setfmac \
145 setkey \
146 setpmac \
147 ${_sgsc} \
148 ${_sicontrol} \
107 sliplogin \
108 slstat \
149 sliplogin \
150 slstat \
151 ${_spkrtest} \
109 spray \
152 spray \
153 ${_stallion} \
110 ${_sysinstall} \
111 syslogd \
112 tcpdchk \
113 tcpdmatch \
114 tcpdump \
115 timed \
116 traceroute \
154 ${_sysinstall} \
155 syslogd \
156 tcpdchk \
157 tcpdmatch \
158 tcpdump \
159 timed \
160 traceroute \
161 ${_traceroute6} \
117 trpt \
118 tzsetup \
119 ugidfw \
162 trpt \
163 tzsetup \
164 ugidfw \
165 ${_usbd} \
166 ${_usbdevs} \
120 vidcontrol \
121 vipw \
122 vnconfig \
123 watch \
124 watchdogd \
125 wicontrol \
167 vidcontrol \
168 vipw \
169 vnconfig \
170 watch \
171 watchdogd \
172 wicontrol \
126 yp_mkdb \
173 ${_wlconfig} \
127 ypbind \
174 ypbind \
175 yp_mkdb \
128 yppoll \
129 yppush \
130 ypserv \
131 ypset \
176 yppoll \
177 yppush \
178 ypserv \
179 ypset \
132 zic
180 zic \
181 ${_zzz}
133
182
183.if ${MACHINE_ARCH} != "powerpc"
184_sysinstall= sysinstall
185.endif
186
134.if !defined(NOATM)
187.if !defined(NOATM)
135SUBDIR+=atm
188_atm= atm
136.endif
137
189.endif
190
191.if !defined(NO_BIND)
192_named= named
193_named.reload= named.reload
194_named.restart= named.restart
195_ndc= ndc
196_nslookup= nslookup
197_nsupdate= nsupdate
198.endif
199
200.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
201_keyserv= keyserv
202.endif
203
138.if !defined(NOINET6)
204.if !defined(NOINET6)
139SUBDIR+=mld6query \
140 rip6query \
141 route6d \
142 traceroute6
205_mld6query= mld6query
206_rip6query= rip6query
207_route6d= route6d
208_traceroute6= traceroute6
143.endif
144
145.if !defined(NO_IPFILTER)
209.endif
210
211.if !defined(NO_IPFILTER)
146SUBDIR+=ipftest \
147 ipresend \
148 ipsend \
149 iptest
212_ipftest= ipftest
213_ipresend= ipresend
214_ipsend= ipsend
215_iptest= iptest
150.endif
151
216.endif
217
152.if !defined(NO_USB)
153SUBDIR+=usbd \
154 usbdevs
155.endif
156.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "powerpc"
218.if !defined(NOLIBC_R) && ${MACHINE_ARCH} != "powerpc"
157SUBDIR+=pppctl
219_pppctl= pppctl
158.endif
159
220.endif
221
160.if !defined(NO_BIND)
161SUBDIR+=named \
162 named.reload \
163 named.restart \
164 ndc \
165 nslookup \
166 nsupdate
167.endif
168
169.if !defined(NO_LPR)
222.if !defined(NO_LPR)
170SUBDIR+=lpr
223_lpr= lpr
171.endif
172
173.if !defined(NO_SENDMAIL)
224.endif
225
226.if !defined(NO_SENDMAIL)
174SUBDIR+=editmap \
175 mailstats \
176 makemap \
177 praliases \
178 sendmail
227_editmap= editmap
228_mailstats= mailstats
229_makemap= makemap
230_praliases= praliases
231_sendmail= sendmail
179.endif
180
232.endif
233
181.if ${MACHINE_ARCH} == "alpha"
182SUBDIR+=elf2exe \
183 pnpinfo
234.if !defined(NO_USB)
235_usbd= usbd
236_usbdevs= usbdevs
184.endif
185
186.if ${MACHINE_ARCH} == "i386"
237.endif
238
239.if ${MACHINE_ARCH} == "i386"
187SUBDIR+=apm \
188 apmd \
189 asf \
190 bluetooth \
191 btxld \
192 kgmon \
193 kgzip \
194 lptcontrol \
195 mount_nwfs \
196 mount_smbfs \
197 mptable \
198 ndiscvt \
199 pccard \
200 pcvt \
201 pnpinfo \
202 sgsc \
203 sicontrol \
204 spkrtest \
205 stallion \
206 wlconfig \
207 zzz
208
209.if !defined(NO_ACPI)
240.if !defined(NO_ACPI)
210SUBDIR+=acpi
241_acpi= acpi
211.endif
242.endif
212
243_apm= apm
244_apmd= apmd
245_asf= asf
246_bluetooth= bluetooth
247.if ${MACHINE} == "i386"
248_boot0cfg= boot0cfg
249.endif
250.if ${MACHINE} == "pc98"
251_boot98cfg= boot98cfg
252.endif
253_btxld= btxld
213.if !defined(NO_I4B)
254.if !defined(NO_I4B)
214SUBDIR+=i4b
255_i4b= i4b
215.endif
256.endif
216
257_kgmon= kgmon
258_kgzip= kgzip
259_lptcontrol= lptcontrol
260_mount_nwfs= mount_nwfs
261_mount_smbfs= mount_smbfs
262_mptable= mptable
263_ndiscvt= ndiscvt
264_pccard= pccard
265_pcvt= pcvt
266_pnpinfo= pnpinfo
267_sgsc= sgsc
268_sicontrol= sicontrol
269_spkrtest= spkrtest
270_stallion= stallion
271_wlconfig= wlconfig
272_zzz= zzz
217.endif
218
273.endif
274
219.if ${MACHINE_ARCH} == "ia64"
220SUBDIR+=acpi \
221 zzz
275.if ${MACHINE_ARCH} == "alpha"
276_elf2exe= elf2exe
277_pnpinfo= pnpinfo
222.endif
223
224# kgmon: builds, but no kernel profiling
225# kgzip: builds, but missing support files
226# mptable: broken (not 64 bit clean)
227# pnpinfo: crashes (not really useful anyway)
228.if ${MACHINE_ARCH} == "amd64"
278.endif
279
280# kgmon: builds, but no kernel profiling
281# kgzip: builds, but missing support files
282# mptable: broken (not 64 bit clean)
283# pnpinfo: crashes (not really useful anyway)
284.if ${MACHINE_ARCH} == "amd64"
229SUBDIR+=acpi \
230 asf \
231 boot0cfg \
232 btxld \
233 lptcontrol \
234 mount_nwfs \
235 mount_smbfs \
236 mptable \
237 pcvt/ispcvt \
238 sicontrol \
239 spkrtest \
240 zzz
285.if !defined(NO_ACPI)
286_acpi= acpi
241.endif
287.endif
242
243.if ${MACHINE} == "i386"
244SUBDIR+=boot0cfg
288_asf= asf
289_boot0cfg= boot0cfg
290_btxld= btxld
291_lptcontrol= lptcontrol
292_mount_nwfs= mount_nwfs
293_mount_smbfs= mount_smbfs
294_mptable= mptable
295_pcvt/ispcvt= pcvt/ispcvt
296_sicontrol= sicontrol
297_spkrtest= spkrtest
298_zzz= zzz
245.endif
246
299.endif
300
247.if ${MACHINE} == "pc98"
248SUBDIR+=boot98cfg
301.if ${MACHINE_ARCH} == "ia64"
302.if !defined(NO_ACPI)
303_acpi= acpi
249.endif
304.endif
305_zzz= zzz
306.endif
250
251.if ${MACHINE_ARCH} == "sparc64"
307
308.if ${MACHINE_ARCH} == "sparc64"
252SUBDIR+=ofwdump
309_ofwdump= ofwdump
253.endif
254
310.endif
311
255.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
256SUBDIR+=keyserv
257.endif
258
259.include <bsd.subdir.mk>
312.include <bsd.subdir.mk>