File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 44# Makefile for the timezone library
55
66# IDENTIFICATION
7- # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.12 2004/05/28 03:53:33 tgl Exp $
7+ # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.13 2004/08/08 03:57:35 momjian Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -13,7 +13,7 @@ top_builddir = ../..
1313include $(top_builddir ) /src/Makefile.global
1414
1515# files to build into backend
16- OBJS = localtime.o strftime.o pgtz.o
16+ OBJS = localtime.o strftime.o pgtz.o dirmod.o
1717
1818# files needed to build zic utility program
1919ZICOBJS = zic.o ialloc.o scheck.o localtime.o
@@ -31,11 +31,14 @@ SUBSYS.o: $(OBJS)
3131zic : $(ZICOBJS )
3232 $(CC ) $(CFLAGS ) $(ZICOBJS ) $(LDFLAGS ) $(LIBS ) -o $@ $(X )
3333
34+ dirmod.c : % : $(top_srcdir ) /src/port/%
35+ rm -f $@ && $(LN_S ) $< .
36+
3437install : all installdirs
3538 ./zic -d $(DESTDIR )$(datadir ) /timezone $(TZDATAFILES )
3639
3740installdirs :
3841 $(mkinstalldirs ) $(DESTDIR )$(datadir )
3942
4043clean distclean maintainer-clean :
41- rm -f SUBSYS.o zic $(OBJS ) $(ZICOBJS )
44+ rm -f SUBSYS.o zic $(OBJS ) $(ZICOBJS ) dirmod.c
You can’t perform that action at this time.
0 commit comments