diff options
author | jlam <jlam@pkgsrc.org> | 2000-03-18 17:43:16 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-03-18 17:43:16 +0000 |
commit | 9983612216f1d1e5c31772065738fd49fcf09ff0 (patch) | |
tree | fda70077218bb8cf29d114803ea906d30f3a3349 /databases/postgresql/files/Makefile.custom | |
parent | d8e78911c9ef7e8130d3d43abdc64aec1615d077 (diff) | |
download | pkgsrc-9983612216f1d1e5c31772065738fd49fcf09ff0.tar.gz |
Change structure of postgresql package. Shared library build is now
unlibtoolized. Things now install into ${PREFIX} instead of
${PREFIX}/${PGSQL_USER} to match hier(7) expectations. The Tcl and Tk
interfaces are now split out into separate packages.
This closes the following PRs: 7384, 8747, 8789, 9272, 9461.
Diffstat (limited to 'databases/postgresql/files/Makefile.custom')
-rw-r--r-- | databases/postgresql/files/Makefile.custom | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/databases/postgresql/files/Makefile.custom b/databases/postgresql/files/Makefile.custom index df9990a3aa8..700d0848ca1 100644 --- a/databases/postgresql/files/Makefile.custom +++ b/databases/postgresql/files/Makefile.custom @@ -4,20 +4,24 @@ # sub-Makefile in the build tree. Makefiles for shared libraries include # Makefile.global then Makefile.shlib. # -# $NetBSD: Makefile.custom,v 1.1 1999/09/19 04:24:54 jlam Exp $ +# $NetBSD: Makefile.custom,v 1.2 2000/03/18 17:43:16 jlam Exp $ -CUSTOM_INSTALL= ${LIBTOOL} ${INSTALL} -CUSTOM_CC= ${LIBTOOL} ${CC} -CUSTOM_CXX= ${LIBTOOL} ${CXX} +# Where the database templates are stored +# +TEMPLATEDIR= $(POSTGRESDIR)/share/postgresql # installation directory for documentation -PGDOCS= ${POSTGRESDIR}/../share/doc/postgresql +PGDOCS= $(POSTGRESDIR)/share/doc/postgresql -# Rules to build object files from source files. -# ${LIBTOOL} requires that there not be a -o flag when in compile mode. -# -%.o: %.c - ${CC} ${CPPFLAGS} ${CFLAGS} -c $< +# Where the ODBC installation-wide configuration file gets installed. +ODBCINST= etc + +ifdef INSTALLED_LIBPQ +LIBPQDIR:= $(HEADERDIR) +LIBPQ:= -L$(LIBDIR) -lpq +endif -%.o: %.cc - ${CXX} ${CPPFLAGS} ${CXXFLAGS} -c $< +ifdef INSTALLED_LIBPGTCL +LIBPGTCLDIR:= $(HEADERDIR) +LIBPGTCL:= -L$(LIBDIR) -lpgtcl +endif |