]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/BrotliCompress/Makefile
BaseTools: Add Brotli algorithm tool
[mirror_edk2.git] / BaseTools / Source / C / BrotliCompress / Makefile
CommitLineData
87d97b6a
SB
1## @file\r
2# Windows makefile for 'Brotli' module build.\r
3#\r
4# Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>\r
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13!INCLUDE ..\Makefiles\ms.common\r
14\r
15CFLAGS = $(CFLAGS) /W2\r
16\r
17APPNAME = Brotli\r
18\r
19#LIBS = $(LIB_PATH)\Common.lib\r
20\r
21COMMON_OBJ = common\dictionary.obj\r
22DEC_OBJ = \\r
23 dec\bit_reader.obj \\r
24 dec\decode.obj \\r
25 dec\huffman.obj \\r
26 dec\state.obj\r
27ENC_OBJ = \\r
28 enc\backward_references.obj \\r
29 enc\bit_cost.obj \\r
30 enc\block_splitter.obj \\r
31 enc\brotli_bit_stream.obj \\r
32 enc\cluster.obj \\r
33 enc\compress_fragment.obj \\r
34 enc\compress_fragment_two_pass.obj \\r
35 enc\encode.obj \\r
36 enc\entropy_encode.obj \\r
37 enc\histogram.obj \\r
38 enc\literal_cost.obj \\r
39 enc\memory.obj \\r
40 enc\metablock.obj \\r
41 enc\static_dict.obj \\r
42 enc\utf8_util.obj\r
43\r
44OBJECTS = \\r
45 tools\bro.obj \\r
46 $(COMMON_OBJ) \\r
47 $(DEC_OBJ) \\r
48 $(ENC_OBJ)\r
49\r
50!INCLUDE ..\Makefiles\ms.app\r
51\r
52all: $(BIN_PATH)\BrotliCompress.bat\r
53\r
54$(BIN_PATH)\BrotliCompress.bat: BrotliCompress.bat\r
55 copy BrotliCompress.bat $(BIN_PATH)\BrotliCompress.bat /Y\r
56\r
57cleanall: localCleanall\r
58\r
59localCleanall:\r
60 del /f /q $(BIN_PATH)\BrotliCompress.bat > nul\r