diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-29 05:45:56 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-29 05:45:56 +0000 |
| commit | 091126fa28b4dbfd9df2fc4c22deade58f7e24dc (patch) | |
| tree | 5a4c362f26fa5b00688831ffdf1dfff8b0f60f1f /contrib/isbn_issn/Makefile | |
| parent | 18952f67446da73f938d213b5225b99e95657837 (diff) | |
| download | postgresql-091126fa28b4dbfd9df2fc4c22deade58f7e24dc.tar.gz | |
Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
Diffstat (limited to 'contrib/isbn_issn/Makefile')
| -rw-r--r-- | contrib/isbn_issn/Makefile | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/contrib/isbn_issn/Makefile b/contrib/isbn_issn/Makefile index baccaf28e6..bd3c4325cd 100644 --- a/contrib/isbn_issn/Makefile +++ b/contrib/isbn_issn/Makefile @@ -1,25 +1,18 @@ # # PostgreSQL types for ISBN and ISSN identifiers. # -# $Id: Makefile,v 1.1 1998/08/17 03:35:04 scrappy Exp $ +# $Id: Makefile,v 1.2 2000/05/29 05:44:26 tgl Exp $ -all: isbn.so issn.so +SRCDIR= ../../src -isbn.so: isbn.o - ld -Bshareable -o isbn.so isbn.o +include $(SRCDIR)/Makefile.global -isbn.o: isbn.c - cc -g -O -fPIC -I/usr/local/pgsql/include -c isbn.c +CFLAGS+= $(CFLAGS_SL) -issn.so: issn.o - ld -Bshareable -o issn.so issn.o +all: isbn$(DLSUFFIX) issn$(DLSUFFIX) -issn.o: issn.c - cc -g -O -fPIC -I/usr/local/pgsql/include -c issn.c +install: isbn$(DLSUFFIX) issn$(DLSUFFIX) + install -c isbn$(DLSUFFIX) issn$(DLSUFFIX) /usr/local/pgsql/modules -install: isbn.so issn.so - install -c isbn.so issn.so /usr/local/pgsql/modules - -# -# eof -# +clean: + rm -f isbn$(DLSUFFIX) issn$(DLSUFFIX) *.o |
