📄 makefile.global
字号:
# -*-makefile-*-# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.232 2006/10/08 17:15:33 tgl Exp $#------------------------------------------------------------------------------# All PostgreSQL makefiles include this file and use the variables it sets,# which in turn are put here by the configure script. There is no need for# users to edit this file -- if it turns out to be necessary then that's a# bug.## A makefile that includes this file needs to set the variable `subdir' to# the relative path from the top to itself and `top_builddir' to the relative# path from itself to the top before including this file. (The "top" is the# parent directory of the directory this file is in.)#------------------------------------------------------------------------------############################################################################ Meta configuration.PHONY: all install install-strip installdirs uninstall clean distclean maintainer-clean distprep check installcheck maintainer-check.SILENT: installdirs# make `all' the default targetall:# Delete target files if the command fails after it has# started to update the file..DELETE_ON_ERROR:# PostgreSQL version numberVERSION = 8.2.6# Support for VPATH buildsvpath_build = noabs_top_srcdir = /usr/local/src/postgresql-8.2.6/src/..ifneq ($(vpath_build),yes)top_srcdir = $(top_builddir)srcdir = .else # vpath_build = yestop_srcdir = $(abs_top_srcdir)srcdir = $(top_srcdir)/$(subdir)endif# Saved arguments from configureconfigure_args = '--with-openssl' '--with-perl' '--with-tcl' '--with-python' '--with-ldap' '--enable-nls' '--enable-thread-safety' '--with-krb5' '--with-includes=/mingw/include/krb5'############################################################################ Installation directories## These are set by the equivalent --xxxdir configure options. We# append "postgresql" to some of them, if the string does not already# contain "pgsql" or "postgres", in order to avoid directory clutter.## In a PGXS build, we cannot use the values inserted into Makefile.global# by configure, since the installation tree may have been relocated.# Instead get the path values from pg_config.ifndef PGXS# Note that prefix and exec_prefix aren't defined in a PGXS build;# makefiles may only use the derived variables such as bindir.prefix := /usr/local/pgsqlexec_prefix := ${prefix}bindir := ${exec_prefix}/bindatadir := ${prefix}/shareifeq "$(findstring pgsql, $(datadir))" ""ifeq "$(findstring postgres, $(datadir))" ""override datadir := $(datadir)/postgresqlendifendifsysconfdir := ${prefix}/etcifeq "$(findstring pgsql, $(sysconfdir))" ""ifeq "$(findstring postgres, $(sysconfdir))" ""override sysconfdir := $(sysconfdir)/postgresqlendifendiflibdir := ${exec_prefix}/libpkglibdir = $(libdir)ifeq "$(findstring pgsql, $(pkglibdir))" ""ifeq "$(findstring postgres, $(pkglibdir))" ""override pkglibdir := $(pkglibdir)/postgresqlendifendifincludedir := ${prefix}/includepkgincludedir = $(includedir)ifeq "$(findstring pgsql, $(pkgincludedir))" ""ifeq "$(findstring postgres, $(pkgincludedir))" ""override pkgincludedir := $(pkgincludedir)/postgresqlendifendifmandir := ${prefix}/mandocdir := ${prefix}/doc# docdir can be an empty string to signify --without-docdirifneq (,$(docdir))ifeq "$(findstring pgsql, $(docdir))" ""ifeq "$(findstring postgres, $(docdir))" ""override docdir := $(docdir)/postgresqlendifendifendiflocaledir := ${prefix}/share/localeelse # PGXS casePG_CONFIG = pg_configbindir := $(shell $(PG_CONFIG) --bindir)datadir := $(shell $(PG_CONFIG) --sharedir)sysconfdir := $(shell $(PG_CONFIG) --sysconfdir)libdir := $(shell $(PG_CONFIG) --libdir)pkglibdir := $(shell $(PG_CONFIG) --pkglibdir)includedir := $(shell $(PG_CONFIG) --includedir)pkgincludedir := $(shell $(PG_CONFIG) --pkgincludedir)mandir := $(shell $(PG_CONFIG) --mandir)docdir := $(shell $(PG_CONFIG) --docdir)localedir := $(shell $(PG_CONFIG) --localedir)endif # PGXS# These derived path variables aren't separately configurable.includedir_server = $(pkgincludedir)/serverincludedir_internal = $(pkgincludedir)/internalpgxsdir = $(pkglibdir)/pgxssqlmansect_dummy = l############################################################################ Features## Records the choice of the various --enable-xxx and --with-xxx options.with_perl = yeswith_python = yeswith_tcl = yeswith_openssl = yeswith_zlib = yesenable_shared = yesenable_rpath = yesenable_nls = yesenable_debug = noenable_dtrace = noenable_thread_safety = yespython_includespec = -Ic:\Python24\includepython_libdir = c:\Python24\Lib\configpython_libspec = -Lc:\Python24\Lib\config -lpython2.4python_additional_libs = python_configdir = c:\Python24\Lib\configpython_version = 2.4krb_srvtab = FILE:$(sysconfdir)/krb5.keytabTCLSH = /c/Tcl/bin/tclshTCL_LIB_FILE = tcl84.libTCL_LIBS = user32.lib advapi32.libTCL_LIB_SPEC = -LC:/Tcl/lib -ltcl84TCL_INCLUDE_SPEC = -IC:/Tcl/includeTCL_SHARED_BUILD = 1TCL_SHLIB_LD_LIBS = ${LIBS}PTHREAD_CFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICSPTHREAD_LIBS = -lpthreadGC2 have_docbook = noDOCBOOKSTYLE = COLLATEINDEX = ############################################################################ Programs and flags# CompilersCPP = gcc -ECPPFLAGS = -I./src/include/port/win32 -DEXEC_BACKEND -I/mingw/include/krb5ifdef PGXSoverride CPPFLAGS := -I$(includedir_server) -I$(includedir_internal) $(CPPFLAGS)else # not PGXSoverride CPPFLAGS := -I$(top_srcdir)/src/include $(CPPFLAGS)ifdef VPATHoverride CPPFLAGS := -I$(top_builddir)/src/include $(CPPFLAGS)endifendif # not PGXSCC = gccGCC = yesCFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing# Kind-of compilersYACC = bison -yYFLAGS = FLEX = /mingw/bin/flexFLEXFLAGS = $(LFLAGS)DTRACE = DTRACEFLAGS = # LinkingLIBS = -lintl -lssleay32 -leay32 -lcomerr32 -lkrb5_32 -lz -lm LDAP_LIBS_FE = -lwldap32LDAP_LIBS_BE = -lwldap32LD = c:/MinGW/mingw32/bin/ld.exewith_gnu_ld = yesld_R_works = LDFLAGS = -Wl,--allow-multiple-definition LDFLAGS_SL = LDREL = -rLDOUT = -oRANLIB = ranlibX = .exe# Perl # quoted for pathname with spacesPERL = "/c/perl/bin//perl"perl_archlibexp = C:\Perl\libperl_privlibexp = C:\Perl\libperl_useshrplib = yesperl_embed_ldflags = -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 # MiscellaneousAWK = gawkLN_S = ln -sMSGFMT = msgfmtMSGMERGE = msgmergePYTHON = /c/Python24/./pythonTAR = /bin/tarXGETTEXT = xgettextGZIP = gzipBZIP2 = bzip2PL_TESTDB = pl_regressionCONTRIB_TESTDB = contrib_regression# Installation.INSTALL = $(SHELL) $(top_srcdir)/config/install-sh -cINSTALL_SCRIPT_MODE = 755INSTALL_DATA_MODE = 644INSTALL_PROGRAM = $(INSTALL_PROGRAM_ENV) $(INSTALL) $(INSTALL_STRIP_FLAG)INSTALL_SCRIPT = $(INSTALL) -m $(INSTALL_SCRIPT_MODE)INSTALL_DATA = $(INSTALL) -m $(INSTALL_DATA_MODE)INSTALL_STLIB = $(INSTALL_STLIB_ENV) $(INSTALL_DATA) $(INSTALL_STRIP_FLAG)INSTALL_SHLIB = $(INSTALL_SHLIB_ENV) $(INSTALL) $(INSTALL_SHLIB_OPTS) $(INSTALL_STRIP_FLAG)# Override in Makefile.port if necessaryINSTALL_SHLIB_OPTS = -m 755mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirsmissing = $(SHELL) $(top_srcdir)/config/missingSTRIP = stripSTRIP_STATIC_LIB = strip -xSTRIP_SHARED_LIB = strip --strip-unneeded# DocumentationJADE = NSGMLS = SGMLSPL =
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -