From: Ben Gras Date: Thu, 8 Sep 2005 11:59:52 +0000 (+0000) Subject: Change in how we handle big programs.. X-Git-Tag: v3.1.0~158 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/sign.html?a=commitdiff_plain;h=d2bb98e7b286314d2ee873650bd1ddf729436d99;p=minix.git Change in how we handle big programs.. --- diff --git a/commands/Makefile b/commands/Makefile index 32e848106..da010991b 100755 --- a/commands/Makefile +++ b/commands/Makefile @@ -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 diff --git a/commands/bigmake.inc b/commands/bigmake.inc new file mode 100644 index 000000000..51ab803c4 --- /dev/null +++ b/commands/bigmake.inc @@ -0,0 +1,5 @@ + +toptarget: + @echo "This program needs nonstandard compiler sizes." + @echo "To compile it, type 'sh makeme.sh'." + diff --git a/commands/bzip2-1.0.3/Makefile b/commands/bzip2-1.0.3/Makefile index d7b1f4821..5cab26e2f 100644 --- a/commands/bzip2-1.0.3/Makefile +++ b/commands/bzip2-1.0.3/Makefile @@ -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 diff --git a/commands/bzip2-1.0.3/makeme.sh b/commands/bzip2-1.0.3/makeme.sh new file mode 100644 index 000000000..9b972e661 --- /dev/null +++ b/commands/bzip2-1.0.3/makeme.sh @@ -0,0 +1 @@ +bigmake all diff --git a/commands/flex-2.5.4/Makefile.in b/commands/flex-2.5.4/Makefile.in index a7dd07b7b..3adbc3da7 100644 --- a/commands/flex-2.5.4/Makefile.in +++ b/commands/flex-2.5.4/Makefile.in @@ -90,6 +90,7 @@ FLEX_FLAGS = -t $(PERF_REPORT) COMPRESSION = PERF_REPORT = -p +include ../bigmake.inc all: $(FLEX) diff --git a/commands/flex-2.5.4/makeme.sh b/commands/flex-2.5.4/makeme.sh new file mode 100644 index 000000000..5e738f8e1 --- /dev/null +++ b/commands/flex-2.5.4/makeme.sh @@ -0,0 +1 @@ +CC=cc /bin/sh ./configure --prefix=/usr/local && bigmake all