]> pd.if.org Git - uuid/blob - postgres/Makefile
mark functions as immutable
[uuid] / postgres / Makefile
1 # makefile for postgres uuid type support functions
2 # written by nathan wagner and placed in the public domain
3
4 EXTENSION=pduuid
5 MODULES= pduuid
6 DATA= pduuid--1.0.1.sql pduuid--1.0.sql pduuid--1.0--1.0.1.sql
7 #SHLIB_LINK= -Lpduuid -lpduuid
8 MODULE_big= pduuid
9 OBJS= uuid.o ../internal.o ../rng.o ../md5.o ../sha1.o
10
11 PG_CPPFLAGS := -I..
12 PG_CONFIG= pg_config
13 PGXS := $(shell $(PG_CONFIG) --pgxs)
14 include $(PGXS)
15 #include c:/Program\ Files/PostgreSQL/8.4/lib/pgxs/src/makefiles/pgxs.mk
16
17 # uncomment the following on mac
18 ifeq ($(PORTNAME), darwin)
19 LDFLAGS_SL += -flat_namespace -undefined suppress
20 endif
21
22 test:
23         pg_prove t/*.sql