diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-05-21 20:56:50 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-05-21 20:56:50 +0000 |
| commit | 13f96c4b6bc59f25ce430ad987cd0881284b6e76 (patch) | |
| tree | ac3c6779e95afe538db77c552942e1f7c6651231 /src/interfaces/libpq/Makefile | |
| parent | 748a15a8ea98fc80fc7cebf523246910109c1eae (diff) | |
| download | postgresql-13f96c4b6bc59f25ce430ad987cd0881284b6e76.tar.gz | |
Put path configuration information into a .h file instead of cluttering
several different module Makefiles with it. Also, do any adjustment
of installation paths during configure, rather than every time Makefile.global
is read.
Diffstat (limited to 'src/interfaces/libpq/Makefile')
| -rw-r--r-- | src/interfaces/libpq/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile index 7e2a4097fb..352f61107b 100644 --- a/src/interfaces/libpq/Makefile +++ b/src/interfaces/libpq/Makefile @@ -4,7 +4,7 @@ # # Copyright (c) 1994, Regents of the University of California # -# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.107 2004/05/19 04:21:49 momjian Exp $ +# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.108 2004/05/21 20:56:49 tgl Exp $ # #------------------------------------------------------------------------- @@ -18,14 +18,8 @@ NAME= pq SO_MAJOR_VERSION= 3 SO_MINOR_VERSION= 2 -override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) $(PTHREAD_CFLAGS) -DFRONTEND -DSYSCONFDIR='"$(sysconfdir)"' -override CFLAGS += $(PTHREAD_CFLAGS) \ - -DPGBINDIR=\"$(bindir)\" \ - -DPGDATADIR=\"$(datadir)\" \ - -DSYSCONFDIR='"$(sysconfdir)"' \ - -DINCLUDEDIR=\"$(includedir)\" \ - -DPKGINCLUDEDIR=\"$(pkgincludedir)\" \ - -DPKGLIBDIR=\"$(pkglibdir)\" +override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -DFRONTEND +override CFLAGS += $(PTHREAD_CFLAGS) OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \ fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \ |
