Commit 54789138 authored by Tom Lane's avatar Tom Lane

Behave reasonably on a system without shared libraries.

parent e337249f
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Makefile for the plpgsql shared object # Makefile for the plpgsql shared object
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.11 1998/10/28 17:07:15 momjian Exp $ # $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.12 1998/10/30 15:05:23 tgl Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -37,7 +37,11 @@ include $(SRCDIR)/Makefile.shlib ...@@ -37,7 +37,11 @@ include $(SRCDIR)/Makefile.shlib
# instead: # instead:
install: $(shlib) install: $(shlib)
ifneq ($(shlib),)
$(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/plpgsql$(DLSUFFIX) $(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/plpgsql$(DLSUFFIX)
else
@echo "plpgsql not installed due to lack of shared library support."
endif
pl_handler.o: pl_handler.c plpgsql.h pl.tab.h pl_handler.o: pl_handler.c plpgsql.h pl.tab.h
...@@ -65,7 +69,7 @@ scan.c: scan.l ...@@ -65,7 +69,7 @@ scan.c: scan.l
pl.tab.h: pl_gram.c pl.tab.h: pl_gram.c
.PHONY: clean .PHONY: install clean
clean: clean:
rm -f lib$(NAME).a $(shlib) rm -f lib$(NAME).a $(shlib)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment