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

Commit4fa8b44

Browse files
committed
Realign libpq and psql for need for path.c under Win32 VC and BCC.
1 parentbd9b951 commit4fa8b44

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

‎src/bin/psql/bcc32.mak

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ REFDOCDIR=../../../doc/src/sgml/ref
5353
.c.obj:
5454
$(CPP) -o"$(INTDIR)\$&"$(CPP_PROJ)$<
5555

56-
ALL :"sql_help.h" "$(OUTDIR)\psql.exe"
56+
ALL : sql_help.h pg_config_paths.h "$(OUTDIR)\psql.exe"
5757

5858
CLEAN :
5959
-@erase"$(INTDIR)\command.obj"
@@ -82,6 +82,9 @@ CLEAN :
8282
-@erase"$(INTDIR)\psql.ilf"
8383
-@erase"$(OUTDIR)\psql.exe"
8484

85+
pg_config_paths.h: win32.mak
86+
echo#define SYSCONFDIR "" >pg_config_paths.h
87+
8588
"$(OUTDIR)" :
8689
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
8790

‎src/bin/psql/win32.mak

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ REFDOCDIR= ../../../doc/src/sgml/ref
1616
OutDir=.\Release
1717
# End Custom Macros
1818

19-
ALL : sql_help.h "$(OUTDIR)\psql.exe"
19+
ALL : sql_help.hpg_config_paths.h"$(OUTDIR)\psql.exe"
2020

2121
CLEAN :
2222
-@erase"$(INTDIR)\command.obj"
@@ -42,6 +42,9 @@ CLEAN :
4242
-@erase"$(INTDIR)\*psql.pch"
4343
-@erase"$(OUTDIR)\psql.exe"
4444

45+
pg_config_paths.h: win32.mak
46+
echo#define SYSCONFDIR "" >pg_config_paths.h
47+
4548
"$(OUTDIR)" :
4649
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
4750

‎src/interfaces/libpq/bcc32.mak

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ LIB32_OBJS= \
6767
"$(INTDIR)\thread.obj"\
6868
"$(INTDIR)\inet_aton.obj"\
6969
"$(INTDIR)\crypt.obj"\
70-
"$(INTDIR)\path.obj"\
7170
"$(INTDIR)\noblock.obj"\
7271
"$(INTDIR)\pgstrcasecmp.obj"\
7372
"$(INTDIR)\dllist.obj"\
@@ -93,13 +92,6 @@ RSC_PROJ=-l 0x409 -i$(BCB)\include -fo"$(INTDIR)\libpq.res"
9392
LINK32=ilink32.exe
9493
LINK32_FLAGS = -Gn -L$(BCB)\lib;$(INTDIR); -x -Tpd -v
9594
LINK32_OBJS= "$(INTDIR)\libpqdll.obj"
96-
97-
# ---------------------------------------------------------------------------
98-
99-
.path.obj =$(INTDIR)
100-
.path.c = .;..\..\port;..\..\backend\libpq;..\..\backend\lib;..\..\backend\utils\mb
101-
102-
# ---------------------------------------------------------------------------
10395

10496
ALL: config "$(OUTDIR)" "$(OUTDIR)\blibpq.dll" "$(OUTDIR)\blibpq.lib"
10597

@@ -108,7 +100,6 @@ CLEAN :
108100
-@erase"$(INTDIR)\thread.obj"
109101
-@erase"$(INTDIR)\inet_aton.obj"
110102
-@erase"$(INTDIR)\crypt.obj"
111-
-@erase"$(INTDIR)\path.obj"
112103
-@erase"$(INTDIR)\dllist.obj"
113104
-@erase"$(INTDIR)\md5.obj"
114105
-@erase"$(INTDIR)\ip.obj"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp