summaryrefslogtreecommitdiff
path: root/contrib/spi/Makefile
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-05-10 15:12:29 +0000
committerBruce Momjian <bruce@momjian.us>1999-05-10 15:12:29 +0000
commitd489fdfc7f4ccf0010fe0397e7272bdfc257e8f2 (patch)
tree085a81e0c91d2ec1b59a56b4876f3c4905388238 /contrib/spi/Makefile
parent9e4e33c996b6027391f2cf8b1e47d75c3e5a8c23 (diff)
downloadpostgresql-d489fdfc7f4ccf0010fe0397e7272bdfc257e8f2.tar.gz
I send you a attach of my modified refint.c that
works with a new policy in cascade mode . Please Read README.MAX . I do not know if you are the author of refint.c , but if not please tell me who is . Thank you ( excuse me for my bad english) . Massimo Lambertini massimo.lambertini@everex.it
Diffstat (limited to 'contrib/spi/Makefile')
-rw-r--r--contrib/spi/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/contrib/spi/Makefile b/contrib/spi/Makefile
index c9c9ff8d48..5d85b2638e 100644
--- a/contrib/spi/Makefile
+++ b/contrib/spi/Makefile
@@ -3,34 +3,23 @@ SRCDIR= ../../src
include $(SRCDIR)/Makefile.global
-CONTRIBDIR=$(LIBDIR)/modules
-
CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include
ifdef REFINT_VERBOSE
CFLAGS+= -DREFINT_VERBOSE
endif
-TARGETS= refint$(DLSUFFIX) refint.sql timetravel$(DLSUFFIX) timetravel.sql \
- autoinc$(DLSUFFIX) autoinc.sql moddatetime$(DLSUFFIX) moddatetime.sql \
- insert_username$(DLSUFFIX) insert_username.sql
+TARGETS= refint$(DLSUFFIX) refint.sql
CLEANFILES+= $(TARGETS)
all:: $(TARGETS)
-install:: all $(CONTRIBDIR)
- $(INSTALL) -c README $(CONTRIBDIR)/README.spi
- for f in *.example *.sql *$(DLSUFFIX); do $(INSTALL) -c $$f $(CONTRIBDIR)/$$f; done
-
-$(CONTRIBDIR):
- mkdir -p $(CONTRIBDIR)
-
%.sql: %.source
rm -f $@; \
C=`pwd`; \
- sed -e "s:_OBJWD_:$(CONTRIBDIR):g" \
+ sed -e "s:_OBJWD_:$$C:g" \
-e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@
clean:
- rm -f $(TARGETS) *.o
+ rm -f $(TARGETS)