aboutsummaryrefslogtreecommitdiff
path: root/contrib/spi/Makefile
blob: 3514eb8dd8fd96a91e90d24c06dea73a26872fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SRCDIR= /home/postgres/current/pgsql/src

include $(SRCDIR)/Makefile.global

CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include -DREFINT_QUIET

TARGETS= refint$(DLSUFFIX) refint.sql

CLEANFILES+= $(TARGETS)

all:: $(TARGETS)

%.sql: %.source
	rm -f $@; \
	C=`pwd`; \
	sed -e "s:_OBJWD_:$$C:g" \
	    -e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@

clean: 
	rm -f $(TARGETS)