Skip to content

Commit e3109ba

Browse files
committed
Add more dependencies from libpgport required by
standalone msvc build of libpq. Hiroshi Saito
1 parent 27a52fa commit e3109ba

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/interfaces/libpq/win32.mak

+28
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ CLEAN :
106106
-@erase "$(INTDIR)\pthread-win32.obj"
107107
-@erase "$(INTDIR)\snprintf.obj"
108108
-@erase "$(INTDIR)\strlcpy.obj"
109+
-@erase "$(INTDIR)\dirent.obj"
110+
-@erase "$(INTDIR)\dirmod.obj"
111+
-@erase "$(INTDIR)\pgsleep.obj"
112+
-@erase "$(INTDIR)\open.obj"
109113
-@erase "$(OUTDIR)\$(OUTFILENAME).lib"
110114
-@erase "$(OUTDIR)\$(OUTFILENAME)dll.lib"
111115
-@erase "$(OUTDIR)\libpq.res"
@@ -143,6 +147,10 @@ LIB32_OBJS= \
143147
"$(INTDIR)\encnames.obj" \
144148
"$(INTDIR)\snprintf.obj" \
145149
"$(INTDIR)\strlcpy.obj" \
150+
"$(INTDIR)\dirent.obj" \
151+
"$(INTDIR)\dirmod.obj" \
152+
"$(INTDIR)\pgsleep.obj" \
153+
"$(INTDIR)\open.obj" \
146154
"$(INTDIR)\pthread-win32.obj"
147155

148156

@@ -277,6 +285,26 @@ LINK32_OBJS= \
277285
$(CPP_PROJ) /I"." ..\..\port\strlcpy.c
278286
<<
279287

288+
"$(INTDIR)\dirent.obj" : ..\..\port\dirent.c
289+
$(CPP) @<<
290+
$(CPP_PROJ) /I"." ..\..\port\dirent.c
291+
<<
292+
293+
"$(INTDIR)\dirmod.obj" : ..\..\port\dirmod.c
294+
$(CPP) @<<
295+
$(CPP_PROJ) /I"." ..\..\port\dirmod.c
296+
<<
297+
298+
"$(INTDIR)\pgsleep.obj" : ..\..\port\pgsleep.c
299+
$(CPP) @<<
300+
$(CPP_PROJ) /I"." ..\..\port\pgsleep.c
301+
<<
302+
303+
"$(INTDIR)\open.obj" : ..\..\port\open.c
304+
$(CPP) @<<
305+
$(CPP_PROJ) /I"." ..\..\port\open.c
306+
<<
307+
280308
.c{$(CPP_OBJS)}.obj:
281309
$(CPP) $(CPP_PROJ) $<
282310

0 commit comments

Comments
 (0)