kernel32: Exclude unused headers.
[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 = libkernel32.$(IMPLIBEXT)
8 IMPORTS   = ntdll
9 EXTRALIBS = @COREFOUNDATIONLIB@ @LIBPOLL@
10 BASEADDRESS = 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         pthread.c \
55         relay16.c \
56         resource.c \
57         resource16.c \
58         selector.c \
59         snoop16.c \
60         stress.c \
61         string.c \
62         sync.c \
63         syslevel.c \
64         system.c \
65         tape.c \
66         task.c \
67         thread.c \
68         thunk.c \
69         time.c \
70         toolhelp.c \
71         utthunk.c \
72         version.c \
73         virtual.c \
74         volume.c \
75         vxd.c \
76         windebug.c \
77         wowthunk.c
78
79 C_SRCS16 = \
80         atom16.c \
81         error16.c \
82         kernel16.c \
83         registry16.c \
84         toolhelp16.c \
85         win87em.c
86
87 RC_SRCS = kernel.rc
88
89 RC_SRCS16 = \
90         version16.rc
91
92 MC_SRCS = \
93         nls/winerr_deu.mc \
94         nls/winerr_enu.mc \
95         nls/winerr_fra.mc \
96         nls/winerr_kor.mc
97
98 EXTRA_OBJS   = relay16asm.o
99
100 EXTRASUBDIRS = nls
101
102 @MAKE_DLL_RULES@
103
104 kernel.res: $(MC_SRCS:.mc=.mc.rc)
105
106 relay16asm.o: $(WINEBUILD)
107         $(WINEBUILD) $(WINEBUILDFLAGS) -o $@ --relay16
108
109 # Special rules for 16-bit resource and spec files
110
111 krnl386.exe.spec.o: krnl386.exe.spec version16.res
112         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
113
114 version16.res: version16.rc
115         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
116
117 @DEPENDENCIES@  # everything below this line is overwritten by make depend