cryptui: Use CryptQueryObject to import files in CryptUIWizImport.
[wine] / dlls / kernel32 / Makefile.in
1 EXTRADEFS = -D_KERNEL32_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = kernel32.dll
7 IMPORTLIB = kernel32
8 IMPORTS   = ntdll
9 EXTRALIBS = @COREFOUNDATIONLIB@ @LIBPOLL@
10 EXTRADLLFLAGS = -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000
11
12 SPEC_SRCS16 = \
13         comm.drv.spec \
14         krnl386.exe.spec \
15         stress.spec \
16         system.drv.spec \
17         toolhelp.spec \
18         win87em.spec \
19         windebug.spec
20
21 C_SRCS = \
22         actctx.c \
23         atom.c \
24         change.c \
25         comm.c \
26         computername.c \
27         console.c \
28         cpu.c \
29         debugger.c \
30         dosmem.c \
31         editline.c \
32         environ.c \
33         except.c \
34         fiber.c \
35         file.c \
36         file16.c \
37         format_msg.c \
38         global16.c \
39         heap.c \
40         instr.c \
41         kernel_main.c \
42         lcformat.c \
43         local16.c \
44         locale.c \
45         lzexpand.c \
46         module.c \
47         ne_module.c \
48         ne_segment.c \
49         oldconfig.c \
50         path.c \
51         powermgnt.c \
52         process.c \
53         profile.c \
54         relay16.c \
55         resource.c \
56         resource16.c \
57         selector.c \
58         snoop16.c \
59         stress.c \
60         string.c \
61         sync.c \
62         syslevel.c \
63         system.c \
64         tape.c \
65         task.c \
66         thread.c \
67         thunk.c \
68         time.c \
69         toolhelp.c \
70         utthunk.c \
71         version.c \
72         virtual.c \
73         volume.c \
74         vxd.c \
75         windebug.c \
76         wowthunk.c
77
78 C_SRCS16 = \
79         atom16.c \
80         error16.c \
81         kernel16.c \
82         registry16.c \
83         toolhelp16.c \
84         win87em.c
85
86 RC_SRCS = kernel.rc
87
88 RC_SRCS16 = \
89         version16.rc
90
91 MC_SRCS = \
92         nls/winerr_deu.mc \
93         nls/winerr_enu.mc \
94         nls/winerr_fra.mc \
95         nls/winerr_kor.mc \
96         nls/winerr_nor.mc
97
98 EXTRA_OBJS   = relay16asm.o
99 EXTRA_OBJS16 = winhelp.exe.o winoldap.mod.o
100
101 EXTRASUBDIRS = nls
102
103 @MAKE_DLL_RULES@
104
105 kernel.res: $(MC_SRCS:.mc=.mc.rc)
106
107 relay16asm.o: $(WINEBUILD)
108         $(WINEBUILD) $(WINEBUILDFLAGS) -o $@ --relay16
109
110 winoldap.mod.o: $(WINEBUILD)
111         $(WINEBUILD) $(WINEBUILDFLAGS) --exe -o $@ --main-module $(MODULE) --entry WINOLDAP_EntryPoint
112
113 winhelp.exe.o: $(WINEBUILD)
114         $(WINEBUILD) $(WINEBUILDFLAGS) --exe -o $@ --main-module $(MODULE) --entry WINHELP_EntryPoint
115
116 # Special rules for 16-bit resource and spec files
117
118 krnl386.exe.spec.o: krnl386.exe.spec version16.res
119         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
120
121 version16.res: version16.rc
122         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
123
124 @DEPENDENCIES@  # everything below this line is overwritten by make depend