Change in how we handle big programs..

This commit is contained in:
Ben Gras 2005-09-08 11:59:52 +00:00
parent fa2da084bb
commit d2bb98e7b2
6 changed files with 19 additions and 13 deletions

View file

@ -19,21 +19,17 @@ usage:
all install:: all install::
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@ cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@
clean::
[ -f $(GZIP)/Makefile ] && cd $(GZIP) && $(MAKE) $@
bigall: bigall:
cd $(FLEX) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake all cd $(FLEX) && /bin/sh makeme.sh
cd $(PYTHON) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake all cd $(PYTHON) && /bin/sh makeme.sh
cd $(BZIP2) && bigmake all cd $(BZIP2) && /bin/sh makeme.sh
cd $(KERMIT) && bigmake all cd $(KERMIT) && /bin/sh makeme.sh
biginstall: biginstall: bigall
cd $(FLEX) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install cd $(FLEX) && make install
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install cd $(PYTHON) && make install
cd $(PYTHON) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install cd $(BZIP2) && make install
cd $(BZIP2) && bigmake install cd $(KERMIT) && make install
cd $(KERMIT) && bigmake install
clean:: clean::
if [ -f $(FLEX)/Makefile ] ; then cd $(FLEX) && make $@; fi if [ -f $(FLEX)/Makefile ] ; then cd $(FLEX) && make $@; fi

5
commands/bigmake.inc Normal file
View file

@ -0,0 +1,5 @@
toptarget:
@echo "This program needs nonstandard compiler sizes."
@echo "To compile it, type 'sh makeme.sh'."

View file

@ -27,6 +27,8 @@ OBJS= blocksort.o \
decompress.o \ decompress.o \
bzlib.o bzlib.o
include ../bigmake.inc
all: all_notest test_nodep all: all_notest test_nodep
all_notest: libbz2.a bzip2 bzip2recover all_notest: libbz2.a bzip2 bzip2recover

View file

@ -0,0 +1 @@
bigmake all

View file

@ -90,6 +90,7 @@ FLEX_FLAGS = -t $(PERF_REPORT)
COMPRESSION = COMPRESSION =
PERF_REPORT = -p PERF_REPORT = -p
include ../bigmake.inc
all: $(FLEX) all: $(FLEX)

View file

@ -0,0 +1 @@
CC=cc /bin/sh ./configure --prefix=/usr/local && bigmake all