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