Commit 7b8e10f2 authored by Bruce Momjian's avatar Bruce Momjian

Allow bcc32 and win32 batch files to compile libpq.

Backpatch to 9.1.

By Hiroshi Saito
parent 3ced32d2
...@@ -80,6 +80,8 @@ CLEAN : ...@@ -80,6 +80,8 @@ CLEAN :
-@erase "$(INTDIR)\inet_aton.obj" -@erase "$(INTDIR)\inet_aton.obj"
-@erase "$(INTDIR)\crypt.obj" -@erase "$(INTDIR)\crypt.obj"
-@erase "$(INTDIR)\noblock.obj" -@erase "$(INTDIR)\noblock.obj"
-@erase "$(INTDIR)\chklocale.obj"
-@erase "$(INTDIR)\inet_net_ntop.obj"
-@erase "$(INTDIR)\md5.obj" -@erase "$(INTDIR)\md5.obj"
-@erase "$(INTDIR)\ip.obj" -@erase "$(INTDIR)\ip.obj"
-@erase "$(INTDIR)\fe-auth.obj" -@erase "$(INTDIR)\fe-auth.obj"
...@@ -123,6 +125,8 @@ LIB32_OBJS= \ ...@@ -123,6 +125,8 @@ LIB32_OBJS= \
"$(INTDIR)\inet_aton.obj" \ "$(INTDIR)\inet_aton.obj" \
"$(INTDIR)\crypt.obj" \ "$(INTDIR)\crypt.obj" \
"$(INTDIR)\noblock.obj" \ "$(INTDIR)\noblock.obj" \
"$(INTDIR)\chklocale.obj" \
"$(INTDIR)\inet_net_ntop.obj" \
"$(INTDIR)\md5.obj" \ "$(INTDIR)\md5.obj" \
"$(INTDIR)\ip.obj" \ "$(INTDIR)\ip.obj" \
"$(INTDIR)\fe-auth.obj" \ "$(INTDIR)\fe-auth.obj" \
...@@ -222,6 +226,16 @@ LINK32_FLAGS = -Gn -L$(BCB)\lib;$(INTDIR); -x -Tpd -v ...@@ -222,6 +226,16 @@ LINK32_FLAGS = -Gn -L$(BCB)\lib;$(INTDIR); -x -Tpd -v
$(CPP_PROJ) ..\..\port\noblock.c $(CPP_PROJ) ..\..\port\noblock.c
<< <<
"$(INTDIR)\chklocale.obj" : ..\..\port\chklocale.c
$(CPP) @<<
$(CPP_PROJ) ..\..\port\chklocale.c
<<
"$(INTDIR)\inet_net_ntop.obj" : ..\..\port\inet_net_ntop.c
$(CPP) @<<
$(CPP_PROJ) ..\..\port\inet_net_ntop.c
<<
"$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c "$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c
$(CPP) @<< $(CPP) @<<
$(CPP_PROJ) ..\..\backend\libpq\md5.c $(CPP_PROJ) ..\..\backend\libpq\md5.c
......
...@@ -87,6 +87,8 @@ CLEAN : ...@@ -87,6 +87,8 @@ CLEAN :
-@erase "$(INTDIR)\inet_aton.obj" -@erase "$(INTDIR)\inet_aton.obj"
-@erase "$(INTDIR)\crypt.obj" -@erase "$(INTDIR)\crypt.obj"
-@erase "$(INTDIR)\noblock.obj" -@erase "$(INTDIR)\noblock.obj"
-@erase "$(INTDIR)\chklocale.obj"
-@erase "$(INTDIR)\inet_net_ntop.obj"
-@erase "$(INTDIR)\md5.obj" -@erase "$(INTDIR)\md5.obj"
-@erase "$(INTDIR)\ip.obj" -@erase "$(INTDIR)\ip.obj"
-@erase "$(INTDIR)\fe-auth.obj" -@erase "$(INTDIR)\fe-auth.obj"
...@@ -132,6 +134,8 @@ LIB32_OBJS= \ ...@@ -132,6 +134,8 @@ LIB32_OBJS= \
"$(INTDIR)\inet_aton.obj" \ "$(INTDIR)\inet_aton.obj" \
"$(INTDIR)\crypt.obj" \ "$(INTDIR)\crypt.obj" \
"$(INTDIR)\noblock.obj" \ "$(INTDIR)\noblock.obj" \
"$(INTDIR)\chklocale.obj" \
"$(INTDIR)\inet_net_ntop.obj" \
"$(INTDIR)\md5.obj" \ "$(INTDIR)\md5.obj" \
"$(INTDIR)\ip.obj" \ "$(INTDIR)\ip.obj" \
"$(INTDIR)\fe-auth.obj" \ "$(INTDIR)\fe-auth.obj" \
...@@ -260,6 +264,16 @@ LINK32_OBJS= \ ...@@ -260,6 +264,16 @@ LINK32_OBJS= \
$(CPP_PROJ) ..\..\port\noblock.c $(CPP_PROJ) ..\..\port\noblock.c
<< <<
"$(INTDIR)\chklocale.obj" : ..\..\port\chklocale.c
$(CPP) @<<
$(CPP_PROJ) ..\..\port\chklocale.c
<<
"$(INTDIR)\inet_net_ntop.obj" : ..\..\port\inet_net_ntop.c
$(CPP) @<<
$(CPP_PROJ) ..\..\port\inet_net_ntop.c
<<
"$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c "$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c
$(CPP) @<< $(CPP) @<<
$(CPP_PROJ) ..\..\backend\libpq\md5.c $(CPP_PROJ) ..\..\backend\libpq\md5.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment