]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Makefiles/ms.app
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / ms.app
index 7812175e7f87f209c11e522ae7ecd1fc7018ac25..aecae373965a5ed4e887c9ef3f02f92a270425b4 100644 (file)
@@ -1,34 +1,28 @@
 ## @file\r
+# Makefile\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.    The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
+# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-!INCLUDE ..\Makefiles\ms.common
-
-APPLICATION = $(BIN_PATH)\$(APPNAME).exe
-
-all: $(APPLICATION) 
-
-$(APPLICATION) : $(OBJECTS) 
-       -@if not exist $(BIN_PATH) mkdir $(BIN_PATH)
-       $(LD) /nologo /debug /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $**
-
-$(OBJECTS) : ..\Include\Common\BuildVersion.h\r
-\r
-.PHONY:clean
-.PHONY:cleanall
-
-clean:
-       del /f /q $(OBJECTS) *.pdb > nul
-
-cleanall:
-       del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\*.pdb > nul
-
-!INCLUDE ..\Makefiles\ms.rule
-
+\r
+APPLICATION = $(BIN_PATH)\$(APPNAME).exe\r
+\r
+all: $(APPLICATION) \r
+\r
+$(APPLICATION) : $(OBJECTS) \r
+       -@if not exist $(BIN_PATH) mkdir $(BIN_PATH)\r
+       $(LD) /nologo /debug /OPT:REF /OPT:ICF=10 /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $**\r
+\r
+$(OBJECTS) : $(SOURCE_PATH)\Include\Common\BuildVersion.h\r
+\r
+.PHONY:clean\r
+.PHONY:cleanall\r
+\r
+clean:\r
+       del /f /q $(OBJECTS) *.pdb > nul\r
+\r
+cleanall:\r
+       del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\$(APPNAME).pdb > nul\r
+\r
+!INCLUDE $(SOURCE_PATH)\Makefiles\ms.rule\r
+\r