summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-04-30 03:20:09 +0000
committerSascha Schumann <sas@php.net>2000-04-30 03:20:09 +0000
commit953fe189dacec1f3079f1c2c043b6644725b643e (patch)
tree3fe55c2cf9084cb6d06a9fe01b096c5e8656d57d /pear
parent952f58b66d579cd6a171c4b25269f151e73cd3fa (diff)
downloadphp-git-953fe189dacec1f3079f1c2c043b6644725b643e.tar.gz
Overall UNIX build system improvements:
* Makefile header is now completely dynamic * Absolute paths in (top_)?(src|build)dir and VPATH (fixes Tru64 support) * VPATH does not contain variables anymore (fixes UnixWare support)
Diffstat (limited to 'pear')
-rw-r--r--pear/Makefile.in21
1 files changed, 8 insertions, 13 deletions
diff --git a/pear/Makefile.in b/pear/Makefile.in
index 9e2a699be2..3b8c8d5392 100644
--- a/pear/Makefile.in
+++ b/pear/Makefile.in
@@ -1,12 +1,7 @@
-DEPTH = ..
-topsrcdir = @topsrcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-
install_targets = install-data-local install-headers install-build
-include $(topsrcdir)/build/rules.mk
+include $(top_srcdir)/build/rules.mk
peardir=$(prefix)/lib/php
pear_DBdir=$(prefix)/lib/php/DB
@@ -40,7 +35,7 @@ BUILD_FILES = \
install-build:
-@$(mkinstalldirs) $(builddir) $(bindir) && \
- (cd $(topsrcdir) && cp $(BUILD_FILES) $(builddir)) && \
+ (cd $(top_srcdir) && cp $(BUILD_FILES) $(builddir)) && \
echo "creating phpize" && \
sed \
-e 's#@PREFIX@#$(prefix)#' \
@@ -88,9 +83,9 @@ install-headers:
done; \
$(mkinstalldirs) $$paths && \
echo "creating header file hierarchy" && \
- (cd $(topsrcdir) && cp $(SRC_HEADERS) $(phpincludedir)) && \
- (cd $(topsrcdir)/ext/standard && cp *.h $(phpincludedir)/ext/standard) && \
- (cd $(topsrcdir) && cp regex/regex.h regex/regex_extra.h $(phpincludedir)/regex) && \
- (cd $(topsrcdir) && cp TSRM/TSRM.h $(phpincludedir)/TSRM) && \
- (cd $(topsrcdir)/Zend && cp *.h $(phpincludedir)/Zend) && \
- (cd $(DEPTH) && cp $(BUILD_HEADERS) $(phpincludedir))
+ (cd $(top_srcdir) && cp $(SRC_HEADERS) $(phpincludedir)) && \
+ (cd $(top_srcdir)/ext/standard && cp *.h $(phpincludedir)/ext/standard) && \
+ (cd $(top_srcdir) && cp regex/regex.h regex/regex_extra.h $(phpincludedir)/regex) && \
+ (cd $(top_srcdir) && cp TSRM/TSRM.h $(phpincludedir)/TSRM) && \
+ (cd $(top_srcdir)/Zend && cp *.h $(phpincludedir)/Zend) && \
+ (cd $(top_builddir) && cp $(BUILD_HEADERS) $(phpincludedir))