Allow bcc32 and win32 batch files to compile libpq.

Backpatch to 9.1.

By Hiroshi Saito
This commit is contained in:
Bruce Momjian 2011-09-07 15:43:50 -04:00
parent 3ced32d24e
commit 7b8e10f2be
2 changed files with 28 additions and 0 deletions

View File

@ -80,6 +80,8 @@ CLEAN :
-@erase "$(INTDIR)\inet_aton.obj"
-@erase "$(INTDIR)\crypt.obj"
-@erase "$(INTDIR)\noblock.obj"
-@erase "$(INTDIR)\chklocale.obj"
-@erase "$(INTDIR)\inet_net_ntop.obj"
-@erase "$(INTDIR)\md5.obj"
-@erase "$(INTDIR)\ip.obj"
-@erase "$(INTDIR)\fe-auth.obj"
@ -123,6 +125,8 @@ LIB32_OBJS= \
"$(INTDIR)\inet_aton.obj" \
"$(INTDIR)\crypt.obj" \
"$(INTDIR)\noblock.obj" \
"$(INTDIR)\chklocale.obj" \
"$(INTDIR)\inet_net_ntop.obj" \
"$(INTDIR)\md5.obj" \
"$(INTDIR)\ip.obj" \
"$(INTDIR)\fe-auth.obj" \
@ -222,6 +226,16 @@ LINK32_FLAGS = -Gn -L$(BCB)\lib;$(INTDIR); -x -Tpd -v
$(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
$(CPP) @<<
$(CPP_PROJ) ..\..\backend\libpq\md5.c

View File

@ -87,6 +87,8 @@ CLEAN :
-@erase "$(INTDIR)\inet_aton.obj"
-@erase "$(INTDIR)\crypt.obj"
-@erase "$(INTDIR)\noblock.obj"
-@erase "$(INTDIR)\chklocale.obj"
-@erase "$(INTDIR)\inet_net_ntop.obj"
-@erase "$(INTDIR)\md5.obj"
-@erase "$(INTDIR)\ip.obj"
-@erase "$(INTDIR)\fe-auth.obj"
@ -132,6 +134,8 @@ LIB32_OBJS= \
"$(INTDIR)\inet_aton.obj" \
"$(INTDIR)\crypt.obj" \
"$(INTDIR)\noblock.obj" \
"$(INTDIR)\chklocale.obj" \
"$(INTDIR)\inet_net_ntop.obj" \
"$(INTDIR)\md5.obj" \
"$(INTDIR)\ip.obj" \
"$(INTDIR)\fe-auth.obj" \
@ -260,6 +264,16 @@ LINK32_OBJS= \
$(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
$(CPP) @<<
$(CPP_PROJ) ..\..\backend\libpq\md5.c