summaryrefslogtreecommitdiff
path: root/build/rules_pear.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/rules_pear.mk')
-rw-r--r--build/rules_pear.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/rules_pear.mk b/build/rules_pear.mk
index cfd61cbc1b..a00d075da2 100644
--- a/build/rules_pear.mk
+++ b/build/rules_pear.mk
@@ -24,7 +24,7 @@
# $Id$
#
-include $(DEPTH)/config_vars.mk
+include $(top_builddir)/config_vars.mk
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS)
@@ -34,11 +34,9 @@ mkinstalldirs = $(top_srcdir)/build/shtool mkdir -f -p
INSTALL = $(top_srcdir)/build/shtool install -c
INSTALL_DATA = $(INSTALL) -m 644
-DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I$(DEPTH)
+DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I$(top_builddir)
moduledir = $(libdir)/php/modules
-top_srcdir = $(topsrcdir)
-top_builddir = $(DEPTH)
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s .y .l