]> Zhao Yanbai Git Server - minix.git/commitdiff
Change in how we handle big programs..
authorBen Gras <ben@minix3.org>
Thu, 8 Sep 2005 11:59:52 +0000 (11:59 +0000)
committerBen Gras <ben@minix3.org>
Thu, 8 Sep 2005 11:59:52 +0000 (11:59 +0000)
commands/Makefile
commands/bigmake.inc [new file with mode: 0644]
commands/bzip2-1.0.3/Makefile
commands/bzip2-1.0.3/makeme.sh [new file with mode: 0644]
commands/flex-2.5.4/Makefile.in
commands/flex-2.5.4/makeme.sh [new file with mode: 0644]

index 32e848106c5169ae8798cd4290c15442250bff1d..da010991b4aae2ac2253927f5da83fe083f11bd4 100755 (executable)
@@ -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 (file)
index 0000000..51ab803
--- /dev/null
@@ -0,0 +1,5 @@
+
+toptarget:
+       @echo "This program needs nonstandard compiler sizes."
+       @echo "To compile it, type 'sh makeme.sh'."
+
index d7b1f4821d89ce1317c0806136e78e9e1420887b..5cab26e2f6ad3fc419d2c1b9fbe58e9d508f0b25 100644 (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 
diff --git a/commands/bzip2-1.0.3/makeme.sh b/commands/bzip2-1.0.3/makeme.sh
new file mode 100644 (file)
index 0000000..9b972e6
--- /dev/null
@@ -0,0 +1 @@
+bigmake all
index a7dd07b7b3a50f82faf4ec50b4a11d699b367667..3adbc3da798310a75acc9ec2c29001084a80030a 100644 (file)
@@ -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 (file)
index 0000000..5e738f8
--- /dev/null
@@ -0,0 +1 @@
+CC=cc /bin/sh ./configure --prefix=/usr/local && bigmake all