From c7054a6c140ea58c5a3fa4bd8d881bd0f198cd2c Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 19 Feb 2008 15:29:58 +0000 Subject: More refactoring, so that the SUBSYS.o rules are now all in one place. --- src/timezone/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/timezone') diff --git a/src/timezone/Makefile b/src/timezone/Makefile index d4ad6f0790a..bd9a5f46940 100644 --- a/src/timezone/Makefile +++ b/src/timezone/Makefile @@ -4,7 +4,7 @@ # Makefile for the timezone library # IDENTIFICATION -# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.28 2007/08/25 20:29:25 tgl Exp $ +# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.29 2008/02/19 15:29:58 petere Exp $ # #------------------------------------------------------------------------- @@ -32,15 +32,12 @@ ifneq (,$(with_system_tzdata)) override CPPFLAGS += '-DSYSTEMTZDIR="$(with_system_tzdata)"' endif -all: SUBSYS.o +include $(top_srcdir)/src/backend/common.mk ifeq (,$(with_system_tzdata)) all: submake-libpgport zic endif -SUBSYS.o: $(OBJS) - $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS) - zic: $(ZICOBJS) $(CC) $(CFLAGS) $(ZICOBJS) $(LDFLAGS) $(LIBS) -o $@$(X) @@ -60,4 +57,4 @@ endif $(MAKE) -C tznames $@ clean distclean maintainer-clean: - rm -f SUBSYS.o zic$(X) $(OBJS) $(ZICOBJS) + rm -f zic$(X) $(ZICOBJS) -- cgit v1.2.3