summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian2004-04-30 16:08:01 +0000
committerBruce Momjian2004-04-30 16:08:01 +0000
commit82700281d0939242392da1247dd2a4c79df9d6b6 (patch)
treeb9b6c9cc926d601e8804e42d6baf805328f35a40 /src
parentb99a3a754181c0875a83656d42c423e506e070c0 (diff)
More cleanups for USE_PGTZ.
Diffstat (limited to 'src')
-rw-r--r--src/backend/Makefile6
-rw-r--r--src/timezone/Makefile4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile
index 5d342fa2735..920a3a244d7 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/backend/Makefile,v 1.98 2004/02/02 00:11:30 momjian Exp $
+# $PostgreSQL: pgsql/src/backend/Makefile,v 1.99 2004/04/30 16:08:01 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -16,6 +16,10 @@ DIRS := access bootstrap catalog parser commands executor lib libpq \
main nodes optimizer port postmaster regex rewrite \
storage tcop utils
+ifeq ($(USE_PGTZ), yes)
+DIRS+= $(top_builddir)/src/timezone
+endif
+
OBJS := $(DIRS:%=%/SUBSYS.o)
ifeq ($(PORTNAME), qnx4)
diff --git a/src/timezone/Makefile b/src/timezone/Makefile
index ac5926c79c7..631f81f169a 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.3 2004/04/30 14:24:14 momjian Exp $
+# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.4 2004/04/30 16:08:01 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -20,7 +20,7 @@ ZICOBJS= zic.o ialloc.o scheck.o localtime.o asctime.o pgtz.o
TZDATA := africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89
TZDATAFILES := $(TZDATA:%=data/%)
-ifeq ($(PGTZ), yes)
+ifeq ($(USE_PGTZ), yes)
all: SUBSYS.o zic
SUBSYS.o: $(OBJS)