]> pd.if.org Git - uuid/blob - postgres/Makefile
9c5b5d8350c7d010e6c3ef066fac8030b770b9cd
[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.sql
7 #DOCS= README.uuid_ossp
8 #SHLIB_LINK= -Lpduuid -lpduuid
9 MODULE_big= pduuid
10 OBJS= uuid.o ../internal.o ../rng.o ../md5.o ../sha1.o
11
12 PG_CPPFLAGS := -I..
13 PG_CONFIG= pg_config
14 PGXS := $(shell $(PG_CONFIG) --pgxs)
15 include $(PGXS)
16 #include c:/Program\ Files/PostgreSQL/8.4/lib/pgxs/src/makefiles/pgxs.mk
17
18 # uncomment the following on mac
19 ifeq ($(PORTNAME), darwin)
20 LDFLAGS_SL += -flat_namespace -undefined suppress
21 endif
22
23 test:
24         pg_prove t/*.sql