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