makefile

来自「PostgreSQL7.4.6 for Linux」· 代码 · 共 77 行

TXT
77
字号
#-------------------------------------------------------------------------## Makefile for the pltcl shared object## $Header: /cvsroot/pgsql/src/pl/tcl/Makefile,v 1.40.2.1 2004/01/21 19:25:11 tgl Exp $##-------------------------------------------------------------------------subdir = src/pl/tcltop_builddir = ../../..include $(top_builddir)/src/Makefile.globaloverride CPPFLAGS += $(TCL_INCLUDE_SPEC)# 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=0endifendifSHLIB_LINK = $(BE_DLLLIBS) $(TCL_LIB_SPEC) $(TCL_LIBS) -lcNAME = pltclSO_MAJOR_VERSION = 2SO_MINOR_VERSION = 0OBJS = pltcl.oinclude $(top_srcdir)/src/Makefile.shlibifeq ($(TCL_SHARED_BUILD), 1)all: all-lib	$(MAKE) -C modules $@install: all installdirsifeq ($(enable_shared), yes)	$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)else	@echo "*****"; \	 echo "* PL/Tcl was not installed due to lack of shared library support."; \	 echo "*****"endif	$(MAKE) -C modules $@installdirs:	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)	$(MAKE) -C modules $@uninstall:	rm -f $(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)	$(MAKE) -C modules $@else # TCL_SHARED_BUILD = 0# Provide dummy targets for the case where we can't build the shared library.all:	@echo "*****"; \	 echo "* Cannot build PL/Tcl because Tcl is not a shared library; skipping it."; \	 echo "*****"endif # TCL_SHARED_BUILD = 0clean distclean maintainer-clean: clean-lib	rm -f $(OBJS)	$(MAKE) -C modules $@

⌨️ 快捷键说明

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