104 lines
2.7 KiB
Makefile
Executable file
104 lines
2.7 KiB
Makefile
Executable file
# Makefile for commands.
|
|
|
|
MAKE = exec make -$(MAKEFLAGS)
|
|
FLEX=flex-2.5.4
|
|
GZIP=gzip-1.2.4
|
|
PYTHON=python-1.5.2
|
|
BZIP2=bzip2-1.0.3
|
|
KERMIT=kermit-2.1.1
|
|
NVI=nvi-1.79
|
|
NVIWORK=$(NVI)/minix
|
|
EMACS=emacs-21.4
|
|
LYNX=lynx2-8-5
|
|
COREUTILS=gnu-coreutils-5.2.1
|
|
|
|
usage:
|
|
@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
|
|
@echo " make ack # Make ack" >&2
|
|
@echo " make installack # Make ack" >&2
|
|
@false
|
|
|
|
all install::
|
|
-mkdir $(NVIWORK)
|
|
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@
|
|
cd $(NVI) && make $@
|
|
|
|
bigall:
|
|
cd $(FLEX) && /bin/sh makeme.sh
|
|
cd $(PYTHON) && /bin/sh makeme.sh
|
|
cd $(BZIP2) && /bin/sh makeme.sh
|
|
cd $(KERMIT) && /bin/sh makeme.sh
|
|
cd $(LYNX) && /bin/sh makeme.sh
|
|
cd $(EMACS) && /bin/sh makeme.sh
|
|
cd $(COREUTILS) && /bin/sh makeme.sh
|
|
|
|
biginstall: bigall
|
|
cd $(FLEX) && make install
|
|
cd $(PYTHON) && make install
|
|
cd $(BZIP2) && make install
|
|
cd $(KERMIT) && make install
|
|
cd $(LYNX) && make install
|
|
cd $(EMACS) && make install
|
|
cd $(COREUTILS) && make install
|
|
|
|
clean::
|
|
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
|
|
if [ -f $(NVIWORK)/Makefile ]; then cd $(NVIWORK) && make clean; fi
|
|
if [ -f $(LYNX)/Makefile ] ; then cd $(LYNX) && make clean; fi
|
|
if [ -f $(EMACS)/Makefile ] ; then cd $(EMACS) && make clean; fi
|
|
cd $(COREUTILS) && make clean
|
|
|
|
all install clean::
|
|
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) $@
|
|
cd elvis && $(MAKE) $@
|
|
cd ftp && $(MAKE) $@
|
|
cd ftpd && $(MAKE) $@
|
|
cd ftpd200 && $(MAKE) $@
|
|
cd httpd && $(MAKE) $@
|
|
cd ibm && $(MAKE) $@
|
|
cd indent && $(MAKE) $@
|
|
cd m4 && $(MAKE) $@
|
|
cd make && $(MAKE) $@
|
|
cd mdb && $(MAKE) $@
|
|
cd mined && $(MAKE) $@
|
|
cd patch && $(MAKE) $@
|
|
cd ps && $(MAKE) $@
|
|
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) $@
|
|
|
|
ack:
|
|
cd ackpack && make
|
|
|
|
installack:
|
|
cd ackpack && make install
|