separate exe files, unified packages for standard and portable, stage 1
This commit is contained in:
parent
397dc8e6eb
commit
4cd93deec6
|
@ -6,6 +6,12 @@ set PATH=c:\WinDDK\7600.16385.1\bin\x86\amd64;c:\WinDDK\7600.16385.1\bin\x86;c:\
|
||||||
cd ..\src
|
cd ..\src
|
||||||
nmake -f makefile.mak clean
|
nmake -f makefile.mak clean
|
||||||
nmake -f makefile.mak
|
nmake -f makefile.mak
|
||||||
|
echo.Enable portable build and press return
|
||||||
|
pause
|
||||||
|
move fe-gtk\xchat.exe fe-gtk\xchat.exe.orig
|
||||||
|
nmake -f makefile.mak clean
|
||||||
|
nmake -f makefile.mak
|
||||||
|
move fe-gtk\xchat.exe.orig fe-gtk\xchat.exe
|
||||||
cd ..\plugins\ewc
|
cd ..\plugins\ewc
|
||||||
nmake -f makefile.mak clean
|
nmake -f makefile.mak clean
|
||||||
nmake -f makefile.mak
|
nmake -f makefile.mak
|
||||||
|
|
|
@ -6,6 +6,12 @@ set PATH=c:\WinDDK\7600.16385.1\bin\x86\x86;c:\WinDDK\7600.16385.1\bin\x86;c:\Pr
|
||||||
cd ..\src
|
cd ..\src
|
||||||
nmake -f makefile.mak clean
|
nmake -f makefile.mak clean
|
||||||
nmake -f makefile.mak
|
nmake -f makefile.mak
|
||||||
|
echo.Enable portable build and press return
|
||||||
|
pause
|
||||||
|
move fe-gtk\xchat.exe fe-gtk\xchat.exe.orig
|
||||||
|
nmake -f makefile.mak clean
|
||||||
|
nmake -f makefile.mak
|
||||||
|
move fe-gtk\xchat.exe.orig fe-gtk\xchat.exe
|
||||||
cd ..\plugins\ewc
|
cd ..\plugins\ewc
|
||||||
nmake -f makefile.mak clean
|
nmake -f makefile.mak clean
|
||||||
nmake -f makefile.mak
|
nmake -f makefile.mak
|
||||||
|
|
|
@ -6,6 +6,7 @@ set XCHAT_DEST=c:\mozilla-build\build\xchat-wdk-x64
|
||||||
rmdir /Q /S %XCHAT_DEST%
|
rmdir /Q /S %XCHAT_DEST%
|
||||||
mkdir %XCHAT_DEST%
|
mkdir %XCHAT_DEST%
|
||||||
xcopy ..\src\fe-gtk\xchat.exe %XCHAT_DEST%
|
xcopy ..\src\fe-gtk\xchat.exe %XCHAT_DEST%
|
||||||
|
xcopy ..\src\fe-gtk\xchat-portable.exe %XCHAT_DEST%
|
||||||
xcopy %GTK_BIN%\libgtk-win32-2.0-0.dll %XCHAT_DEST%
|
xcopy %GTK_BIN%\libgtk-win32-2.0-0.dll %XCHAT_DEST%
|
||||||
xcopy %GTK_BIN%\libgdk_pixbuf-2.0-0.dll %XCHAT_DEST%
|
xcopy %GTK_BIN%\libgdk_pixbuf-2.0-0.dll %XCHAT_DEST%
|
||||||
xcopy %GTK_BIN%\libgio-2.0-0.dll %XCHAT_DEST%
|
xcopy %GTK_BIN%\libgio-2.0-0.dll %XCHAT_DEST%
|
||||||
|
|
|
@ -6,6 +6,7 @@ set XCHAT_DEST=c:\mozilla-build\build\xchat-wdk-x86
|
||||||
rmdir /Q /S %XCHAT_DEST%
|
rmdir /Q /S %XCHAT_DEST%
|
||||||
mkdir %XCHAT_DEST%
|
mkdir %XCHAT_DEST%
|
||||||
xcopy ..\src\fe-gtk\xchat.exe %XCHAT_DEST%
|
xcopy ..\src\fe-gtk\xchat.exe %XCHAT_DEST%
|
||||||
|
xcopy ..\src\fe-gtk\xchat-portable.exe %XCHAT_DEST%
|
||||||
xcopy %GTK_BIN%\libgtk-win32-2.0-0.dll %XCHAT_DEST%
|
xcopy %GTK_BIN%\libgtk-win32-2.0-0.dll %XCHAT_DEST%
|
||||||
xcopy %GTK_BIN%\libgdk_pixbuf-2.0-0.dll %XCHAT_DEST%
|
xcopy %GTK_BIN%\libgdk_pixbuf-2.0-0.dll %XCHAT_DEST%
|
||||||
xcopy %GTK_BIN%\libgio-2.0-0.dll %XCHAT_DEST%
|
xcopy %GTK_BIN%\libgio-2.0-0.dll %XCHAT_DEST%
|
||||||
|
|
|
@ -7,7 +7,11 @@ MACHINE_FLAG = /MACHINE:X86
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
COMLIB = ..\common\xchatcommon.lib
|
COMLIB = ..\common\xchatcommon.lib
|
||||||
|
!ifdef PORTABLE
|
||||||
|
PROG = xchat-portable.exe
|
||||||
|
!else
|
||||||
PROG = xchat.exe
|
PROG = xchat.exe
|
||||||
|
!endif
|
||||||
|
|
||||||
all: $(PROG)
|
all: $(PROG)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue