mirror of https://github.com/postgres/postgres
VPATH fixes.
This commit is contained in:
parent
a0de6e7b97
commit
e41c7bb7cd
|
@ -1,4 +1,4 @@
|
||||||
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.69 2007/06/12 13:09:58 mha Exp $
|
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/Makefile,v 1.70 2007/06/12 15:00:41 alvherre Exp $
|
||||||
|
|
||||||
subdir = src/interfaces/ecpg/test
|
subdir = src/interfaces/ecpg/test
|
||||||
top_builddir = ../../../..
|
top_builddir = ../../../..
|
||||||
|
@ -32,7 +32,7 @@ EXTRADEFS = '-DHOST_TUPLE="$(host_tuple)"' \
|
||||||
'-DSHELLPROG="$(SHELL)"' \
|
'-DSHELLPROG="$(SHELL)"' \
|
||||||
'-DDLSUFFIX="$(DLSUFFIX)"'
|
'-DDLSUFFIX="$(DLSUFFIX)"'
|
||||||
|
|
||||||
REGRESSINCLUDES = "-I$(top_builddir)/src/test/regress"
|
REGRESSINCLUDES = "-I$(top_srcdir)/src/test/regress"
|
||||||
REGRESSDRIVER = "$(top_builddir)/src/test/regress/pg_regress.o"
|
REGRESSDRIVER = "$(top_builddir)/src/test/regress/pg_regress.o"
|
||||||
|
|
||||||
all install installdirs uninstall distprep:
|
all install installdirs uninstall distprep:
|
||||||
|
@ -61,7 +61,7 @@ clean distclean maintainer-clean:
|
||||||
all: pg_regress$(X)
|
all: pg_regress$(X)
|
||||||
|
|
||||||
pg_regress$(X): pg_regress_ecpg.o
|
pg_regress$(X): pg_regress_ecpg.o
|
||||||
$(CC) $(CFLAGS) $^ $(REGRESSDRIVER) $(LDFLAGS) $(LIBS) -o $@
|
$(CC) $(CFLAGS) $^ $(REGRESSDRIVER) $(REGRESSINCLUDES) $(LDFLAGS) $(LIBS) -o $@
|
||||||
|
|
||||||
# dependencies ensure that path changes propagate
|
# dependencies ensure that path changes propagate
|
||||||
pg_regress_ecpg.o: pg_regress_ecpg.c $(top_builddir)/src/port/pg_config_paths.h
|
pg_regress_ecpg.o: pg_regress_ecpg.c $(top_builddir)/src/port/pg_config_paths.h
|
||||||
|
|
Loading…
Reference in New Issue