include $(top_srcdir)/src/Makefile.shlib
install: all
+ifeq ($(enable_shared), yes)
$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)
+endif
uninstall:
rm -f $(DESTDIR)$(pkglibdir)/$(NAME)$(DLSUFFIX)
# Makefile for PL/Perl
-# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.11 2003/11/29 19:52:12 pgsql Exp $
+# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.12 2004/01/21 19:04:11 tgl Exp $
subdir = src/pl/plperl
top_builddir = ../../..
$(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@
install: all installdirs
+ifeq ($(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 "*****"
+endif
installdirs:
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
-# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.12 2003/11/29 19:52:12 pgsql Exp $
+# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.13 2004/01/21 19:04:11 tgl Exp $
subdir = src/pl/plpython
top_builddir = ../../..
all: all-lib
install: all installdirs
+ifeq ($(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 "*****"
+endif
installdirs:
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
#
# Makefile for the pltcl shared object
#
-# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.41 2003/11/29 19:52:13 pgsql Exp $
+# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.42 2004/01/21 19:04:11 tgl Exp $
#
#-------------------------------------------------------------------------
$(MAKE) -C modules $@
install: all installdirs
+ifeq ($(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:
# Provide dummy targets for the case where we can't build the shared library.
all:
@echo "*****"; \
- echo "* Cannot build pltcl because Tcl is not a shared library; skipping it."; \
+ echo "* Cannot build PL/Tcl because Tcl is not a shared library; skipping it."; \
echo "*****"
endif # TCL_SHARED_BUILD = 0