File: Makefile.contrib

package info (click to toggle)
postgresql-filedump-8.1 8.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 148 kB
  • ctags: 95
  • sloc: ansic: 1,598; makefile: 62
file content (19 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PROGRAM = pg_filedump
OBJS	= pg_filedump.o pg_crc.o 

EXTRA_CLEAN = pg_crc.c 

DOCS = README.pg_filedump

ifdef USE_PGXS
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
else
subdir = contrib/pg_filedump
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
	rm -f $@ && $(LN_S) $< .