summaryrefslogtreecommitdiff
path: root/src/timezone/Makefile
diff options
context:
space:
mode:
authorTom Lane2004-05-21 05:08:06 +0000
committerTom Lane2004-05-21 05:08:06 +0000
commit63bd0db12199c5df043e1dea0f2b574f622b3a4c (patch)
treedbafdb6e4541162ad369dbfeca24cbd62aefddcc /src/timezone/Makefile
parent260b513fc37b6ed2df51586c487d0832b89d0d70 (diff)
Integrate src/timezone library for all platforms. There is more we can
and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane.
Diffstat (limited to 'src/timezone/Makefile')
-rw-r--r--src/timezone/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/timezone/Makefile b/src/timezone/Makefile
index 8eb7ee3fc3c..9b766dc5f5f 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.9 2004/05/18 04:10:33 momjian Exp $
+# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.10 2004/05/21 05:08:06 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -12,13 +12,17 @@ subdir = src/timezone
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-OBJS= asctime.o difftime.o localtime.o pgtz.o
-ZICOBJS= zic.o ialloc.o scheck.o localtime.o asctime.o pgtz.o
+# files to build into backend
+OBJS= localtime.o strftime.o pgtz.o
-TZDATA := africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89
+# files needed to build zic utility program
+ZICOBJS= zic.o ialloc.o scheck.o localtime.o
+
+# timezone data files
+TZDATA := africa antarctica asia australasia europe northamerica southamerica \
+ pacificnew etcetera factory backward systemv solar87 solar88 solar89
TZDATAFILES := $(TZDATA:%=data/%)
-ifeq ($(USE_PGTZ), yes)
all: SUBSYS.o submake-libpgport zic
SUBSYS.o: $(OBJS)
@@ -31,6 +35,4 @@ install: all installdirs
./zic -d $(DESTDIR)$(datadir)/timezone $(TZDATAFILES)
clean distclean maintainer-clean:
- rm -f SUBSYS.o $(OBJS) $(ZICOBJS)
-endif
-
+ rm -f SUBSYS.o zic $(OBJS) $(ZICOBJS)