mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
17cc78ef01
written a generic framework of rules that the contrib makefiles can use instead of writing their own each time. You only need to set a few variables and off you go.
22 lines
622 B
Makefile
22 lines
622 B
Makefile
# $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.5 2001/09/06 10:49:29 petere Exp $
|
|
|
|
subdir = contrib/pg_controldata
|
|
top_builddir = ../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
PROGRAM = pg_controldata
|
|
OBJS = pg_controldata.o pg_crc.o $(SNPRINTF)
|
|
|
|
pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
|
|
rm -f $@ && $(LN_S) $< .
|
|
|
|
# this only gets done if configure finds system doesn't have snprintf()
|
|
snprintf.c: $(top_srcdir)/src/backend/port/snprintf.c
|
|
rm -f $@ && $(LN_S) $< .
|
|
|
|
EXTRA_CLEAN = pg_crc.c snprintf.c
|
|
|
|
DOCS = README.pg_controldata
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|