4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync## @file
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Windows makefile for C tools build.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync#
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# This program and the accompanying materials
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# are licensed and made available under the terms and conditions of the BSD License
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# which accompanies this distribution. The full text of the license may be found at
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# http://opensource.org/licenses/bsd-license.php
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync#
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync#
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncARCH = IA32
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync!INCLUDE Makefiles\ms.common
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncLIBRARIES = Common
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncAPPLICATIONS = \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync BootSectImage \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync EfiLdrImage \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync EfiRom \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenBootSector \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenCrc32 \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenFfs \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenFv \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenFw \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenPage \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenSec \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync GenVtf \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync LzmaCompress \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync Split \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync TianoCompress \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync VolInfo \
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync VfrCompile
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncall: libs apps install
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsynclibs: $(LIBRARIES)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo ######################
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo # Build libraries
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo ######################
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @if not exist $(LIB_PATH) mkdir $(LIB_PATH)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @Makefiles\NmakeSubdirs.bat all $**
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncapps: $(APPLICATIONS)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo ######################
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo # Build executables
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo ######################
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @if not exist $(BIN_PATH) mkdir $(BIN_PATH)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @Makefiles\NmakeSubdirs.bat all $**
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncinstall: $(LIB_PATH) $(BIN_PATH)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo ######################
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo # Install to $(SYS_LIB_PATH)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo # Install to $(SYS_BIN_PATH)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @echo ######################
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @-xcopy $(LIB_PATH)\*.lib $(SYS_LIB_PATH) /I /D /E /F /Y > NUL 2>&1
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @-xcopy $(BIN_PATH)\*.exe $(SYS_BIN_PATH) /I /D /E /F /Y > NUL 2>&1
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @-xcopy $(BIN_PATH)\*.bat $(SYS_BIN_PATH) /I /D /E /F /Y > NUL 2>&1
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync.PHONY: clean
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncclean:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @Makefiles\NmakeSubdirs.bat clean $(LIBRARIES) $(APPLICATIONS)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync.PHONY: cleanall
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsynccleanall:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @Makefiles\NmakeSubdirs.bat cleanall $(LIBRARIES) $(APPLICATIONS)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync @del /f /q $(BIN_PATH)\*.pdb $(BIN_PATH)\*.ilk
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync!INCLUDE Makefiles\ms.rule
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync