File: Makefile.contrib

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

EXTRA_CLEAN = pg_crc.c 

DOCS = README.pg_filedump

ifdef USE_PGXS
PG_CONFIG = pg_config
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) $< .