Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
120 lines (97 sloc) 2.47 KB
# ----------
# Makefile.global.in
#
# configure input for Makefile.global
#
# Copyright (c) 2003-2009, PostgreSQL Global Development Group
# Author: Jan Wieck, Afilias USA INC.
#
#
# ----------
# PostgreSQL Version
PG_VERSION_MAJOR= @PG_VERSION_MAJOR@
PG_VERSION_MINOR= @PG_VERSION_MINOR@
PG_VERSION= @PG_VERSION@
#location substitutions
pgincludedir= @PGINCLUDEDIR@
pgincludeserverdir= @PGINCLUDESERVERDIR@
pglibdir= @PGLIBDIR@
pgpkglibdir= @PGPKGLIBDIR@
pgsharedir= @PGSHAREDIR@
pgbindir= @PGBINDIR@
toolsbin= @TOOLSBIN@
slonbindir= @SLONBINDIR@
distdir= @SLONYPATH@/@PACKAGE_NAME@-@PACKAGE_VERSION@
prefix= @prefix@
sysconfdir= @sysconfdir@
datarootdir= @datarootdir@
host_os= @HOST_OS@
host_cpu= @host_cpu@
PORTNAME= @PORTNAME@
PACKAGE_NAME= @PACKAGE_NAME@
VERSION= @PACKAGE_VERSION@
#build tools
CC= @CC@
GCC= @GCC@
PTHREAD_CC= @PTHREAD_CC@
YACC= @YACC@
FLEX= @LEX@
#build tool flags
CFLAGS= @CFLAGS@
CPPFLAGS_CLIENT= @CPPFLAGS_CLIENT@
CPPFLAGS_SERVER= @CPPFLAGS_SERVER@
LDFLAGS= @LDFLAGS@
PTHREAD_CFLAGS= @PTHREAD_CFLAGS@
PTHREAD_LIBS= @PTHREAD_LIBS@
YFLAGS= @YFLAGS@
FLEXFLAGS= @LEXFLAGS@ $(LFLAGS)
enable_rpath= @enable_rpath@
#libs
PTHREAD_LIBS= @PTHREAD_LIBS@
ifeq (@HAVE_PGPORT@,1)
HAVE_PGPORT= @HAVE_PGPORT@
endif
ifeq (@HAVE_PGCOMMON@,1)
HAVE_PGCOMMON= @HAVE_PGCOMMON@
endif
# Documentation
JADE= @JADE@
NSGMLS= @NSGMLS@
SGMLSPL= @SGMLSPL@
PS2PDF= @PS2PDF@
DJPEG= @DJPEG@
GROFF= @GROFF@
PNMTOPS= @PNMTOPS@
CONVERT= @CONVERT@
TAR= @TAR@
DOCBOOKSTYLE= @DOCBOOKSTYLE@
COLLATEINDEX= @COLLATEINDEX@
PGAUTODOC= @PGAUTODOC@
docdir= @docdir@
mandir= @mandir@
D2MDIR= @d2mdir@
#perltools
perlsharedir= @perlsharedir@
# support programs
PERL= @PERL@
SED= @SED@
subdir=$(slony_subdir)
LDFLAGS += -lpq @NLSLIB@
ifeq ($(GCC), yes)
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
endif
# Installation.
INSTALL = $(SHELL) @SLONYPATH@/config/install-sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_SCRIPT = $(INSTALL) -m 755
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_SHLIB = $(INSTALL) $(INSTALL_SHLIB_OPTS)
mkinstalldirs = $(SHELL) @SLONYPATH@/config/mkinstalldirs
# This is mainly for use on FreeBSD, where we have both a.out and elf
# systems now. May be applicable to other systems to?
ELF_SYSTEM= true
# Pull in platform-specific magic
include @SLONYPATH@/Makefile.port
ifeq ($(enable_rpath), yes)
LDFLAGS += $(rpath)
endif