mirror of https://github.com/postgres/postgres
Properly implement "Response files" for bcc. Add URL's to describe the
feature for Win32 and bcc.
This commit is contained in:
parent
a52b4fb131
commit
61b640e35c
|
@ -139,11 +139,13 @@ pthread.h: pthread.h.win32
|
|||
copy pthread.h.win32 pthread.h
|
||||
|
||||
pg_config_paths.h: win32.mak
|
||||
echo #define SYSCONFDIR "" >pg_config_paths.h
|
||||
echo #define SYSCONFDIR "" > pg_config_paths.h
|
||||
|
||||
"$(OUTDIR)" :
|
||||
@if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
/* @&&! is a Response file, http://users.deltacomm.com/edmulroy/howto8.htm */
|
||||
|
||||
"$(OUTDIR)\blibpq.dll": "$(OUTDIR)\blibpq.lib" $(LINK32_OBJS) "$(INTDIR)\libpq.res" blibpqdll.def
|
||||
$(LINK32) @&&!
|
||||
$(LINK32_FLAGS) +
|
||||
|
@ -165,55 +167,55 @@ pg_config_paths.h: win32.mak
|
|||
|
||||
|
||||
"$(INTDIR)\getaddrinfo.obj" : ..\..\port\getaddrinfo.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\port\getaddrinfo.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\pgstrcasecmp.obj" : ..\..\port\pgstrcasecmp.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\port\pgstrcasecmp.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\thread.obj" : ..\..\port\thread.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\port\thread.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\inet_aton.obj" : ..\..\port\inet_aton.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\port\inet_aton.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\crypt.obj" : ..\..\port\crypt.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\port\crypt.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\noblock.obj" : ..\..\port\noblock.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\port\noblock.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\md5.obj" : ..\..\backend\libpq\md5.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\backend\libpq\md5.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\ip.obj" : ..\..\backend\libpq\ip.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) ..\..\backend\libpq\ip.c
|
||||
<<
|
||||
!
|
||||
|
||||
"$(INTDIR)\wchar.obj" : ..\..\backend\utils\mb\wchar.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) /I "." ..\..\backend\utils\mb\wchar.c
|
||||
<<
|
||||
!
|
||||
|
||||
|
||||
"$(INTDIR)\encnames.obj" : ..\..\backend\utils\mb\encnames.c
|
||||
$(CPP) @<<
|
||||
$(CPP) @&&!
|
||||
$(CPP_PROJ) /I "." ..\..\backend\utils\mb\encnames.c
|
||||
<<
|
||||
!
|
||||
|
||||
.c.obj:
|
||||
$(CPP) -o"$(INTDIR)\$&" $(CPP_PROJ) $<
|
||||
|
|
|
@ -87,7 +87,7 @@ pthread.h: pthread.h.win32
|
|||
copy pthread.h.win32 pthread.h
|
||||
|
||||
pg_config_paths.h: win32.mak
|
||||
echo #define SYSCONFDIR "" >pg_config_paths.h
|
||||
echo #define SYSCONFDIR "" > pg_config_paths.h
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
@ -148,6 +148,8 @@ LINK32_OBJS= \
|
|||
"$(OUTDIR)\libpq.res"
|
||||
|
||||
|
||||
/* @<< is a Response file, http://www.opussoftware.com/tutorial/TutMakefile.htm */
|
||||
|
||||
"$(OUTDIR)\$(OUTFILENAME).lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
|
||||
$(LIB32) @<<
|
||||
$(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
|
||||
|
|
Loading…
Reference in New Issue