⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 关系型数据库 Postgresql 6.5.2
💻
字号:
#-------------------------------------------------------------------------## Makefile#    Makefile for the pltcl shared object## IDENTIFICATION#    $Header: /usr/local/cvsroot/pgsql/src/pl/tcl/Makefile,v 1.10 1998/12/13 23:46:49 tgl Exp $##-------------------------------------------------------------------------## Tell make where the postgresql sources live#SRCDIR= ../../../srcinclude $(SRCDIR)/Makefile.global## Include definitions from the tclConfig.sh file# NOTE: GNU make will make this file automatically if it doesn't exist,# using the make rule that appears below.  Cute, eh?#include Makefile.tcldefs## Find out whether Tcl was built as a shared library --- if not,# we can't link a shared library that depends on it, and have to# forget about building pltcl.# In Tcl 8, tclConfig.sh sets TCL_SHARED_BUILD for us, but in# older Tcl releases it doesn't.  In that case we guess based on# the name of the Tcl library.#ifndef TCL_SHARED_BUILDifneq (,$(findstring $(DLSUFFIX),$(TCL_LIB_FILE)))TCL_SHARED_BUILD=1elseTCL_SHARED_BUILD=0endifendif# Change following to how shared library that contains# references to libtcl must get built on your system.# Since these definitions come from the tclConfig.sh script,# they should work if the shared build of tcl was successful# on this system.  However, tclConfig.sh lies to us a little bit# (at least in versions 7.6 through 8.0.4) --- it doesn't mention -lc# in TCL_LIBS, but you still need it on systems that want to hear about# dependent libraries...ifneq ($(TCL_SHLIB_LD_LIBS),)# link command for a shared lib must mention shared libs it usesSHLIB_EXTRA_LIBS=$(TCL_LIBS) -lcelse# link command for a shared lib must NOT mention shared libs it usesSHLIB_EXTRA_LIBS=endif%$(TCL_SHLIB_SUFFIX):	%.o	$(TCL_SHLIB_LD) -o $@ $< $(TCL_LIB_SPEC) $(SHLIB_EXTRA_LIBS)## Uncomment the following to enable the unknown command lookup# on the first of all calls to the call handler. See the doc# in the modules directory about details.##CFLAGS+= -DPLTCL_UNKNOWN_SUPPORTCC = $(TCL_CC)CFLAGS+= -I$(LIBPQDIR) -I$(SRCDIR)/include $(TCL_SHLIB_CFLAGS)# For fmgr.hCFLAGS+= -I$(SRCDIR)/backendCFLAGS+= $(TCL_DEFS)LDADD+= -L$(LIBPQDIR) -lpq        ## DLOBJS is the dynamically-loaded object file.#DLOBJS= pltcl$(DLSUFFIX)INFILES= $(DLOBJS) ## plus exports files#ifdef EXPSUFFINFILES+= $(DLOBJS:.o=$(EXPSUFF))endififeq ($(TCL_SHARED_BUILD),1)## Build the shared lib#all: $(INFILES)install: all	$(INSTALL) $(INSTL_SHLIB_OPTS) $(DLOBJS) $(LIBDIR)/$(DLOBJS)else## Oops, can't build it#all:	@echo "Cannot build pltcl because Tcl is not a shared library; skipping it."install:	@echo "Cannot build pltcl because Tcl is not a shared library; skipping it."endif## Make targets that are still valid when we can't build pltcl# should be below here.#Makefile.tcldefs: mkMakefile.tcldefs.sh	/bin/sh mkMakefile.tcldefs.sh## Clean #clean:	rm -f $(INFILES) *.o	rm -f Makefile.tcldefsdep depend:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -