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