• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PROG = 7zr.exe
2MY_CONSOLE = 1
3CFLAGS = $(CFLAGS) -I ../../../ \
4  -D_NO_CRYPTO \
5
6!IFNDEF UNDER_CE
7CFLAGS = $(CFLAGS) -DWIN_LONG_PATH
8!ENDIF
9
10CONSOLE_OBJS = \
11  $O\BenchCon.obj \
12  $O\ConsoleClose.obj \
13  $O\ExtractCallbackConsole.obj \
14  $O\List.obj \
15  $O\Main.obj \
16  $O\MainAr.obj \
17  $O\OpenCallbackConsole.obj \
18  $O\PercentPrinter.obj \
19  $O\UpdateCallbackConsole.obj \
20  $O\UserInputUtils.obj \
21
22COMMON_OBJS = \
23  $O\CommandLineParser.obj \
24  $O\CRC.obj \
25  $O\IntToString.obj \
26  $O\ListFileUtils.obj \
27  $O\NewHandler.obj \
28  $O\StdInStream.obj \
29  $O\StdOutStream.obj \
30  $O\MyString.obj \
31  $O\StringConvert.obj \
32  $O\StringToInt.obj \
33  $O\UTFConvert.obj \
34  $O\MyVector.obj \
35  $O\Wildcard.obj \
36
37WIN_OBJS = \
38  $O\DLL.obj \
39  $O\Error.obj \
40  $O\FileDir.obj \
41  $O\FileFind.obj \
42  $O\FileIO.obj \
43  $O\FileName.obj \
44  $O\MemoryLock.obj \
45  $O\PropVariant.obj \
46  $O\PropVariantConversions.obj \
47  $O\Synchronization.obj \
48  $O\System.obj \
49  $O\Time.obj \
50
517ZIP_COMMON_OBJS = \
52  $O\CreateCoder.obj \
53  $O\CWrappers.obj \
54  $O\FilePathAutoRename.obj \
55  $O\FileStreams.obj \
56  $O\InBuffer.obj \
57  $O\InOutTempBuffer.obj \
58  $O\FilterCoder.obj \
59  $O\LimitedStreams.obj \
60  $O\LockedStream.obj \
61  $O\MethodId.obj \
62  $O\MethodProps.obj \
63  $O\OffsetStream.obj \
64  $O\OutBuffer.obj \
65  $O\ProgressUtils.obj \
66  $O\StreamBinder.obj \
67  $O\StreamObjects.obj \
68  $O\StreamUtils.obj \
69  $O\VirtThread.obj \
70
71UI_COMMON_OBJS = \
72  $O\ArchiveCommandLine.obj \
73  $O\ArchiveExtractCallback.obj \
74  $O\ArchiveOpenCallback.obj \
75  $O\Bench.obj \
76  $O\DefaultName.obj \
77  $O\EnumDirItems.obj \
78  $O\Extract.obj \
79  $O\ExtractingFilePath.obj \
80  $O\LoadCodecs.obj \
81  $O\OpenArchive.obj \
82  $O\PropIDUtils.obj \
83  $O\SetProperties.obj \
84  $O\SortUtils.obj \
85  $O\TempFiles.obj \
86  $O\Update.obj \
87  $O\UpdateAction.obj \
88  $O\UpdateCallback.obj \
89  $O\UpdatePair.obj \
90  $O\UpdateProduce.obj \
91  $O\WorkDir.obj \
92
93AR_OBJS = \
94  $O\LzmaHandler.obj \
95  $O\SplitHandler.obj \
96  $O\XzHandler.obj \
97
98AR_COMMON_OBJS = \
99  $O\CoderMixer2.obj \
100  $O\CoderMixer2MT.obj \
101  $O\CrossThreadProgress.obj \
102  $O\DummyOutStream.obj \
103  $O\HandlerOut.obj \
104  $O\InStreamWithCRC.obj \
105  $O\ItemNameUtils.obj \
106  $O\MultiStream.obj \
107  $O\OutStreamWithCRC.obj \
108  $O\ParseProperties.obj \
109
110
1117Z_OBJS = \
112  $O\7zCompressionMode.obj \
113  $O\7zDecode.obj \
114  $O\7zEncode.obj \
115  $O\7zExtract.obj \
116  $O\7zFolderInStream.obj \
117  $O\7zFolderOutStream.obj \
118  $O\7zHandler.obj \
119  $O\7zHandlerOut.obj \
120  $O\7zHeader.obj \
121  $O\7zIn.obj \
122  $O\7zOut.obj \
123  $O\7zProperties.obj \
124  $O\7zRegister.obj \
125  $O\7zSpecStream.obj \
126  $O\7zUpdate.obj \
127
128COMPRESS_OBJS = \
129  $O\Bcj2Coder.obj \
130  $O\Bcj2Register.obj \
131  $O\BcjCoder.obj \
132  $O\BcjRegister.obj \
133  $O\BranchCoder.obj \
134  $O\BranchMisc.obj \
135  $O\BranchRegister.obj \
136  $O\ByteSwap.obj \
137  $O\CopyCoder.obj \
138  $O\CopyRegister.obj \
139  $O\DeltaFilter.obj \
140  $O\Lzma2Decoder.obj \
141  $O\Lzma2Encoder.obj \
142  $O\Lzma2Register.obj \
143  $O\LzmaDecoder.obj \
144  $O\LzmaEncoder.obj \
145  $O\LzmaRegister.obj \
146
147C_OBJS = \
148  $O\7zStream.obj \
149  $O\Alloc.obj \
150  $O\Bra.obj \
151  $O\Bra86.obj \
152  $O\BraIA64.obj \
153  $O\CpuArch.obj \
154  $O\Delta.obj \
155  $O\LzFind.obj \
156  $O\LzFindMt.obj \
157  $O\Lzma2Dec.obj \
158  $O\Lzma2Enc.obj \
159  $O\LzmaDec.obj \
160  $O\LzmaEnc.obj \
161  $O\MtCoder.obj \
162  $O\Sha256.obj \
163  $O\Threads.obj \
164  $O\Xz.obj \
165  $O\XzCrc64.obj \
166  $O\XzDec.obj \
167  $O\XzEnc.obj \
168  $O\XzIn.obj \
169
170!include "../../Crc.mak"
171
172OBJS = \
173  $O\StdAfx.obj \
174  $(CONSOLE_OBJS) \
175  $(COMMON_OBJS) \
176  $(WIN_OBJS) \
177  $(7ZIP_COMMON_OBJS) \
178  $(UI_COMMON_OBJS) \
179  $(AR_OBJS) \
180  $(AR_COMMON_OBJS) \
181  $(7Z_OBJS) \
182  $(COMPRESS_OBJS) \
183  $(C_OBJS) \
184  $(ASM_OBJS) \
185  $O\resource.res
186
187
188!include "../../../Build.mak"
189
190$(CONSOLE_OBJS): ../../UI/Console/$(*B).cpp
191	$(COMPL)
192
193$(COMMON_OBJS): ../../../Common/$(*B).cpp
194	$(COMPL)
195$(WIN_OBJS): ../../../Windows/$(*B).cpp
196	$(COMPL)
197$(7ZIP_COMMON_OBJS): ../../Common/$(*B).cpp
198	$(COMPL)
199$(UI_COMMON_OBJS): ../../UI/Common/$(*B).cpp
200	$(COMPL)
201$(AR_OBJS): ../../Archive/$(*B).cpp
202	$(COMPL)
203$(AR_COMMON_OBJS): ../../Archive/Common/$(*B).cpp
204	$(COMPL)
205
206$(7Z_OBJS): ../../Archive/7z/$(*B).cpp
207	$(COMPL)
208$(COMPRESS_OBJS): ../../Compress/$(*B).cpp
209	$(COMPL_O2)
210$(C_OBJS): ../../../../C/$(*B).c
211	$(COMPL_O2)
212
213!include "../../Asm.mak"
214