From c69f724df0f9e53b2c29f10e1eae3c784749e8da Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 4 Mar 2010 11:57:31 +0000 Subject: Sync EDKII BaseTools to BaseTools project r1913. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10193 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/C/GenFw/GNUmakefile | 48 ++++++++++++++++++++++-------------- BaseTools/Source/C/GenFw/Makefile | 36 ++++++++++++++++++--------- 2 files changed, 54 insertions(+), 30 deletions(-) (limited to 'BaseTools/Source/C/GenFw') diff --git a/BaseTools/Source/C/GenFw/GNUmakefile b/BaseTools/Source/C/GenFw/GNUmakefile index decae9e9ba..25228eb5bb 100644 --- a/BaseTools/Source/C/GenFw/GNUmakefile +++ b/BaseTools/Source/C/GenFw/GNUmakefile @@ -1,18 +1,30 @@ -ARCH ?= IA32 -MAKEROOT ?= .. - -APPNAME = GenFw - -OBJECTS = GenFw.o - -include $(MAKEROOT)/Makefiles/app.makefile - -LIBS = -lCommon -ifeq ($(CYGWIN), CYGWIN) - LIBS += -L/lib/e2fsprogs -luuid -endif - -ifeq ($(LINUX), Linux) - LIBS += -luuid -endif - +## @file +# Windows makefile for 'GenFw' module build. +# +# Copyright (c) 2009 - 2010, Intel Corporation
+# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +ARCH ?= IA32 +MAKEROOT ?= .. + +APPNAME = GenFw + +OBJECTS = GenFw.o + +include $(MAKEROOT)/Makefiles/app.makefile + +LIBS = -lCommon +ifeq ($(CYGWIN), CYGWIN) + LIBS += -L/lib/e2fsprogs -luuid +endif + +ifeq ($(LINUX), Linux) + LIBS += -luuid +endif + diff --git a/BaseTools/Source/C/GenFw/Makefile b/BaseTools/Source/C/GenFw/Makefile index 35adfb1386..b9c40fce5a 100644 --- a/BaseTools/Source/C/GenFw/Makefile +++ b/BaseTools/Source/C/GenFw/Makefile @@ -1,12 +1,24 @@ -!INCLUDE ..\Makefiles\ms.common - -APPNAME = GenFw - -LIBS = $(LIB_PATH)\Common.lib - -OBJECTS = GenFw.obj - -#CFLAGS = $(CFLAGS) /nodefaultlib:libc.lib - -!INCLUDE ..\Makefiles\ms.app - +## @file +# Windows makefile for 'GenFw' module build. +# +# Copyright (c) 2009 - 2010, Intel Corporation
+# All rights reserved. This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# +!INCLUDE ..\Makefiles\ms.common + +APPNAME = GenFw + +LIBS = $(LIB_PATH)\Common.lib + +OBJECTS = GenFw.obj + +#CFLAGS = $(CFLAGS) /nodefaultlib:libc.lib + +!INCLUDE ..\Makefiles\ms.app + -- cgit v1.2.3