Windows: Use EXEPREP and DLLPREP macros for processing binaries

Once DLLs and EXEs are built, they need to have their manifests
processed and signed.  These steps are encapsulated in the EXEPREP and
DLLPREP Makefile macros.  Use them instead of invoking each processing
macro individually.
This commit is contained in:
Asanka Herath
2010-06-10 13:15:36 -04:00
parent 0d09c879f3
commit ea4d8dbfdb
15 changed files with 56 additions and 133 deletions

View File

@@ -52,17 +52,13 @@ $(COMERRDLL): $(libcomerr_OBJs) $(OBJ)\libcom_err-version.res
$(DLLGUILINK_C) -out:$(COMERRDLL) -implib:$(LIBCOMERR) $** \
$(LIBROKEN) \
-def:libcom_err-exports.def
$(_VC_MANIFEST_EMBED_DLL)
$(_VC_MANIFEST_CLEAN)
$(_CODESIGN)
$(DLLPREP)
!endif
$(BINDIR)\compile_et.exe: $(OBJ)\parse.obj $(OBJ)\lex.obj $(OBJ)\compile_et.obj
$(EXECONLINK) $(LIBROKEN) $(LIBVERS)
$(_VC_MANIFEST_EMBED_EXE)
$(_VC_MANIFEST_CLEAN)
$(_CODESIGN)
$(EXEPREP)
$(OBJ)\parse.obj: $(OBJ)\parse.c
$(C2OBJ) -I$(SRC)\$(RELDIR)