mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 21:11:22 +02:00
091126fa28
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
30 lines
558 B
Makefile
30 lines
558 B
Makefile
|
|
SRCDIR= ../../src
|
|
|
|
include $(SRCDIR)/Makefile.global
|
|
|
|
CFLAGS+= $(CFLAGS_SL)
|
|
|
|
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
|
|
|
|
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) *.o
|