]> pd.if.org Git - uuid/blob - postgres/Makefile
1c242628d29aba15adedd94de4355334fd298c6a
[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