1 # Makefile for commands.
3 MAKE
= exec make
-$(MAKEFLAGS
)
7 SMALLPROGRAMS
=`arch` aal advent ash autil awk byacc cawf cron de dhcpd dis88 elle elvis ftp101 ftpd200 ibm indent m4 make mdb mined patch pax profile ps reboot rlogind scripts sh simple syslogd swifi talk talkd telnet telnetd urlget yap zoneinfo
10 @echo
"Usage: make all # Compile all commands" >&2
11 @echo
" make install # Install the result (run as bin!)" >&2
12 @echo
" make clean # Delete .o files and other junk" >&2
16 cd
$(BZIP2
) && /bin
/sh build build
17 set
-e
; for p in
$(SMALLPROGRAMS
); do
( cd
$$p && make
all ); done
20 set
-e
; for p in
$(SMALLPROGRAMS
); do
( cd
$$p && make
install ); done
21 cd zmodem
&& make
install
22 cd
$(BZIP2
) && make
install
23 cd
$(FLEX
) && sh build
26 cd
$(BZIP2
) && make
clean
27 cd zmodem
&& make
clean
28 if
[ -f
$(FLEX
)/Makefile
]; then cd
$(FLEX
) && make
distclean ; fi
29 for p in
$(SMALLPROGRAMS
); do
( cd
$$p && make
clean ); done