Skip to content

Commit 1883b98

Browse files
committed
Synchronize Borland libpq makefile to match MSVC. Backpatch to 8.3.X.
1 parent 63c3b99 commit 1883b98

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

src/interfaces/libpq/bcc32.mak

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,17 @@ CLEAN :
9393
-@erase "$(INTDIR)\fe-secure.obj"
9494
-@erase "$(INTDIR)\pqexpbuffer.obj"
9595
-@erase "$(INTDIR)\pqsignal.obj"
96-
-@erase "$(OUTDIR)\win32.obj"
96+
-@erase "$(INTDIR)\win32.obj"
9797
-@erase "$(INTDIR)\wchar.obj"
9898
-@erase "$(INTDIR)\encnames.obj"
9999
-@erase "$(INTDIR)\pthread-win32.obj"
100100
-@erase "$(INTDIR)\snprintf.obj"
101101
-@erase "$(INTDIR)\strlcpy.obj"
102+
-@erase "$(INTDIR)\dirent.obj"
103+
-@erase "$(INTDIR)\dirmod.obj"
104+
-@erase "$(INTDIR)\pgsleep.obj"
105+
-@erase "$(INTDIR)\open.obj"
106+
-@erase "$(INTDIR)\win32error.obj"
102107
-@erase "$(OUTDIR)\$(OUTFILENAME).lib"
103108
-@erase "$(OUTDIR)\$(OUTFILENAME)dll.lib"
104109
-@erase "$(OUTDIR)\libpq.res"
@@ -134,6 +139,11 @@ LIB32_OBJS= \
134139
"$(INTDIR)\encnames.obj" \
135140
"$(INTDIR)\snprintf.obj" \
136141
"$(INTDIR)\strlcpy.obj" \
142+
"$(INTDIR)\dirent.obj" \
143+
"$(INTDIR)\dirmod.obj" \
144+
"$(INTDIR)\pgsleep.obj" \
145+
"$(INTDIR)\open.obj" \
146+
"$(INTDIR)\win32error.obj" \
137147
"$(INTDIR)\pthread-win32.obj"
138148

139149

@@ -238,7 +248,32 @@ LINK32_FLAGS = -Gn -L$(BCB)\lib;$(INTDIR); -x -Tpd -v
238248

239249
"$(INTDIR)\strlcpy.obj" : ..\..\port\strlcpy.c
240250
$(CPP) @<<
241-
$(CPP_PROJ) ..\..\port\strlcpy.c
251+
$(CPP_PROJ) /I"." ..\..\port\strlcpy.c
252+
<<
253+
254+
"$(INTDIR)\dirent.obj" : ..\..\port\dirent.c
255+
$(CPP) @<<
256+
$(CPP_PROJ) /I"." ..\..\port\dirent.c
257+
<<
258+
259+
"$(INTDIR)\dirmod.obj" : ..\..\port\dirmod.c
260+
$(CPP) @<<
261+
$(CPP_PROJ) /I"." ..\..\port\dirmod.c
262+
<<
263+
264+
"$(INTDIR)\pgsleep.obj" : ..\..\port\pgsleep.c
265+
$(CPP) @<<
266+
$(CPP_PROJ) /I"." ..\..\port\pgsleep.c
267+
<<
268+
269+
"$(INTDIR)\open.obj" : ..\..\port\open.c
270+
$(CPP) @<<
271+
$(CPP_PROJ) /I"." ..\..\port\open.c
272+
<<
273+
274+
"$(INTDIR)\win32error.obj" : ..\..\port\win32error.c
275+
$(CPP) @<<
276+
$(CPP_PROJ) /I"." ..\..\port\win32error.c
242277
<<
243278

244279

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy