summaryrefslogtreecommitdiff
path: root/src/timezone
diff options
context:
space:
mode:
authorPeter Eisentraut2008-02-19 15:29:58 +0000
committerPeter Eisentraut2008-02-19 15:29:58 +0000
commitc7054a6c140ea58c5a3fa4bd8d881bd0f198cd2c (patch)
tree5675894f8ed35dbf9312a8af032e1b66ffac2c3a /src/timezone
parente2f16cd0ef1f226c303f46518c0ff9e8977f92bc (diff)
More refactoring, so that the SUBSYS.o rules are now all in one place.
Diffstat (limited to 'src/timezone')
-rw-r--r--src/timezone/Makefile9
1 files changed, 3 insertions, 6 deletions
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)