mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
361 B
22 lines
361 B
|
29 years ago
|
|
||
|
|
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)
|