summaryrefslogtreecommitdiff
path: root/src/timezone/Makefile
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-10-04 13:43:59 +0000
committerBruce Momjian <bruce@momjian.us>2004-10-04 13:43:59 +0000
commit24201b4bc60e46e8de031fb5911af32bdb412d43 (patch)
treea92e5c74b3cbb31f8d0a993bd182577526bd2205 /src/timezone/Makefile
parent3da69bd18c48f298068405be0748bb2ae7cd6359 (diff)
downloadpostgresql-24201b4bc60e46e8de031fb5911af32bdb412d43.tar.gz
Make libpgport be front-end only and make libpgport_srv be a backend
library that uses palloc, ereport, etc. This simplifies the makefiles for client applications.
Diffstat (limited to 'src/timezone/Makefile')
-rw-r--r--src/timezone/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/timezone/Makefile b/src/timezone/Makefile
index f9386cd12b..c704235917 100644
--- a/src/timezone/Makefile
+++ b/src/timezone/Makefile
@@ -1,10 +1,10 @@
#-------------------------------------------------------------------------
#
-# Makefile--
+# Makefile
# Makefile for the timezone library
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.15 2004/08/08 05:19:44 momjian Exp $
+# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.16 2004/10/04 13:43:59 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -12,13 +12,13 @@ subdir = src/timezone
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
-override CPPFLAGS := -DFRONTEND $(CPPFLAGS)
+override CPPFLAGS := $(CPPFLAGS)
# files to build into backend
OBJS= localtime.o strftime.o pgtz.o
# files needed to build zic utility program
-ZICOBJS= zic.o ialloc.o scheck.o localtime.o dirmod.o
+ZICOBJS= zic.o ialloc.o scheck.o localtime.o
# timezone data files
TZDATA := africa antarctica asia australasia europe northamerica southamerica \
@@ -33,9 +33,6 @@ SUBSYS.o: $(OBJS)
zic: $(ZICOBJS)
$(CC) $(CFLAGS) $(ZICOBJS) $(LDFLAGS) $(LIBS) -o $@$(X)
-dirmod.c: % : $(top_srcdir)/src/port/%
- rm -f $@ && $(LN_S) $< .
-
install: all installdirs
./zic -d $(DESTDIR)$(datadir)/timezone $(TZDATAFILES)
@@ -43,4 +40,4 @@ installdirs:
$(mkinstalldirs) $(DESTDIR)$(datadir)
clean distclean maintainer-clean:
- rm -f SUBSYS.o zic $(OBJS) $(ZICOBJS) dirmod.c
+ rm -f SUBSYS.o zic $(OBJS) $(ZICOBJS)