# 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= pduuid--1.0.1.sql pduuid--1.0.sql pduuid--1.0--1.0.1.sql
+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