Implemented file change notifications, based on a patch by Mike
[wine] / dlls / kernel / Makefile.in
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 DLLMAIN   = MAIN_KernelInit
11
12 SPEC_SRCS16 = \
13         comm.spec \
14         krnl386.exe.spec \
15         stress.spec \
16         system.spec \
17         toolhelp.spec \
18         win87em.spec \
19         windebug.spec \
20         wprocs.spec
21
22 C_SRCS = \
23         $(TOPOBJDIR)/ole/ole2nls.c \
24         change.c \
25         comm.c \
26         computername.c \
27         console.c \
28         debugger.c \
29         editline.c \
30         format_msg.c \
31         kernel_main.c \
32         lcformat.c \
33         locale.c \
34         stress.c \
35         string.c \
36         sync.c \
37         thunk.c \
38         time.c \
39         toolhelp.c \
40         utthunk.c \
41         win87em.c \
42         windebug.c \
43         wowthunk.c
44
45 C_SRCS16 = \
46         registry16.c
47
48 RC_SRCS = kernel.rc
49
50 RC_SRCS16 = \
51         version16.rc
52
53 MC_SRCS = \
54         messages/winerr_enu.mc
55
56 SUBDIRS      = tests
57 EXTRASUBDIRS = messages nls $(TOPOBJDIR)/ole
58
59 @MAKE_DLL_RULES@
60
61 kernel.res: $(MC_SRCS:.mc=.mc.rc)
62
63 # Special rules for 16-bit resource and spec files
64
65 krnl386.exe.spec.c: krnl386.exe.spec version16.res
66         $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
67
68 version16.res: version16.rc
69         $(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -w16 $(SRCDIR)/version16.rc
70
71 ### Dependencies: