Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68993b6

Browse files
committed
Link in dirmod specially for zic so it works on Win32.
1 parentdc94d4a commit68993b6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎src/timezone/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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 = ../..
1313
include$(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
1919
ZICOBJS= zic.o ialloc.o scheck.o localtime.o
@@ -31,11 +31,14 @@ SUBSYS.o: $(OBJS)
3131
zic:$(ZICOBJS)
3232
$(CC)$(CFLAGS)$(ZICOBJS)$(LDFLAGS)$(LIBS) -o$@$(X)
3333

34+
dirmod.c:% :$(top_srcdir)/src/port/%
35+
rm -f$@&&$(LN_S)$<.
36+
3437
install: all installdirs
3538
./zic -d$(DESTDIR)$(datadir)/timezone$(TZDATAFILES)
3639

3740
installdirs:
3841
$(mkinstalldirs)$(DESTDIR)$(datadir)
3942

4043
cleandistcleanmaintainer-clean:
41-
rm -f SUBSYS.o zic$(OBJS)$(ZICOBJS)
44+
rm -f SUBSYS.o zic$(OBJS)$(ZICOBJS) dirmod.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp