File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
# Makefile for the timezone library
5
5
6
6
# 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 $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -13,7 +13,7 @@ top_builddir = ../..
13
13
include $(top_builddir ) /src/Makefile.global
14
14
15
15
# files to build into backend
16
- OBJS = localtime.o strftime.o pgtz.o
16
+ OBJS = localtime.o strftime.o pgtz.o dirmod.o
17
17
18
18
# files needed to build zic utility program
19
19
ZICOBJS = zic.o ialloc.o scheck.o localtime.o
@@ -31,11 +31,14 @@ SUBSYS.o: $(OBJS)
31
31
zic : $(ZICOBJS )
32
32
$(CC ) $(CFLAGS ) $(ZICOBJS ) $(LDFLAGS ) $(LIBS ) -o $@ $(X )
33
33
34
+ dirmod.c : % : $(top_srcdir ) /src/port/%
35
+ rm -f $@ && $(LN_S ) $< .
36
+
34
37
install : all installdirs
35
38
./zic -d $(DESTDIR )$(datadir ) /timezone $(TZDATAFILES )
36
39
37
40
installdirs :
38
41
$(mkinstalldirs ) $(DESTDIR )$(datadir )
39
42
40
43
clean 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