📄 makefile
字号:
# $Header: /cvsroot/pgsql/src/pl/plpython/Makefile,v 1.11.6.1 2004/01/21 19:25:11 tgl Exp $subdir = src/pl/plpythontop_builddir = ../../..include $(top_builddir)/src/Makefile.global# On some platforms we can only build PL/Python if libpython is a# shared library. Since there is no official way to determine this,# we see if there is a file that is named like a shared library.ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*))shared_libpython = 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_libpython)$(allow_nonpic_in_shlib)))override CPPFLAGS := -I$(srcdir) $(python_includespec) $(CPPFLAGS)rpath :=NAME = plpythonSO_MAJOR_VERSION = 0SO_MINOR_VERSION = 0OBJS = plpython.oSHLIB_LINK = $(BE_DLLLIBS) $(python_libspec)include $(top_srcdir)/src/Makefile.shliball: all-libinstall: all installdirsifeq ($(enable_shared), yes) $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/plpython$(DLSUFFIX)else @echo "*****"; \ echo "* PL/Python was not installed due to lack of shared library support."; \ echo "*****"endifinstalldirs: $(mkinstalldirs) $(DESTDIR)$(pkglibdir)uninstall: rm -f $(DESTDIR)$(pkglibdir)/plpython$(DLSUFFIX)clean distclean maintainer-clean: clean-lib rm -f $(OBJS) @rm -f error.diff feature.diff error.output feature.output test.loginstallcheck: PATH=$(bindir):$$PATH $(SHELL) $(srcdir)/test.shelse # can't buildall: @echo ""; \ echo "*** Cannot build PL/Python because libpython is not a shared library." ; \ echo "*** You might have to rebuild your Python installation. Refer to"; \ echo "*** the documentation for details."; \ echo ""endif # can't build
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -