summaryrefslogtreecommitdiff
path: root/usr.bin/Makefile
blob: a35683703ce5aef93d4949d3f5e5deddc54ce447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#	$OpenBSD: Makefile,v 1.59 1999/05/24 01:29:27 angelos Exp $

.include <bsd.own.mk>

SUBDIR= apply apropos arch asa at aucat audioctl awk banner basename bdes biff \
	cal calendar cap_mkdb cdio checknr chflags chpass cksum cmp col colcrt \
	colrm column comm compile_et compress cpp crontab ctags cut dirname \
	du elf2olf encrypt env error expand false file file2c find finger fmt \
	fold from fsplit fstat ftp gencat getconf getopt gprof head hexdump \
	id indent infocmp ipcrm ipcs join jot kdump keynote ktrace lam last \
	lastcomm leave less lex lndir locate lock logger login logname look \
	lorder m4 machine mail make man mesg midiplay mixerctl mkdep mkstr \
	mktemp modstat msgs nc netstat newsyslog \
	nfsstat nice nohup oldrdist pagesize passwd paste patch pr printenv \
	printf quota rdist rdistd readlink renice rev rlogin rpcgen rpcinfo rs \
	rsh rup ruptime rusers rwall rwho \
	script sed shar showmount skey skeyaudit skeyinfo skeyinit sort \
	split su sup systat tail talk tcopy tee telnet tftp tic time \
	tip tn3270 top touch tput tr true tset tsort tty ul uname unexpand \
	unifdef uniq units unvis users uudecode uuencode \
	vacation vgrind vi vis vmstat w wall wc what whatis \
	which who whois window write \
	xargs xinstall xlint xstr yacc yes

.if (${YP} == "yes")
SUBDIR+=ypcat ypmatch ypwhich
.endif

# Don't use the standard tool chain on the alpha, mips, powerpc, and hppa.
.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "hppa")
SUBDIR+= ar nm ranlib size strip strings
.endif

.if   make(clean) || make(cleandir) || make(obj)
SUBDIR+= pctr elf2ecoff elf2aout
.elif ${MACHINE_ARCH} == "i386"
SUBDIR+= pctr
.elif ${MACHINE_ARCH} == "mips"
SUBDIR+= elf2ecoff elf2aout
.endif

.include <bsd.subdir.mk>