File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 11#
2- # $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.3 2001/03/13 01:17:40 tgl Exp $
2+ # $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.4 2001/04/03 19:06:19 tgl Exp $
33#
44
55subdir = contrib/pg_controldata
66top_builddir = ../..
77include $(top_builddir ) /src/Makefile.global
88
9- OBJS = pg_controldata.o pg_crc.o
9+ OBJS = pg_controldata.o pg_crc.o $( SNPRINTF )
1010
1111all : pg_controldata
1212
1313pg_controldata : $(OBJS )
1414 $(CC ) $(CFLAGS ) $(OBJS ) $(LDFLAGS ) $(LIBS ) -o $@
1515
16- pg_crc.c : $(top_builddir ) /src/backend/utils/hash/pg_crc.c
16+ pg_crc.c : $(top_srcdir ) /src/backend/utils/hash/pg_crc.c
17+ rm -f $@ && $(LN_S ) $< .
18+
19+ # this only gets done if configure finds system doesn't have snprintf()
20+ snprintf.c : $(top_srcdir ) /src/backend/port/snprintf.c
1721 rm -f $@ && $(LN_S ) $< .
1822
1923install : all installdirs
@@ -27,7 +31,7 @@ uninstall:
2731 rm -f $(bindir ) /pg_controldata$(X ) $(docdir ) /contrib/README.pg_controldata
2832
2933clean distclean maintainer-clean :
30- rm -f pg_controldata$(X ) $(OBJS ) pg_crc.c
34+ rm -f pg_controldata$(X ) $(OBJS ) pg_crc.c snprintf.c
3135
3236depend dep :
3337 $(CC ) -MM -MG $(CFLAGS ) * .c > depend
Original file line number Diff line number Diff line change 11#
2- # $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.1 2001/03/14 00:57:43 tgl Exp $
2+ # $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.2 2001/04/03 19:01:57 tgl Exp $
33#
44
55subdir = contrib/pg_resetxlog
66top_builddir = ../..
77include $(top_builddir ) /src/Makefile.global
88
9- OBJS = pg_resetxlog.o pg_crc.o
9+ OBJS = pg_resetxlog.o pg_crc.o $( SNPRINTF )
1010
1111all : pg_resetxlog
1212
1313pg_resetxlog : $(OBJS )
1414 $(CC ) $(CFLAGS ) $(OBJS ) $(LDFLAGS ) $(LIBS ) -o $@
1515
16- pg_crc.c : $(top_builddir ) /src/backend/utils/hash/pg_crc.c
16+ pg_crc.c : $(top_srcdir ) /src/backend/utils/hash/pg_crc.c
17+ rm -f $@ && $(LN_S ) $< .
18+
19+ # this only gets done if configure finds system doesn't have snprintf()
20+ snprintf.c : $(top_srcdir ) /src/backend/port/snprintf.c
1721 rm -f $@ && $(LN_S ) $< .
1822
1923install : all installdirs
@@ -27,7 +31,7 @@ uninstall:
2731 rm -f $(bindir ) /pg_resetxlog$(X ) $(docdir ) /contrib/README.pg_resetxlog
2832
2933clean distclean maintainer-clean :
30- rm -f pg_resetxlog$(X ) $(OBJS ) pg_crc.c
34+ rm -f pg_resetxlog$(X ) $(OBJS ) pg_crc.c snprintf.c
3135
3236depend dep :
3337 $(CC ) -MM -MG $(CFLAGS ) * .c > depend
You can’t perform that action at this time.
0 commit comments