refactoring:
- added CEXEBuild::update_exehead() and made everyone use it - renamed some variables (of the *exeheader* variety) bug fix: - uninstaller CRC-check failed if !packhdr created a non-512-bytes-aligned exehead git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3695 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
60aa307741
commit
ba8a64a806
12 changed files with 132 additions and 131 deletions
|
@ -73,7 +73,7 @@ Release-zlib/exehead_zlib.exe : $(ZLIB_OBJS) sections_script
|
|||
|
||||
ifneq ($(USE_PRECOMPILED_EXEHEADS),1)
|
||||
Release-zlib/exehead_zlib.h : Release-zlib/exehead_zlib.exe $(BIN2H)
|
||||
$(BIN2H) $< $@ zlib_header_data
|
||||
$(BIN2H) $< $@ zlib_exehead
|
||||
endif
|
||||
|
||||
Release-zlib/%.o : %.c
|
||||
|
@ -92,7 +92,7 @@ Release-bzip2/exehead_bzip2.exe : $(BZIP2_OBJS) sections_script
|
|||
|
||||
ifneq ($(USE_PRECOMPILED_EXEHEADS),1)
|
||||
Release-bzip2/exehead_bzip2.h : Release-bzip2/exehead_bzip2.exe $(BIN2H)
|
||||
$(BIN2H) $< $@ bzip2_header_data
|
||||
$(BIN2H) $< $@ bzip2_exehead
|
||||
endif
|
||||
|
||||
Release-bzip2/%.o : %.c
|
||||
|
@ -108,7 +108,7 @@ Release-lzma/exehead_lzma.exe : $(LZMA_OBJS) sections_script
|
|||
|
||||
ifneq ($(USE_PRECOMPILED_EXEHEADS),1)
|
||||
Release-lzma/exehead_lzma.h : Release-lzma/exehead_lzma.exe $(BIN2H)
|
||||
$(BIN2H) $< $@ lzma_header_data
|
||||
$(BIN2H) $< $@ lzma_exehead
|
||||
endif
|
||||
|
||||
Release-lzma/%.o : %.c
|
||||
|
|
|
@ -54,7 +54,7 @@ LINK32=link.exe
|
|||
# Begin Special Build Tool
|
||||
SOURCE="$(InputPath)"
|
||||
PostBuild_Desc=generating include file for makenssi
|
||||
PostBuild_Cmds=bin2h Release-bzip2\exehead_bzip2.exe Release-bzip2\exehead_bzip2.h bzip2_header_data
|
||||
PostBuild_Cmds=bin2h Release-bzip2\exehead_bzip2.exe Release-bzip2\exehead_bzip2.h bzip2_exehead
|
||||
# End Special Build Tool
|
||||
# Begin Target
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ LINK32=link.exe
|
|||
# Begin Special Build Tool
|
||||
SOURCE="$(InputPath)"
|
||||
PostBuild_Desc=generating include file for makenssi
|
||||
PostBuild_Cmds=bin2h Release-lzma\exehead_lzma.exe Release-lzma\exehead_lzma.h lzma_header_data
|
||||
PostBuild_Cmds=bin2h Release-lzma\exehead_lzma.exe Release-lzma\exehead_lzma.h lzma_exehead
|
||||
# End Special Build Tool
|
||||
# Begin Target
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ LINK32=link.exe
|
|||
# Begin Special Build Tool
|
||||
SOURCE="$(InputPath)"
|
||||
PostBuild_Desc=generating include file for makenssi
|
||||
PostBuild_Cmds=bin2h Release-zlib\exehead_zlib.exe Release-zlib\exehead_zlib.h zlib_header_data bin2h bitmap1.bmp Release-zlib\bitmap1.h bitmap1_data bin2h nsis.ico Release-zlib\icon.h icon_data bin2h uninst.ico Release-zlib\unicon.h unicon_data
|
||||
PostBuild_Cmds=bin2h Release-zlib\exehead_zlib.exe Release-zlib\exehead_zlib.h zlib_exehead bin2h bitmap1.bmp Release-zlib\bitmap1.h bitmap1_data bin2h nsis.ico Release-zlib\icon.h icon_data bin2h uninst.ico Release-zlib\unicon.h unicon_data
|
||||
# End Special Build Tool
|
||||
# Begin Target
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue