summaryrefslogtreecommitdiff
path: root/databases/postgresql/files/Makefile.custom
blob: f33b59b6f7b2821baa64beaa0de8aca627d54fc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# GNU Makefile to libtoolize PostgreSQL build.
#
# This file is included by Makefile.global, which is included by every
# sub-Makefile in the build tree.  Makefiles for shared libraries include
# Makefile.global then Makefile.shlib.
#
# $NetBSD: Makefile.custom,v 1.4 2000/05/20 19:32:19 jlam Exp $

# Where the database templates are stored
#
TEMPLATEDIR=	$(POSTGRESDIR)/share/postgresql

# installation directory for documentation
PGDOCS=		$(POSTGRESDIR)/share/doc/html/postgresql

# Where the header files necessary to build frontend programs get installed.
HEADERDIR=	$(POSTGRESDIR)/include/pgsql

# Where the ODBC installation-wide configuration file gets installed.
ODBCINST=	etc

ifdef INSTALLED_LIBPQ
LIBPQDIR:=	$(HEADERDIR)
LIBPQ:=		-L$(LIBDIR) -lpq
endif

ifdef INSTALLED_LIBPGTCL
LIBPGTCLDIR:=	$(HEADERDIR)
LIBPGTCL:=	-L$(LIBDIR) -lpgtcl
endif