git-svn-id: https://svn.microneil.com/svn/PKG-SNF-SDK-WIN/trunk@19 7d91e7c8-5a61-404e-b06a-95855fde9112master
set CXX=c++ | set CXX=c++ | ||||
set LIB=c:\MinGW\lib\libws2_32.a -loleaut32 | set LIB=c:\MinGW\lib\libws2_32.a -loleaut32 | ||||
set LDFLAGS=-Wl,--output-def=snfmulti.def -Wl,--out-implib=libsnfmulti.a -Wl,-dll | set LDFLAGS=-Wl,--output-def=snfmulti.def -Wl,--out-implib=libsnfmulti.a -Wl,-dll | ||||
%CXX% -shared -o snfmulti.dll %LDFLAGS% snfmultidll.o FilterChain.o GBUdb.o mangler.o scanner.o snfCFGmgr.o snf_engine.o snfGBUdbmgr.o snf_HeaderFinder.o snfLOGmgr.o SNFMulti.o snfNETmgr.o snf_sync.o snf_xci.o snfXCImgr.o base64codec.o configuration.o networking.o threading.o timing.o %LIB% | |||||
%CXX% -shared -o snfmulti.dll %LDFLAGS% snfmultidll.o snf_saccades.o FilterChain.o GBUdb.o mangler.o scanner.o snfCFGmgr.o snf_engine.o snfGBUdbmgr.o snf_HeaderFinder.o snfLOGmgr.o SNFMulti.o snfNETmgr.o snf_sync.o snf_xci.o snfXCImgr.o base64codec.o configuration.o networking.o threading.o timing.o %LIB% |
setlocal | setlocal | ||||
set path=c:\MinGW\bin;%path% | set path=c:\MinGW\bin;%path% | ||||
set CXX=c++ | set CXX=c++ | ||||
set CXXFLAGS=-I../CodeDweller -I../SNFMulti -mthreads -O3 | |||||
set CXXFLAGS=-I../CodeDweller -I../SNFMulti -mthreads -O3 -m32 | |||||
del *.o | del *.o | ||||
%CXX% %CXXFLAGS% -c ../SNFMulti/snf_saccades.cpp -o snf_saccades.o | |||||
%CXX% %CXXFLAGS% -c ../SNFMulti/FilterChain.cpp -o FilterChain.o | %CXX% %CXXFLAGS% -c ../SNFMulti/FilterChain.cpp -o FilterChain.o | ||||
%CXX% %CXXFLAGS% -c ../SNFMulti/GBUdb.cpp -o GBUdb.o | %CXX% %CXXFLAGS% -c ../SNFMulti/GBUdb.cpp -o GBUdb.o | ||||
%CXX% %CXXFLAGS% -c ../SNFMulti/scanner.cpp -o scanner.o | %CXX% %CXXFLAGS% -c ../SNFMulti/scanner.cpp -o scanner.o |
set CXX=x86_64-pc-mingw32-c++ | set CXX=x86_64-pc-mingw32-c++ | ||||
set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a -loleaut32 | set LIB=c:\MinGW-64\x86_64-pc-mingw32\lib64\libws2_32.a -loleaut32 | ||||
set LDFLAGS=-Wl,--output-def=snfmulti.def -Wl,--out-implib=libsnfmulti.a -Wl,-dll | set LDFLAGS=-Wl,--output-def=snfmulti.def -Wl,--out-implib=libsnfmulti.a -Wl,-dll | ||||
%CXX% -shared -o snfmulti.dll %LDFLAGS% snfmultidll.o FilterChain.o GBUdb.o mangler.o scanner.o snfCFGmgr.o snf_engine.o snfGBUdbmgr.o snf_HeaderFinder.o snfLOGmgr.o SNFMulti.o snfNETmgr.o snf_sync.o snf_xci.o snfXCImgr.o base64codec.o configuration.o networking.o threading.o timing.o %LIB% | |||||
%CXX% -shared -o snfmulti.dll %LDFLAGS% snfmultidll.o snf_saccades.o FilterChain.o GBUdb.o mangler.o scanner.o snfCFGmgr.o snf_engine.o snfGBUdbmgr.o snf_HeaderFinder.o snfLOGmgr.o SNFMulti.o snfNETmgr.o snf_sync.o snf_xci.o snfXCImgr.o base64codec.o configuration.o networking.o threading.o timing.o %LIB% |
REM set CXX=c++ | REM set CXX=c++ | ||||
set CXXFLAGS=-I../CodeDweller -I../SNFMulti -mthreads -O3 | set CXXFLAGS=-I../CodeDweller -I../SNFMulti -mthreads -O3 | ||||
del *.o | del *.o | ||||
%CXX% %CXXFLAGS% -c ../SNFMulti/snf_saccades.cpp -o snf_saccades.o | |||||
%CXX% %CXXFLAGS% -c ../SNFMulti/FilterChain.cpp -o FilterChain.o | %CXX% %CXXFLAGS% -c ../SNFMulti/FilterChain.cpp -o FilterChain.o | ||||
%CXX% %CXXFLAGS% -c ../SNFMulti/GBUdb.cpp -o GBUdb.o | %CXX% %CXXFLAGS% -c ../SNFMulti/GBUdb.cpp -o GBUdb.o | ||||
%CXX% %CXXFLAGS% -c ../SNFMulti/scanner.cpp -o scanner.o | %CXX% %CXXFLAGS% -c ../SNFMulti/scanner.cpp -o scanner.o |