summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-10-12 01:04:11 +0000
committerBruce Momjian <bruce@momjian.us>2004-10-12 01:04:11 +0000
commit29e7dc420a693e8fc0a0b80bbf97cf738eac735e (patch)
tree2042612f7bb4f6ba8f72719ec1acb8935dd4db6f /src/interfaces/ecpg
parentd10a406fe8567fffb6c6aad76e11d5acc93c1ec1 (diff)
Add some pg_config_path.h dependencies for places that include
pg_config_paths.h outside of /src/port.
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r--src/interfaces/ecpg/ecpglib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/Makefile b/src/interfaces/ecpg/ecpglib/Makefile
index e8bb4d983db..7868929abac 100644
--- a/src/interfaces/ecpg/ecpglib/Makefile
+++ b/src/interfaces/ecpg/ecpglib/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.26 2004/10/04 20:36:11 momjian Exp $
+# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.27 2004/10/12 01:04:10 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -30,7 +30,7 @@ OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
SHLIB_LINK = -L../pgtypeslib -lpgtypes $(libpq) \
$(filter -lintl -lssl -lcrypto -lkrb5 -lcrypt -lm, $(LIBS)) $(PTHREAD_LIBS)
-all: all-lib
+all: $(top_srcdir)/src/port/pg_config_paths.h all-lib
# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib
@@ -46,6 +46,9 @@ path.c: % : $(top_srcdir)/src/port/%
exec.c: % : $(top_srcdir)/src/port/%
rm -f $@ && $(LN_S) $< .
+$(top_srcdir)/src/port/pg_config_paths.h:
+ $(MAKE) -C $(top_srcdir)/src/port pg_config_paths.h
+
install: all installdirs install-lib
installdirs: