2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for commands.
|
|
|
|
|
|
|
|
MAKE = exec make -$(MAKEFLAGS)
|
2005-07-11 14:54:10 +02:00
|
|
|
FLEX=flex-2.5.4
|
2005-06-20 15:30:24 +02:00
|
|
|
GZIP=gzip-1.2.4
|
2005-06-27 12:04:55 +02:00
|
|
|
PYTHON=python-1.5.2
|
2005-08-29 21:39:06 +02:00
|
|
|
BZIP2=bzip2-1.0.3
|
|
|
|
KERMIT=kermit-2.1.1
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
usage:
|
2005-08-29 21:39:06 +02:00
|
|
|
@echo "Usage: make all # Compile all commands" >&2
|
|
|
|
@echo " make install # Install the result (run as bin!)" >&2
|
|
|
|
@echo " make clean # Delete .o files and other junk" >&2
|
|
|
|
@echo " make bigall # Compile all big commands" >&2
|
|
|
|
@echo " make biginstall # Install all big commands" >&2
|
2005-04-21 16:53:53 +02:00
|
|
|
@false
|
|
|
|
|
2005-08-31 13:56:16 +02:00
|
|
|
all install::
|
|
|
|
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@
|
|
|
|
|
2005-08-29 21:39:06 +02:00
|
|
|
bigall:
|
2005-09-08 13:59:52 +02:00
|
|
|
cd $(FLEX) && /bin/sh makeme.sh
|
|
|
|
cd $(PYTHON) && /bin/sh makeme.sh
|
|
|
|
cd $(BZIP2) && /bin/sh makeme.sh
|
|
|
|
cd $(KERMIT) && /bin/sh makeme.sh
|
2005-08-29 21:39:06 +02:00
|
|
|
|
2005-09-08 13:59:52 +02:00
|
|
|
biginstall: bigall
|
|
|
|
cd $(FLEX) && make install
|
|
|
|
cd $(PYTHON) && make install
|
|
|
|
cd $(BZIP2) && make install
|
|
|
|
cd $(KERMIT) && make install
|
2005-06-17 15:42:53 +02:00
|
|
|
|
2005-06-20 15:30:24 +02:00
|
|
|
clean::
|
2005-08-30 18:23:32 +02:00
|
|
|
if [ -f $(FLEX)/Makefile ] ; then cd $(FLEX) && make $@; fi
|
|
|
|
if [ -f $(GZIP)/Makefile ] ; then cd $(GZIP) && make $@; fi
|
|
|
|
if [ -f $(PYTHON)/Makefile ] ; then cd $(PYTHON) && make $@; fi
|
|
|
|
cd $(BZIP2) && make clean
|
|
|
|
cd $(KERMIT) && make clean
|
2005-06-17 15:42:53 +02:00
|
|
|
|
|
|
|
all install clean::
|
2005-04-21 16:53:53 +02:00
|
|
|
cd `arch` && $(MAKE) $@
|
|
|
|
cd aal && $(MAKE) $@
|
|
|
|
cd advent && $(MAKE) $@
|
|
|
|
cd ash && $(MAKE) $@
|
|
|
|
cd autil && $(MAKE) $@
|
|
|
|
cd awk && $(MAKE) $@
|
|
|
|
cd bc && $(MAKE) $@
|
|
|
|
cd byacc && $(MAKE) $@
|
|
|
|
cd cawf && $(MAKE) $@
|
|
|
|
cd cron && $(MAKE) $@
|
|
|
|
cd de && $(MAKE) $@
|
|
|
|
cd dhcpd && $(MAKE) $@
|
|
|
|
cd dis88 && $(MAKE) $@
|
|
|
|
cd elle && $(MAKE) $@
|
2005-09-12 14:53:17 +02:00
|
|
|
cd elvis && $(MAKE) $@
|
2005-04-21 16:53:53 +02:00
|
|
|
cd ftp && $(MAKE) $@
|
|
|
|
cd ftpd && $(MAKE) $@
|
2005-06-20 14:01:15 +02:00
|
|
|
cd ftpd200 && $(MAKE) $@
|
2005-04-21 16:53:53 +02:00
|
|
|
cd ibm && $(MAKE) $@
|
2005-07-22 20:30:40 +02:00
|
|
|
cd indent && $(MAKE) $@
|
2005-04-21 16:53:53 +02:00
|
|
|
cd m4 && $(MAKE) $@
|
|
|
|
cd make && $(MAKE) $@
|
2005-08-04 10:44:16 +02:00
|
|
|
cd mdb && $(MAKE) $@
|
2005-04-21 16:53:53 +02:00
|
|
|
cd mined && $(MAKE) $@
|
|
|
|
cd patch && $(MAKE) $@
|
2005-06-20 11:23:55 +02:00
|
|
|
cd ps && $(MAKE) $@
|
2005-04-21 16:53:53 +02:00
|
|
|
cd reboot && $(MAKE) $@
|
|
|
|
cd rlogind && $(MAKE) $@
|
|
|
|
cd scripts && $(MAKE) $@
|
|
|
|
cd sh && $(MAKE) $@
|
|
|
|
cd simple && $(MAKE) $@
|
|
|
|
cd talk && $(MAKE) $@
|
|
|
|
cd talkd && $(MAKE) $@
|
|
|
|
cd telnet && $(MAKE) $@
|
|
|
|
cd telnetd && $(MAKE) $@
|
|
|
|
cd urlget && $(MAKE) $@
|
|
|
|
cd yap && $(MAKE) $@
|
|
|
|
cd zmodem && $(MAKE) $@
|