1 # makefile for postgres uuid type support functions
2 # written by nathan wagner and placed in the public domain
5 UPGRADES=1.0--1.0.1 1.0.1--1.1
9 DATA= $(addprefix $(EXTENSION)--, $(addsuffix .sql, $(VERSIONS) $(UPGRADES)))
10 #SHLIB_LINK= -Lpduuid -lpduuid
12 OBJS= uuid.o ../internal.o ../rng.o ../md5.o ../sha1.o
16 PGXS := $(shell $(PG_CONFIG) --pgxs)
18 #include c:/Program\ Files/PostgreSQL/8.4/lib/pgxs/src/makefiles/pgxs.mk
20 # uncomment the following on mac
21 ifeq ($(PORTNAME), darwin)
22 LDFLAGS_SL += -flat_namespace -undefined suppress