aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2008-08-16 01:56:25 +0000
committerBruce Momjian <bruce@momjian.us>2008-08-16 01:56:25 +0000
commit36985c52f4636f30b7d71759828fb238bd2dd3a4 (patch)
tree87a3e109ea5ab6f2342efba4a858afce523b1eec
parent763312d73d54b1a8931ae3f296ec506221fb89ef (diff)
downloadpostgresql-36985c52f4636f30b7d71759828fb238bd2dd3a4.tar.gz
postgresql-36985c52f4636f30b7d71759828fb238bd2dd3a4.zip
Synchronize Borland libpq makefile to match MSVC. Backpatch to 8.3.X.
-rw-r--r--src/interfaces/libpq/bcc32.mak39
1 files changed, 37 insertions, 2 deletions
diff --git a/src/interfaces/libpq/bcc32.mak b/src/interfaces/libpq/bcc32.mak
index 067ce541015..dcfd42c0393 100644
--- a/src/interfaces/libpq/bcc32.mak
+++ b/src/interfaces/libpq/bcc32.mak
@@ -93,12 +93,17 @@ CLEAN :
-@erase "$(INTDIR)\fe-secure.obj"
-@erase "$(INTDIR)\pqexpbuffer.obj"
-@erase "$(INTDIR)\pqsignal.obj"
- -@erase "$(OUTDIR)\win32.obj"
+ -@erase "$(INTDIR)\win32.obj"
-@erase "$(INTDIR)\wchar.obj"
-@erase "$(INTDIR)\encnames.obj"
-@erase "$(INTDIR)\pthread-win32.obj"
-@erase "$(INTDIR)\snprintf.obj"
-@erase "$(INTDIR)\strlcpy.obj"
+ -@erase "$(INTDIR)\dirent.obj"
+ -@erase "$(INTDIR)\dirmod.obj"
+ -@erase "$(INTDIR)\pgsleep.obj"
+ -@erase "$(INTDIR)\open.obj"
+ -@erase "$(INTDIR)\win32error.obj"
-@erase "$(OUTDIR)\$(OUTFILENAME).lib"
-@erase "$(OUTDIR)\$(OUTFILENAME)dll.lib"
-@erase "$(OUTDIR)\libpq.res"
@@ -134,6 +139,11 @@ LIB32_OBJS= \
"$(INTDIR)\encnames.obj" \
"$(INTDIR)\snprintf.obj" \
"$(INTDIR)\strlcpy.obj" \
+ "$(INTDIR)\dirent.obj" \
+ "$(INTDIR)\dirmod.obj" \
+ "$(INTDIR)\pgsleep.obj" \
+ "$(INTDIR)\open.obj" \
+ "$(INTDIR)\win32error.obj" \
"$(INTDIR)\pthread-win32.obj"
@@ -238,7 +248,32 @@ LINK32_FLAGS = -Gn -L$(BCB)\lib;$(INTDIR); -x -Tpd -v
"$(INTDIR)\strlcpy.obj" : ..\..\port\strlcpy.c
$(CPP) @<<
- $(CPP_PROJ) ..\..\port\strlcpy.c
+ $(CPP_PROJ) /I"." ..\..\port\strlcpy.c
+<<
+
+"$(INTDIR)\dirent.obj" : ..\..\port\dirent.c
+ $(CPP) @<<
+ $(CPP_PROJ) /I"." ..\..\port\dirent.c
+<<
+
+"$(INTDIR)\dirmod.obj" : ..\..\port\dirmod.c
+ $(CPP) @<<
+ $(CPP_PROJ) /I"." ..\..\port\dirmod.c
+<<
+
+"$(INTDIR)\pgsleep.obj" : ..\..\port\pgsleep.c
+ $(CPP) @<<
+ $(CPP_PROJ) /I"." ..\..\port\pgsleep.c
+<<
+
+"$(INTDIR)\open.obj" : ..\..\port\open.c
+ $(CPP) @<<
+ $(CPP_PROJ) /I"." ..\..\port\open.c
+<<
+
+"$(INTDIR)\win32error.obj" : ..\..\port\win32error.c
+ $(CPP) @<<
+ $(CPP_PROJ) /I"." ..\..\port\win32error.c
<<