]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/Makefile
Fix building rcorder with -DDEBUG by using libutil.h instead of util.h from
[FreeBSD/FreeBSD.git] / usr.bin / Makefile
1 #       From: @(#)Makefile      8.3 (Berkeley) 1/7/94
2 # $FreeBSD$
3
4 .include <src.opts.mk>
5
6 # XXX MISSING:          deroff diction graph learn plot
7 #                       spell spline struct xsend
8 # XXX Use GNU versions: diff ld patch
9 # Moved to secure: bdes
10 #
11
12 SUBDIR= ${_addr2line} \
13         alias \
14         apply \
15         asa \
16         awk \
17         banner \
18         basename \
19         brandelf \
20         bsdiff \
21         bzip2 \
22         bzip2recover \
23         cap_mkdb \
24         chat \
25         chpass \
26         cksum \
27         ${_clang} \
28         cmp \
29         col \
30         colldef \
31         colrm \
32         column \
33         comm \
34         compress \
35         cpuset \
36         csplit \
37         ctlstat \
38         cut \
39         demandoc \
40         dirname \
41         dpv \
42         du \
43         elf2aout \
44         ${_elfcopy} \
45         elfdump \
46         enigma \
47         env \
48         expand \
49         false \
50         fetch \
51         file \
52         find \
53         finger \
54         fmt \
55         fold \
56         fstat \
57         fsync \
58         ftp \
59         gcore \
60         gencat \
61         getconf \
62         getent \
63         getopt \
64         grep \
65         gzip \
66         head \
67         hexdump \
68         ${_iconv} \
69         id \
70         ipcrm \
71         ipcs \
72         iscsictl \
73         join \
74         jot \
75         ${_kdump} \
76         keylogin \
77         keylogout \
78         killall \
79         ktrace \
80         ktrdump \
81         lam \
82         lastcomm \
83         ldd \
84         leave \
85         less \
86         lessecho \
87         lesskey \
88         limits \
89         locale \
90         lock \
91         lockf \
92         logger \
93         login \
94         logins \
95         logname \
96         look \
97         lorder \
98         lsvfs \
99         lzmainfo \
100         m4 \
101         ${_makewhatis} \
102         ${_man} \
103         mandoc \
104         mesg \
105         minigzip \
106         ministat \
107         ${_mkcsmapper} \
108         mkdep \
109         ${_mkesdb} \
110         mkfifo \
111         mkimg \
112         mklocale \
113         mktemp \
114         mkulzma \
115         mkuzip \
116         mt \
117         ncal \
118         netstat \
119         newgrp \
120         nfsstat \
121         nice \
122         nl \
123         ${_nm} \
124         nohup \
125         opieinfo \
126         opiekey \
127         opiepasswd \
128         pagesize \
129         passwd \
130         paste \
131         patch \
132         pathchk \
133         perror \
134         pr \
135         printenv \
136         printf \
137         procstat \
138         protect \
139         rctl \
140         renice \
141         rev \
142         revoke \
143         rpcinfo \
144         rs \
145         rup \
146         rusers \
147         rwall \
148         script \
149         sed \
150         send-pr \
151         seq \
152         shar \
153         showmount \
154         ${_size} \
155         sockstat \
156         soeliminate \
157         sort \
158         split \
159         stat \
160         stdbuf \
161         ${_strings} \
162         su \
163         systat \
164         tabs \
165         tail \
166         talk \
167         tar \
168         tcopy \
169         tee \
170         ${_tests} \
171         tftp \
172         time \
173         timeout \
174         tip \
175         top \
176         touch \
177         tput \
178         tr \
179         true \
180         truncate \
181         ${_truss} \
182         tset \
183         tsort \
184         tty \
185         uname \
186         unexpand \
187         uniq \
188         unzip \
189         units \
190         unvis \
191         uudecode \
192         uuencode \
193         vis \
194         vmstat \
195         w \
196         wall \
197         wc \
198         what \
199         whereis \
200         which \
201         whois \
202         write \
203         xargs \
204         xinstall \
205         ${_xlint} \
206         xo \
207         ${_xstr} \
208         xz \
209         xzdec \
210         ${_yacc} \
211         yes \
212         ${_ypcat} \
213         ${_ypmatch} \
214         ${_ypwhich}
215
216 # NB: keep these sorted by MK_* knobs
217
218 .if ${MK_AT} != "no"
219 SUBDIR+=        at
220 .endif
221
222 .if ${MK_ATM} != "no"
223 SUBDIR+=        atm
224 .endif
225
226 .if ${MK_BLUETOOTH} != "no"
227 SUBDIR+=        bluetooth
228 .endif
229
230 .if ${MK_BSD_CPIO} != "no"
231 SUBDIR+=        cpio
232 .endif
233
234 .if ${MK_CALENDAR} != "no"
235 SUBDIR+=        calendar
236 .endif
237
238 .if ${MK_CLANG} != "no"
239 _clang=         clang
240 .endif
241
242 .if ${MK_EE} != "no"
243 SUBDIR+=        ee
244 .endif
245
246 .if ${MK_ELFTOOLCHAIN_TOOLS} != "no"
247 _addr2line=     addr2line
248 _elfcopy=       elfcopy
249 _nm=            nm
250 _size=          size
251 _strings=       strings
252 .endif
253
254 .if ${MK_FMAKE} != "no"
255 SUBDIR+=        make
256 .endif
257
258 .if ${MK_GPL_DTC} != "yes"
259 SUBDIR+=        dtc
260 .endif
261
262 .if ${MK_GROFF} != "no"
263 SUBDIR+=        vgrind
264 .endif
265
266 .if ${MK_HESIOD} != "no"
267 SUBDIR+=        hesinfo
268 .endif
269
270 .if ${MK_ICONV} != "no"
271 _iconv=         iconv
272 _mkcsmapper=    mkcsmapper
273 _mkesdb=        mkesdb
274 .endif
275
276 .if ${MK_KDUMP} != "no"
277 SUBDIR+=        kdump
278 SUBDIR+=        truss
279 .endif
280
281 .if ${MK_KERBEROS_SUPPORT} != "no"
282 SUBDIR+=        compile_et
283 .endif
284
285 .if ${MK_LDNS_UTILS} != "no"
286 SUBDIR+=        drill
287 SUBDIR+=        host
288 .endif
289
290 .if ${MK_LOCATE} != "no"
291 SUBDIR+=        locate
292 .endif
293
294 # XXX msgs?
295 .if ${MK_MAIL} != "no"
296 SUBDIR+=        biff
297 SUBDIR+=        from
298 SUBDIR+=        mail
299 SUBDIR+=        msgs
300 .endif
301
302 .if ${MK_MAKE} != "no"
303 SUBDIR+=        bmake
304 .endif
305
306 .if ${MK_MAN_UTILS} != "no"
307 SUBDIR+=        catman
308 _makewhatis=    makewhatis
309 _man=           man
310 .endif
311
312 .if ${MK_NETCAT} != "no"
313 SUBDIR+=        nc
314 .endif
315
316 .if ${MK_NIS} != "no"
317 SUBDIR+=        ypcat
318 SUBDIR+=        ypmatch
319 SUBDIR+=        ypwhich
320 .endif
321
322 .if ${MK_OPENSSH} != "no"
323 SUBDIR+=        ssh-copy-id
324 .endif
325
326 .if ${MK_OPENSSL} != "no"
327 SUBDIR+=        bc
328 SUBDIR+=        chkey
329 SUBDIR+=        dc
330 SUBDIR+=        newkey
331 .endif
332
333 .if ${MK_QUOTAS} != "no"
334 SUBDIR+=        quota
335 .endif
336
337 .if ${MK_RCMDS} != "no"
338 SUBDIR+=        rlogin
339 SUBDIR+=        rsh
340 SUBDIR+=        ruptime
341 SUBDIR+=        rwho
342 .endif
343
344 .if ${MK_SENDMAIL} != "no"
345 SUBDIR+=        vacation
346 .endif
347
348 .if ${MK_TELNET} != "no"
349 SUBDIR+=        telnet
350 .endif
351
352 .if ${MK_TESTS} != "no"
353 _tests=         tests
354 .endif
355
356 .if ${MK_TEXTPROC} != "no"
357 SUBDIR+=        checknr
358 SUBDIR+=        colcrt
359 SUBDIR+=        ul
360 .endif
361
362 .if ${MK_TOOLCHAIN} != "no"
363 SUBDIR+=        ar
364 SUBDIR+=        c89
365 SUBDIR+=        c99
366 SUBDIR+=        ctags
367 SUBDIR+=        file2c
368 SUBDIR+=        gprof
369 SUBDIR+=        indent
370 SUBDIR+=        lex
371 SUBDIR+=        mkstr
372 SUBDIR+=        rpcgen
373 SUBDIR+=        unifdef
374 SUBDIR+=        xlint
375 SUBDIR+=        xstr
376 SUBDIR+=        yacc
377 .endif
378
379 .if ${MK_VI} != "no"
380 SUBDIR+=        vi
381 .endif
382
383 .if ${MK_VT} != "no"
384 SUBDIR+=        vtfontcvt
385 .endif
386
387 .if ${MK_USB} != "no"
388 SUBDIR+=        usbhidaction
389 SUBDIR+=        usbhidctl
390 .endif
391
392 .if ${MK_UTMPX} != "no"
393 SUBDIR+=        last
394 SUBDIR+=        users
395 SUBDIR+=        who
396 .endif
397
398 .if ${MK_SVN} == "yes" || ${MK_SVNLITE} == "yes"
399 SUBDIR+=        svn
400 .endif
401
402 .include <bsd.arch.inc.mk>
403
404 SUBDIR:=        ${SUBDIR:O}
405
406 SUBDIR_PARALLEL=
407
408 .include <bsd.subdir.mk>