Line | |
---|
1 | # Makefile for commands.
|
---|
2 |
|
---|
3 | MAKE = exec make -$(MAKEFLAGS)
|
---|
4 | BZIP2=bzip2-1.0.3
|
---|
5 |
|
---|
6 | SMALLPROGRAMS=`arch` aal advent ash autil awk bc byacc cawf cron de dhcpd dis88 elle elvis ftp ftpd200 httpd ibm indent m4 make mdb mined patch pax ps reboot rlogind scripts sh simple syslogd talk talkd telnet telnetd urlget yap zmodem
|
---|
7 |
|
---|
8 | usage:
|
---|
9 | @echo "Usage: make all # Compile all commands" >&2
|
---|
10 | @echo " make install # Install the result (run as bin!)" >&2
|
---|
11 | @echo " make clean # Delete .o files and other junk" >&2
|
---|
12 | @echo " make big # Compile all big commands" >&2
|
---|
13 | @echo " make biginstall # Install all big commands" >&2
|
---|
14 | @echo " make small # Install all small commands" >&2
|
---|
15 | @echo " make smallinstall # Install all small commands" >&2
|
---|
16 | @echo " "
|
---|
17 | @echo "big compiles the commands the require large compiler sizes."
|
---|
18 | @echo "small compiles the rest. all compiles all."
|
---|
19 | @false
|
---|
20 |
|
---|
21 | all: small big
|
---|
22 |
|
---|
23 | install: biginstall smallinstall
|
---|
24 |
|
---|
25 | big:
|
---|
26 | cd $(BZIP2) && /bin/sh build build
|
---|
27 |
|
---|
28 | biginstall: big
|
---|
29 | cd $(BZIP2) && make install
|
---|
30 |
|
---|
31 | clean::
|
---|
32 | cd $(BZIP2) && make clean
|
---|
33 | for p in $(SMALLPROGRAMS); do ( cd $$p && make clean ); done
|
---|
34 |
|
---|
35 | small::
|
---|
36 | set -e; for p in $(SMALLPROGRAMS); do ( cd $$p && make all ); done
|
---|
37 |
|
---|
38 | smallinstall::
|
---|
39 | set -e; for p in $(SMALLPROGRAMS); do ( cd $$p && make install ); done
|
---|
40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.