mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:03:02 +01:00
Updated win32 build.
This commit is contained in:
parent
110c140079
commit
ebb101faaf
4
builds/win32/build_msg.bat
Normal file
4
builds/win32/build_msg.bat
Normal file
@ -0,0 +1,4 @@
|
||||
@nmake /f build_msg.mak
|
||||
@build_msg
|
||||
@nmake /f codes.mak
|
||||
@codes ..\..\src\include\gen
|
87
builds/win32/build_msg.mak
Normal file
87
builds/win32/build_msg.mak
Normal file
@ -0,0 +1,87 @@
|
||||
|
||||
NULL=
|
||||
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
OUTDIR=.\temp
|
||||
INTDIR=.\temp
|
||||
|
||||
ALL : ".\build_msg.exe"
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\build_file.obj"
|
||||
-@erase "$(INTDIR)\fb_exception.obj"
|
||||
-@erase "$(INTDIR)\vc60.idb"
|
||||
-@erase "$(INTDIR)\version.res"
|
||||
-@erase ".\build_msg.exe"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
CPP_PROJ=/nologo /MD /W3 /GX /Ot /Og /Oi /Op /Oy /Ob1 /I "../../src/include" /I "../../src/include/gen" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "SUPERCLIENT" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /EHc- /c
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\build_msg.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib comctl32.lib advapi32.lib ws2_32.lib mpr.lib version.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\build_msg.pdb" /machine:I386 /out:"./build_msg.exe" /pdbtype:sept
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\fb_exception.obj" \
|
||||
"$(INTDIR)\version.res" \
|
||||
"$(INTDIR)\build_file.obj" \
|
||||
".\temp\fbclient.lib"
|
||||
|
||||
".\build_msg.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
RSC_PROJ=/l 0x41d /fo"$(INTDIR)\version.res" /d "NDEBUG"
|
||||
|
||||
SOURCE=..\..\generated\msgs\build_file.cpp
|
||||
|
||||
"$(INTDIR)\build_file.obj" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
SOURCE=..\..\src\common\fb_exception.cpp
|
||||
|
||||
"$(INTDIR)\fb_exception.obj" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
SOURCE=..\..\src\jrd\version.rc
|
||||
|
||||
"$(INTDIR)\version.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) /l 0x41d /fo"$(INTDIR)\version.res" /i "\Firebird\firebird_15\src\jrd" /d "NDEBUG" $(SOURCE)
|
87
builds/win32/codes.mak
Normal file
87
builds/win32/codes.mak
Normal file
@ -0,0 +1,87 @@
|
||||
|
||||
NULL=
|
||||
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
OUTDIR=.\temp
|
||||
INTDIR=.\temp
|
||||
|
||||
ALL : ".\codes.exe"
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\codes.obj"
|
||||
-@erase "$(INTDIR)\fb_exception.obj"
|
||||
-@erase "$(INTDIR)\vc60.idb"
|
||||
-@erase "$(INTDIR)\version.res"
|
||||
-@erase ".\codes.exe"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
CPP_PROJ=/nologo /MD /W3 /GX /Ot /Og /Oi /Op /Oy /Ob1 /I "../../src/include" /I "../../src/include/gen" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "SUPERCLIENT" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /EHc- /c
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\codes.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib comctl32.lib advapi32.lib ws2_32.lib mpr.lib version.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\codes.pdb" /machine:I386 /out:"./codes.exe" /pdbtype:sept
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\fb_exception.obj" \
|
||||
"$(INTDIR)\version.res" \
|
||||
"$(INTDIR)\codes.obj" \
|
||||
".\temp\fbclient.lib"
|
||||
|
||||
".\codes.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
RSC_PROJ=/l 0x41d /fo"$(INTDIR)\version.res" /d "NDEBUG"
|
||||
|
||||
SOURCE=..\..\generated\jrd\codes.cpp
|
||||
|
||||
"$(INTDIR)\codes.obj" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
SOURCE=..\..\src\common\fb_exception.cpp
|
||||
|
||||
"$(INTDIR)\fb_exception.obj" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
SOURCE=..\..\src\jrd\version.rc
|
||||
|
||||
"$(INTDIR)\version.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) /l 0x41d /fo"$(INTDIR)\version.res" /i "\Firebird\firebird_15\src\jrd" /d "NDEBUG" $(SOURCE)
|
@ -17,7 +17,7 @@
|
||||
@del expand.sed
|
||||
@call :SED yachts.lnk %1 metadata.fdb
|
||||
@call :SED ODS.RDB %1 jrd/security.fdb
|
||||
@call :SED msg.gdb %1 msgs/msg.fdb
|
||||
@call :SED msg.fdb %1 msgs/msg.fdb
|
||||
@call :SED master_msg_db %1 msgs/msg.fdb
|
||||
@call :SED yachts.link %1 jrd/security.fdb
|
||||
@call :SED master_help_db %1 qli/help.fdb
|
||||
@ -27,7 +27,7 @@
|
||||
@call :SED isc4.gdb %1 jrd/security.fdb
|
||||
@call :SED security.fdb %1 jrd/security.fdb
|
||||
@call :SED empbuild.gdb %1 example5/employee.fdb
|
||||
@call :SED source/msgs/msg.gdb %1 msgs/msg.fdb
|
||||
@call :SED source/msgs/msg.fdb %1 msgs/msg.fdb
|
||||
@goto :END
|
||||
|
||||
::===========
|
||||
|
@ -75,6 +75,8 @@ goto :EOF
|
||||
@for %%i in (gpre_meta) do @call :PREPROCESS gpre %%i
|
||||
@for %%i in (extract, isql, show) do @call :PREPROCESS isql %%i
|
||||
@for %%i in (dfw, dpm, dyn, dyn_def, dyn_del, dyn_mod, dyn_util, envelope, fun, grant, ini, met, pcmet, scl, stats) do @call :PREPROCESS jrd %%i GDS
|
||||
@for %%i in (codes) do @call :PREPROCESS jrd %%i
|
||||
@for %%i in (build_file) do @call :PREPROCESS msgs %%i
|
||||
@for %%i in (help, meta, proc, show) do @call :PREPROCESS qli %%i
|
||||
@for %%i in (dba, security) do @call :PREPROCESS utilities %%i
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user