]> granicus.if.org Git - postgresql/blob - src/timezone/Makefile
Add Olson's public domain timezone library to src/timezone.
[postgresql] / src / timezone / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for the timezone library
5
6 # IDENTIFICATION
7 #    $PostgreSQL: pgsql/src/timezone/Makefile,v 1.1 2004/04/30 04:09:23 momjian Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/port/tz
12 top_builddir = ../../..
13 include $(top_builddir)/src/Makefile.global
14
15 OBJS= asctime.o difftime.o localtime.o pgtz.o
16 ZICOBJS= zic.o ialloc.o scheck.o localtime.o asctime.o pgtz.o ../path.o
17
18 TZDATA := africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89
19 TZDATAFILES := $(TZDATA:%=data/%)
20
21 all: SUBSYS.o zic
22
23 SUBSYS.o: $(OBJS)
24         $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
25
26
27 zic: $(ZICOBJS)
28
29 install: zic
30         zic -d $(datadir)/timezone $(TZDATAFILES)
31
32 clean distclean maintainer-clean:
33         rm -f SUBSYS.o $(OBJS) $(ZICOBJS)