]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/BrotliCompress/Makefile
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / Makefile
index 9d45ea555d093b7b8a07b992a9f467273380e315..4c03b0e6df17eaa061bcaad23c239321e2e8b943 100644 (file)
@@ -1,24 +1,19 @@
 ## @file\r
 # Windows makefile for 'Brotli' module build.\r
 #\r
-# Copyright (c) 2017, 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
-#\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.\r
+# Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 !INCLUDE ..\Makefiles\ms.common\r
 \r
+INC = -I .\include $(INC)\r
 CFLAGS = $(CFLAGS) /W2\r
 \r
 APPNAME = Brotli\r
 \r
 #LIBS = $(LIB_PATH)\Common.lib\r
 \r
-COMMON_OBJ = common\dictionary.obj\r
+COMMON_OBJ = common\dictionary.obj common\transform.obj\r
 DEC_OBJ = \\r
   dec\bit_reader.obj \\r
   dec\decode.obj \\r
@@ -26,13 +21,16 @@ DEC_OBJ = \
   dec\state.obj\r
 ENC_OBJ = \\r
   enc\backward_references.obj \\r
+  enc\backward_references_hq.obj \\r
   enc\bit_cost.obj \\r
   enc\block_splitter.obj \\r
   enc\brotli_bit_stream.obj \\r
   enc\cluster.obj \\r
   enc\compress_fragment.obj \\r
   enc\compress_fragment_two_pass.obj \\r
+  enc\dictionary_hash.obj \\r
   enc\encode.obj \\r
+  enc\encoder_dict.obj \\r
   enc\entropy_encode.obj \\r
   enc\histogram.obj \\r
   enc\literal_cost.obj \\r
@@ -42,19 +40,9 @@ ENC_OBJ = \
   enc\utf8_util.obj\r
 \r
 OBJECTS = \\r
-  tools\bro.obj \\r
+  tools\brotli.obj \\r
   $(COMMON_OBJ) \\r
   $(DEC_OBJ) \\r
   $(ENC_OBJ)\r
 \r
 !INCLUDE ..\Makefiles\ms.app\r
-\r
-all: $(BIN_PATH)\BrotliCompress.bat\r
-\r
-$(BIN_PATH)\BrotliCompress.bat: BrotliCompress.bat\r
-  copy BrotliCompress.bat $(BIN_PATH)\BrotliCompress.bat /Y\r
-\r
-cleanall: localCleanall\r
-\r
-localCleanall:\r
-  del /f /q $(BIN_PATH)\BrotliCompress.bat > nul\r