File tree 6 files changed +16
-6
lines changed
6 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1998-2002, PostgreSQL Global Development Group
6
6
#
7
- # $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.6 2004/04/26 17:40:48 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/bin/pg_controldata/Makefile,v 1.7 2004/04/30 20:01:39 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
subdir = src/bin/pg_controldata
12
12
top_builddir = ../../..
13
13
include $(top_builddir ) /src/Makefile.global
14
14
15
+ override CPPFLAGS += -DFRONTEND
16
+
15
17
OBJS = pg_controldata.o pg_crc.o
16
18
17
19
all : submake-libpgport pg_controldata
Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.45 2004/04/26 17:40:48 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/pg_dump/Makefile,v 1.46 2004/04/30 20:01:39 momjian Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
12
12
subdir = src/bin/pg_dump
13
13
top_builddir = ../../..
14
14
include $(top_builddir ) /src/Makefile.global
15
15
16
+ override CPPFLAGS += -DFRONTEND
17
+
16
18
OBJS = pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o \
17
19
pg_backup_files.o pg_backup_null.o pg_backup_tar.o \
18
20
dumputils.o
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1998-2002, PostgreSQL Global Development Group
6
6
#
7
- # $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.7 2004/04/26 17:40:48 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/bin/pg_resetxlog/Makefile,v 1.8 2004/04/30 20:01:39 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
11
11
subdir = src/bin/pg_resetxlog
12
12
top_builddir = ../../..
13
13
include $(top_builddir ) /src/Makefile.global
14
14
15
- override CPPFLAGS := $( CPPFLAGS ) -DFRONTEND
15
+ override CPPFLAGS += -DFRONTEND
16
16
17
17
OBJS = pg_resetxlog.o pg_crc.o \
18
18
$(filter dirmod.o, $(LIBOBJS ) )
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.5 2004/04/30 17:52:07 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.6 2004/04/30 20:01:39 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -30,7 +30,7 @@ zic: $(ZICOBJS)
30
30
$(CC ) $(CFLAGS ) $(ZICOBJS ) $(LDFLAGS ) $(LIBS ) -o $@ $(X )
31
31
32
32
install : zic
33
- zic -d $(pkglibdir ) /../timezone $(TZDATAFILES )
33
+ ./ zic -d $(pkglibdir ) /../timezone $(TZDATAFILES )
34
34
35
35
clean distclean maintainer-clean :
36
36
rm -f SUBSYS.o $(OBJS ) $(ZICOBJS )
Original file line number Diff line number Diff line change 4
4
#define HAVE_SYMLINK 0
5
5
#endif
6
6
7
+
7
8
#define NOID
8
9
#define TZDIR pgwin32_TZDIR()
9
10
Original file line number Diff line number Diff line change @@ -88,7 +88,12 @@ static char privatehid[] = "@(#)private.h 7.53";
88
88
#include "errno.h"
89
89
#include "string.h"
90
90
#include "limits.h" /* for CHAR_BIT */
91
+
92
+ #define save_timezone pg_timezone
93
+ #undef timezone
91
94
#include "time.h"
95
+ #define timezone save_timezone
96
+
92
97
#include "stdlib.h"
93
98
94
99
#if HAVE_GETTEXT - 0
You can’t perform that action at this time.
0 commit comments