# Makefile for the plpgsql shared object
#
# 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 $
#
#-------------------------------------------------------------------------
# instead:
install: $(shlib)
+ifneq ($(shlib),)
$(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.tab.h: pl_gram.c
-.PHONY: clean
+.PHONY: install clean
clean:
rm -f lib$(NAME).a $(shlib)