Release 20030408.
[wine/gsoc-2012-control.git] / dlls / kernel / Makefile.in
blob512274e3a88c91153ce1a4c3cabac12be819490f
1 EXTRADEFS = -D_KERNEL32_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = kernel32.dll
7 IMPORTS = ntdll
8 ALTNAMES = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
9 LDIMPORTS = ntdll.dll
10 EXTRALIBS = $(LIBUNICODE)
11 DLLMAIN = MAIN_KernelInit
13 SPEC_SRCS16 = \
14 comm.spec \
15 krnl386.exe.spec \
16 stress.spec \
17 system.spec \
18 toolhelp.spec \
19 win87em.spec \
20 windebug.spec \
21 wprocs.spec
23 C_SRCS = \
24 $(TOPOBJDIR)/ole/ole2nls.c \
25 change.c \
26 comm.c \
27 computername.c \
28 console.c \
29 debugger.c \
30 editline.c \
31 format_msg.c \
32 kernel_main.c \
33 lcformat.c \
34 locale.c \
35 stress.c \
36 string.c \
37 sync.c \
38 thunk.c \
39 time.c \
40 toolhelp.c \
41 utthunk.c \
42 win87em.c \
43 windebug.c \
44 wowthunk.c
46 C_SRCS16 = \
47 registry16.c
49 RC_SRCS = kernel.rc
51 RC_SRCS16 = \
52 version16.rc
54 MC_SRCS = \
55 messages/winerr_enu.mc
57 SUBDIRS = tests
58 EXTRASUBDIRS = messages nls $(TOPOBJDIR)/ole
60 @MAKE_DLL_RULES@
62 kernel.res: $(MC_SRCS:.mc=.mc.rc)
64 # Special rules for 16-bit resource and spec files
66 krnl386.exe.spec.c: krnl386.exe.spec version16.res
67 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
69 version16.res: version16.rc
70 $(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -O res16 $(SRCDIR)/version16.rc
72 ### Dependencies: