📄 gnumakefile
字号:
# Makefile for PL/Perl# $Header: /cvsroot/pgsql/src/pl/plperl/GNUmakefile,v 1.10.6.1 2004/01/21 19:25:11 tgl Exp $subdir = src/pl/plperltop_builddir = ../../..include $(top_builddir)/src/Makefile.globalifeq ($(perl_useshrplib),true)shared_libperl = yesendif# If we don't have a shared library and the platform doesn't allow it# to work without, we have to skip it.ifneq (,$(findstring yes, $(shared_libperl)$(allow_nonpic_in_shlib)))# The code isn't clean with regard to these warnings.ifeq ($(GCC),yes)override CFLAGS := $(filter-out -Wall -Wmissing-declarations -Wmissing-prototypes, $(CFLAGS))endifoverride CPPFLAGS := -I$(srcdir) -I$(perl_archlibexp)/CORE $(CPPFLAGS)NAME = plperlSO_MAJOR_VERSION = 0SO_MINOR_VERSION = 0OBJS = plperl.o eloglvl.o SPI.oSHLIB_LINK = $(perl_embed_ldflags) $(BE_DLLLIBS)include $(top_srcdir)/src/Makefile.shliball: all-libSPI.c: SPI.xs $(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@install: all installdirsifeq ($(enable_shared), yes) $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/plperl$(DLSUFFIX)else @echo "*****"; \ echo "* PL/Perl was not installed due to lack of shared library support."; \ echo "*****"endifinstalldirs: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)uninstall: rm -f $(DESTDIR)$(pkglibdir)/plperl$(DLSUFFIX)clean distclean maintainer-clean: clean-lib rm -f SPI.c $(OBJS)else # can't buildall: @echo ""; \ echo "*** Cannot build PL/Perl because libperl is not a shared library."; \ echo "*** You might have to rebuild your Perl installation. Refer to"; \ echo "*** the documentation for details."; \ echo ""endif # can't build
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -