kernel32: Make windebug.dll into a stand-alone 16-bit module.
[wine.git] / dlls / kernel32 / Makefile.in
blobd7b91d3a03f96df35bac46b8d83a893f24460768
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
12 SPEC_SRCS16 = \
13 krnl386.exe.spec \
14 system.drv.spec \
15 toolhelp.spec
17 C_SRCS = \
18 actctx.c \
19 atom.c \
20 change.c \
21 comm.c \
22 computername.c \
23 console.c \
24 cpu.c \
25 debugger.c \
26 dosmem.c \
27 editline.c \
28 environ.c \
29 except.c \
30 fiber.c \
31 file.c \
32 file16.c \
33 format_msg.c \
34 global16.c \
35 heap.c \
36 instr.c \
37 kernel_main.c \
38 lcformat.c \
39 local16.c \
40 locale.c \
41 lzexpand.c \
42 module.c \
43 ne_module.c \
44 ne_segment.c \
45 oldconfig.c \
46 path.c \
47 powermgnt.c \
48 process.c \
49 profile.c \
50 relay16.c \
51 resource.c \
52 resource16.c \
53 selector.c \
54 snoop16.c \
55 string.c \
56 sync.c \
57 syslevel.c \
58 system.c \
59 tape.c \
60 task.c \
61 thread.c \
62 thunk.c \
63 time.c \
64 toolhelp.c \
65 utthunk.c \
66 version.c \
67 virtual.c \
68 volume.c \
69 vxd.c \
70 wowthunk.c
72 C_SRCS16 = \
73 atom16.c \
74 error16.c \
75 kernel16.c \
76 registry16.c \
77 toolhelp16.c
79 RC_SRCS = kernel.rc
81 RC_SRCS16 = \
82 version16.rc
84 MC_SRCS = \
85 nls/winerr_deu.mc \
86 nls/winerr_enu.mc \
87 nls/winerr_fra.mc \
88 nls/winerr_kor.mc \
89 nls/winerr_nor.mc
91 EXTRA_OBJS = relay16asm.o
92 EXTRASUBDIRS = nls
94 @MAKE_DLL_RULES@
96 kernel.res: $(MC_SRCS:.mc=.mc.rc)
98 relay16asm.o: $(WINEBUILD)
99 $(WINEBUILD) $(WINEBUILDFLAGS) -o $@ --relay16
101 # Special rules for 16-bit resource and spec files
103 krnl386.exe.spec.o: krnl386.exe.spec version16.res
104 $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
106 version16.res: version16.rc
107 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
109 @DEPENDENCIES@ # everything below this line is overwritten by make depend