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::
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && $(MAKE) $@
clean::
[ -f $(GZIP)/Makefile ] && cd $(GZIP) && $(MAKE) $@
bigall:
cd $(FLEX) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(PYTHON) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake all
cd $(BZIP2) && bigmake all
cd $(KERMIT) && bigmake all
cd $(FLEX) && /bin/sh makeme.sh
cd $(PYTHON) && /bin/sh makeme.sh
cd $(BZIP2) && /bin/sh makeme.sh
cd $(KERMIT) && /bin/sh makeme.sh
biginstall:
cd $(FLEX) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(GZIP) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(PYTHON) && CC="$(CC)" /bin/sh ./configure --prefix=/usr/local && bigmake install
cd $(BZIP2) && bigmake install
cd $(KERMIT) && bigmake install
biginstall: bigall
cd $(FLEX) && make install
cd $(PYTHON) && make install
cd $(BZIP2) && make install
cd $(KERMIT) && make install
clean::
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 \
bzlib.o
include ../bigmake.inc
all: all_notest test_nodep
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 =
PERF_REPORT = -p
include ../bigmake.inc
all: $(FLEX)

View file

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