cvs: /php4 build2.mk
| From: | Sascha Schumann | Date: | Fri, 24 Dec 1999 22:56:04 +0000 |
| Subject: | cvs: /php4 build2.mk | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8494@lists.php.net to get a copy of this message | ||
sas Fri Dec 24 17:56:04 1999 EDT
Modified files:
/php4 build2.mk
Log:
Enable dependencies for UNIX. Because this only works, if you use
GNU make and GCC, you need to enable it manually by running
$ touch php4/want_dependencies
Index: php4/build2.mk
diff -u php4/build2.mk:1.2 php4/build2.mk:1.3
--- php4/build2.mk:1.2 Sun Dec 19 16:02:39 1999
+++ php4/build2.mk Fri Dec 24 17:55:33 1999
@@ -1,6 +1,6 @@
# Workhorse for build.mk
#
-# $Id: build2.mk,v 1.2 1999/12/19 21:02:39 zeev Exp $
+# $Id: build2.mk,v 1.3 1999/12/24 22:55:33 sas Exp $
include generated_lists
@@ -36,7 +36,8 @@
cp $$i.bak $$i; \
fi; \
done
- @automake -a -i $(AMFLAGS) $(makefile_files) 2>&1 \
+ @test -f want_dependencies || flag=-i; \
+ automake -a $$flag $(AMFLAGS) $(makefile_files) 2>&1 \
| grep -v PHP_OUTPUT_FILES || true >&2
@for i in $(LT_TARGETS); do mv $$i.bak $$i; done