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