-#/*++\r
-# \r
-# Copyright (c) 2001 Intel Corporation. All rights reserved.\r
-#\r
-# This software and associated documentation (if any) is furnished under \r
-# a license and may only be used or copied in accordance with the terms \r
-# of the license. Except as permitted by such license, no part of this \r
-# software or documentation may be reproduced, stored in a retrieval \r
-# system, or transmitted in any form or by any means without the express \r
-# written consent of Intel Corporation.\r
-# \r
-# Module Name: makefile\r
-# \r
-# Abstract:\r
-# \r
-# This file is used to build the EFI utility.\r
-# \r
-#--*/\r
-\r
-#\r
-# Do this if you want to compile from this directory\r
-#\r
-!IFNDEF TOOLCHAIN\r
-TOOLCHAIN = TOOLCHAIN_MSVC\r
-!ENDIF\r
-\r
-!INCLUDE PlatformTools.env\r
-\r
-#\r
-# Define some macros we use here. Should get rid of them someday and \r
-# get rid of the extra level of indirection.\r
-#\r
-COMMON_SOURCE = $(EDK_TOOLS_COMMON)\r
-\r
-#\r
-# BUGBUG: Override standard flags, cannot be built without warnings.\r
-#\r
-\r
-C_FLAGS=/nologo /W4 /GX /Zi /Od /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /c \r
-\r
-#\r
-# Common information\r
-#\r
-\r
-INC=$(INC)\r
-\r
-#\r
-# Target specific information\r
-#\r
-\r
-TARGET_NAME=EfiCompress\r
-TARGET_SOURCE_DIR = $(TIANO_TOOLS_SOURCE)\$(TARGET_NAME)\r
-\r
-TARGET_EXE = $(TIANO_TOOLS_OUTPUT)\$(TARGET_NAME).exe\r
-\r
-TARGET_EXE_SOURCE = "$(TARGET_SOURCE_DIR)\EfiCompressMain.c"\r
-TARGET_EXE_INCLUDE = "$(COMMON_SOURCE)\EfiCompress.h"\r
-TARGET_EXE_LIBS = "$(TIANO_TOOLS_OUTPUT)\Common.lib"\r
-\r
-#\r
-# Build targets\r
-#\r
-\r
-all: $(TARGET_EXE)\r
-\r
-#\r
-# Build EXE\r
-#\r
-\r
-$(TIANO_TOOLS_OUTPUT)\EfiCompressMain.obj: $(TARGET_EXE_SOURCE) $(TARGET_EXE_INCLUDE)\r
- $(CC) $(C_FLAGS) $(INC) $(TARGET_EXE_SOURCE) /Fo$(TIANO_TOOLS_OUTPUT)\EfiCompressMain.obj\r
-\r
-$(TARGET_EXE): $(TIANO_TOOLS_OUTPUT)\EfiCompressMain.obj $(TARGET_EXE_LIBS) $(TARGET_DLL)\r
- $(LINK) $(MSVS_LINK_LIBPATHS) $(L_FLAGS) $(LIBS) /out:$(TARGET_EXE) $(TIANO_TOOLS_OUTPUT)\EfiCompressMain.obj $(TARGET_LIB) $(TARGET_EXE_LIBS)\r
-\r
-clean:\r
- @if exist $(TIANO_TOOLS_OUTPUT)\$(TARGET_NAME)Main.* del /q $(TIANO_TOOLS_OUTPUT)\$(TARGET_NAME)Main.* > NUL\r