diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-05-17 14:35:34 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-05-17 14:35:34 +0000 |
commit | 3febb477e643c1cd37fc8d2d3e02685dce6d1196 (patch) | |
tree | adc5f3696ec9001b0bda4d9c0336c50c251c2f62 /src/port/Makefile | |
parent | 85383214ea2b0085658a650b4e6b293464dcf045 (diff) | |
download | postgresql-3febb477e643c1cd37fc8d2d3e02685dce6d1196.tar.gz |
Reorganize code to allow path-relative installs.
Create new get_* functions to access compiled-in paths and adjust if
relative installs are to be used.
Clean up substitute_libpath_macro() code.
Diffstat (limited to 'src/port/Makefile')
-rw-r--r-- | src/port/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/port/Makefile b/src/port/Makefile index 356a0b4585..fc84d57260 100644 --- a/src/port/Makefile +++ b/src/port/Makefile @@ -7,7 +7,7 @@ # with broken/missing library files. # IDENTIFICATION -# $PostgreSQL: pgsql/src/port/Makefile,v 1.10 2004/04/23 18:15:55 momjian Exp $ +# $PostgreSQL: pgsql/src/port/Makefile,v 1.11 2004/05/17 14:35:34 momjian Exp $ # #------------------------------------------------------------------------- @@ -15,6 +15,13 @@ subdir = src/port top_builddir = ../.. include $(top_builddir)/src/Makefile.global +override CPPFLAGS += -DPGBINDIR=\"$(bindir)\" \ + -DPGDATADIR=\"$(datadir)\" \ + -DSYSCONFDIR='"$(sysconfdir)"' \ + -DINCLUDEDIR=\"$(includedir)\" \ + -DPKGINCLUDEDIR=\"$(pkgincludedir)\" \ + -DPKGLIBDIR=\"$(pkglibdir)\" + ifdef LIBOBJS all: libpgport.a endif |