# makefile for postgres uuid type support functions # written by nathan wagner and placed in the public domain VERSIONS=1.0 1.0.1 1.1 UPGRADES=1.0--1.0.1 1.0.1--1.1 EXTENSION=pduuid #MODULES= pduuid DATA= $(addprefix $(EXTENSION)--, $(addsuffix .sql, $(VERSIONS) $(UPGRADES))) #SHLIB_LINK= -Lpduuid -lpduuid MODULE_big= pduuid OBJS= uuid.o ../internal.o ../rng.o ../md5.o ../sha1.o PG_CPPFLAGS := -I.. PG_CONFIG= pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) #include c:/Program\ Files/PostgreSQL/8.4/lib/pgxs/src/makefiles/pgxs.mk # uncomment the following on mac ifeq ($(PORTNAME), darwin) LDFLAGS_SL += -flat_namespace -undefined suppress endif test: pg_prove t/*.sql