xref: /third_party/lzma/C/Util/LzmaLib/makefile (revision 370b324c)
1370b324cSopenharmony_ciMY_STATIC_LINK=1
2370b324cSopenharmony_ciSLIB = sLZMA.lib
3370b324cSopenharmony_ciPROG = LZMA.dll
4370b324cSopenharmony_ciSLIBPATH = $O\$(SLIB)
5370b324cSopenharmony_ci
6370b324cSopenharmony_ciDEF_FILE = LzmaLib.def
7370b324cSopenharmony_ciCFLAGS = $(CFLAGS) \
8370b324cSopenharmony_ci
9370b324cSopenharmony_ciLIB_OBJS = \
10370b324cSopenharmony_ci  $O\LzmaLibExports.obj \
11370b324cSopenharmony_ci
12370b324cSopenharmony_ciC_OBJS = \
13370b324cSopenharmony_ci  $O\Alloc.obj \
14370b324cSopenharmony_ci  $O\CpuArch.obj \
15370b324cSopenharmony_ci  $O\LzFind.obj \
16370b324cSopenharmony_ci  $O\LzFindMt.obj \
17370b324cSopenharmony_ci  $O\LzFindOpt.obj \
18370b324cSopenharmony_ci  $O\LzmaDec.obj \
19370b324cSopenharmony_ci  $O\LzmaEnc.obj \
20370b324cSopenharmony_ci  $O\LzmaLib.obj \
21370b324cSopenharmony_ci  $O\Threads.obj \
22370b324cSopenharmony_ci
23370b324cSopenharmony_ciOBJS = \
24370b324cSopenharmony_ci  $O\Precomp.obj \
25370b324cSopenharmony_ci  $(LIB_OBJS) \
26370b324cSopenharmony_ci  $(C_OBJS) \
27370b324cSopenharmony_ci  $O\resource.res
28370b324cSopenharmony_ci
29370b324cSopenharmony_ci!include "../../../CPP/Build.mak"
30370b324cSopenharmony_ci
31370b324cSopenharmony_ci$(SLIBPATH): $O $(OBJS)
32370b324cSopenharmony_ci	lib -out:$(SLIBPATH) $(OBJS) $(LIBS)
33370b324cSopenharmony_ci
34370b324cSopenharmony_ci
35370b324cSopenharmony_ciMAK_SINGLE_FILE = 1
36370b324cSopenharmony_ci
37370b324cSopenharmony_ci$O\Precomp.obj: Precomp.c
38370b324cSopenharmony_ci	$(CCOMPL_PCH)
39370b324cSopenharmony_ci
40370b324cSopenharmony_ci!IFDEF MAK_SINGLE_FILE
41370b324cSopenharmony_ci
42370b324cSopenharmony_ci$(LIB_OBJS): $(*B).c
43370b324cSopenharmony_ci	$(CCOMPL_USE)
44370b324cSopenharmony_ci$(C_OBJS): ../../$(*B).c
45370b324cSopenharmony_ci	$(CCOMPL_USE)
46370b324cSopenharmony_ci
47370b324cSopenharmony_ci!ELSE
48370b324cSopenharmony_ci
49370b324cSopenharmony_ci{.}.c{$O}.obj::
50370b324cSopenharmony_ci	$(CCOMPLB_USE)
51370b324cSopenharmony_ci{../../../C}.c{$O}.obj::
52370b324cSopenharmony_ci	$(CCOMPLB_USE)
53370b324cSopenharmony_ci
54370b324cSopenharmony_ci!ENDIF
55