Consolidate all kernel power management functions.
[wine/multimedia.git] / dlls / kernel / Makefile.in
blobac7449b1cdf55fea7f75b2add343a3290e470013
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
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
22 C_SRCS = \
23 atom.c \
24 change.c \
25 comm.c \
26 computername.c \
27 console.c \
28 debugger.c \
29 editline.c \
30 file.c \
31 file16.c \
32 format_msg.c \
33 kernel_main.c \
34 lcformat.c \
35 local16.c \
36 locale.c \
37 powermgnt.c \
38 process.c \
39 resource.c \
40 resource16.c \
41 stress.c \
42 string.c \
43 sync.c \
44 tape.c \
45 thread.c \
46 thunk.c \
47 time.c \
48 toolhelp.c \
49 utthunk.c \
50 win87em.c \
51 windebug.c \
52 wowthunk.c
54 C_SRCS16 = \
55 error16.c \
56 registry16.c \
57 system.c
59 RC_SRCS = kernel.rc
61 RC_SRCS16 = \
62 version16.rc
64 MC_SRCS = \
65 messages/winerr_enu.mc
67 SUBDIRS = tests
68 EXTRASUBDIRS = messages nls
70 @MAKE_DLL_RULES@
72 kernel.res: $(MC_SRCS:.mc=.mc.rc)
74 # Special rules for 16-bit resource and spec files
76 krnl386.exe.spec.c: krnl386.exe.spec version16.res
77 $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
79 version16.res: version16.rc
80 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
82 ### Dependencies: