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/GenSec/GNUmakefile | 48 ++++++++++++++++++++++------------- BaseTools/Source/C/GenSec/Makefile | 36 +++++++++++++++++--------- 2 files changed, 54 insertions(+), 30 deletions(-) (limited to 'BaseTools/Source/C/GenSec') diff --git a/BaseTools/Source/C/GenSec/GNUmakefile b/BaseTools/Source/C/GenSec/GNUmakefile index a3bed5d325..dd41f82868 100644 --- a/BaseTools/Source/C/GenSec/GNUmakefile +++ b/BaseTools/Source/C/GenSec/GNUmakefile @@ -1,18 +1,30 @@ -ARCH ?= IA32 -MAKEROOT ?= .. - -APPNAME = GenSec - -OBJECTS = GenSec.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 'GenSec' module build. +# +# Copyright (c) 2007 - 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 = GenSec + +OBJECTS = GenSec.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/GenSec/Makefile b/BaseTools/Source/C/GenSec/Makefile index 502735bfea..2418241e13 100644 --- a/BaseTools/Source/C/GenSec/Makefile +++ b/BaseTools/Source/C/GenSec/Makefile @@ -1,12 +1,24 @@ -!INCLUDE ..\Makefiles\ms.common - -APPNAME = GenSec - -LIBS = $(LIB_PATH)\Common.lib - -OBJECTS = GenSec.obj - -#CFLAGS = $(CFLAGS) /nodefaultlib:libc.lib - -!INCLUDE ..\Makefiles\ms.app - +## @file +# Windows makefile for 'GenSec' module build. +# +# Copyright (c) 2007 - 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 = GenSec + +LIBS = $(LIB_PATH)\Common.lib + +OBJECTS = GenSec.obj + +#CFLAGS = $(CFLAGS) /nodefaultlib:libc.lib + +!INCLUDE ..\Makefiles\ms.app + -- cgit v1.2.3