|
4 | 4 | # Makefile for the plpgsql shared object
|
5 | 5 | #
|
6 | 6 | # IDENTIFICATION
|
7 |
| -# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.11 1998/10/28 17:07:15 momjian Exp $ |
| 7 | +# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.12 1998/10/30 15:05:23 tgl Exp $ |
8 | 8 | #
|
9 | 9 | #-------------------------------------------------------------------------
|
10 | 10 |
|
@@ -37,7 +37,11 @@ include $(SRCDIR)/Makefile.shlib
|
37 | 37 | # instead:
|
38 | 38 |
|
39 | 39 | install:$(shlib)
|
| 40 | +ifneq ($(shlib),) |
40 | 41 | $(INSTALL) $(INSTL_SHLIB_OPTS) $(shlib) $(LIBDIR)/plpgsql$(DLSUFFIX)
|
| 42 | +else |
| 43 | +@echo "plpgsql not installed due to lack of shared library support." |
| 44 | +endif |
41 | 45 |
|
42 | 46 |
|
43 | 47 | pl_handler.o:pl_handler.c plpgsql.h pl.tab.h
|
@@ -65,7 +69,7 @@ scan.c:scan.l
|
65 | 69 | pl.tab.h:pl_gram.c
|
66 | 70 |
|
67 | 71 |
|
68 |
| -.PHONY: clean |
| 72 | +.PHONY:installclean |
69 | 73 |
|
70 | 74 | clean:
|
71 | 75 | rm -f lib$(NAME).a$(shlib)
|
|