mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
General trigger functions for referential integrity.
This commit is contained in:
21
contrib/spi/Makefile
Normal file
21
contrib/spi/Makefile
Normal file
@ -0,0 +1,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)
|
Reference in New Issue
Block a user