Skip to content

Commit b6f348c

Browse files
committed
General trigger functions for referential integrity.
1 parent 8ec7eef commit b6f348c

File tree

3 files changed

+577
-0
lines changed

3 files changed

+577
-0
lines changed

contrib/spi/Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
SRCDIR= /home/postgres/current/pgsql/src
3+
4+
include $(SRCDIR)/Makefile.global
5+
6+
CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include -DREFINT_QUIET
7+
8+
TARGETS= refint$(DLSUFFIX) refint.sql
9+
10+
CLEANFILES+= $(TARGETS)
11+
12+
all:: $(TARGETS)
13+
14+
%.sql: %.source
15+
rm -f $@; \
16+
C=`pwd`; \
17+
sed -e "s:_OBJWD_:$$C:g" \
18+
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
19+
20+
clean:
21+
rm -f $(TARGETS)

0 commit comments

Comments
 (0)