]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/BrotliCompress/Makefile
BaseTools: Update Brotli Compress to the latest one 1.0.6
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / Makefile
index 9d45ea555d093b7b8a07b992a9f467273380e315..efa96000dec22af22411f873120ffc52b280a208 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # Windows makefile for 'Brotli' module build.\r
 #\r
-# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2017 - 2018, 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
 #\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 +27,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 +46,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