xref: /openbsd/usr.bin/Makefile (revision f2dfb0a4)
1#	$OpenBSD: Makefile,v 1.49 1998/04/27 03:35:22 mickey Exp $
2
3.include <bsd.own.mk>
4
5SUBDIR= apply apropos arch asa at aucat audioctl awk banner basename bdes biff \
6	cal calendar cap_mkdb cdio checknr chflags chpass cksum cmp col colcrt \
7	colrm column comm compile_et compress cpp crontab ctags cut dirname \
8	du elf2olf encrypt env error expand false file file2c find finger fmt \
9	fold from fsplit fstat ftp gencat getconf getopt gprof head hexdump \
10	id indent \
11	info_mkdb ipcrm ipcs join jot kdump ktrace lam last lastcomm leave \
12	less lex lndir locate lock logger login logname look lorder m4 \
13	machine mail make man mesg mixerctl mk_cmds mkdep mkfifo mkstr mktemp \
14	modstat msgs nc netstat newsyslog \
15	nfsstat nice nohup oldrdist pagesize passwd paste patch pr printenv \
16	printf quota rdist rdistd readlink renice rev rlogin rpcgen rpcinfo rs \
17	rsh rup ruptime rusers rwall rwho \
18	script sed shar showmount skey skeyaudit skeyinfo skeyinit soelim sort \
19	split su sup systat tail talk tcopy tee telnet tftp time \
20	tip tn3270 top touch tput tr true tset tsort tty ul uname unexpand \
21	unifdef uniq units unvis users uudecode uuencode \
22	vacation vgrind vi vis vmstat w wall wc what whatis \
23	which who whois window write \
24	xargs xinstall xlint xstr yacc yes
25
26.if (${YP} == "yes")
27SUBDIR+=ypcat ypmatch ypwhich
28.endif
29
30# Don't use the standard tool chain on the alpha or mips.
31.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && ${MACHINE_ARCH} != "powerpc")
32SUBDIR+= ar nm ranlib size strip strings
33.endif
34
35.if   make(clean) || make(cleandir) || make(obj)
36SUBDIR+= pctr elf2ecoff elf2aout
37.elif ${MACHINE_ARCH} == "i386"
38SUBDIR+= pctr
39.elif ${MACHINE_ARCH} == "mips"
40SUBDIR+= elf2ecoff elf2aout
41.endif
42
43.include <bsd.subdir.mk>
44