Fix comment to reflect reality and indeed the code.
[wine] / dlls / kernel / Makefile.in
1 EXTRADEFS = -D_KERNEL32_ -DETCDIR="\"$(sysconfdir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = kernel32.dll
7 IMPORTS   = ntdll
8 EXTRALIBS = $(LIBUNICODE) @COREFOUNDATIONLIB@
9
10 SPEC_SRCS16 = \
11         comm.drv.spec \
12         krnl386.exe.spec \
13         stress.spec \
14         system.drv.spec \
15         toolhelp.spec \
16         win87em.spec \
17         windebug.spec
18
19 C_SRCS = \
20         $(TOPOBJDIR)/misc/registry.c \
21         actctx.c \
22         atom.c \
23         change.c \
24         comm.c \
25         computername.c \
26         console.c \
27         cpu.c \
28         debugger.c \
29         dosmem.c \
30         editline.c \
31         environ.c \
32         except.c \
33         fiber.c \
34         file.c \
35         file16.c \
36         format_msg.c \
37         global16.c \
38         heap.c \
39         instr.c \
40         kernel_main.c \
41         lcformat.c \
42         local16.c \
43         locale.c \
44         module.c \
45         ne_module.c \
46         ne_segment.c \
47         path.c \
48         powermgnt.c \
49         process.c \
50         profile.c \
51         pthread.c \
52         relay16.c \
53         resource.c \
54         resource16.c \
55         selector.c \
56         snoop16.c \
57         stress.c \
58         string.c \
59         sync.c \
60         syslevel.c \
61         system.c \
62         tape.c \
63         task.c \
64         thread.c \
65         thunk.c \
66         time.c \
67         toolhelp.c \
68         utthunk.c \
69         version.c \
70         virtual.c \
71         volume.c \
72         vxd.c \
73         win87em.c \
74         windebug.c \
75         wowthunk.c
76
77 C_SRCS16 = \
78         error16.c \
79         registry16.c
80
81 ASM_SRCS = relay16asm.s
82
83 RC_SRCS = kernel.rc
84
85 RC_SRCS16 = \
86         version16.rc
87
88 MC_SRCS = \
89         messages/winerr_enu.mc
90
91 EXTRA_OBJS   = $(ASM_SRCS:.s=.o)
92 SUBDIRS      = tests
93 EXTRASUBDIRS = \
94         $(TOPOBJDIR)/misc \
95         messages \
96         nls
97
98 @MAKE_DLL_RULES@
99
100 kernel.res: $(MC_SRCS:.mc=.mc.rc)
101
102 relay16asm.s: $(WINEBUILD)
103         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
104
105 # Special rules for 16-bit resource and spec files
106
107 krnl386.exe.spec.c: krnl386.exe.spec version16.res
108         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --dll $(SRCDIR)/krnl386.exe.spec
109
110 version16.res: version16.rc
111         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
112
113 clean::
114         $(RM) $(ASM_SRCS)
115
116 ### Dependencies: