Portability fix.
[wine] / dlls / kernel / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = kernel32.dll
6 IMPORTS   = ntdll
7 ALTNAMES  = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
8 LDIMPORTS = ntdll.dll
9
10 C_SRCS = \
11         comm.c \
12         console.c \
13         debugger.c \
14         format_msg.c \
15         kernel_main.c \
16         stress.c \
17         string.c \
18         sync.c \
19         thunk.c \
20         time.c \
21         toolhelp.c \
22         utthunk.c \
23         win87em.c \
24         windebug.c \
25         wowthunk.c
26
27 RC_SRCS = kernel.rc
28
29 RC_SRCS16 = \
30         version16.rc
31
32 MC_SRCS = \
33         messages/winerr_enu.mc
34
35 GLUE = utthunk.c
36
37 EXTRASUBDIRS = \
38         messages \
39         nls \
40         tests
41
42 CTESTS = \
43         tests/alloc.c \
44         tests/directory.c \
45         tests/file.c \
46         tests/locale.c \
47         tests/path.c \
48         tests/process.c \
49         tests/thread.c
50
51 PLTESTS = \
52         tests/atom.pl
53
54 @MAKE_DLL_RULES@
55
56 kernel.res: $(MC_SRCS:.mc=.mc.rc)
57
58 # Special rules for 16-bit resource files
59
60 version16.res: version16.rc
61         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc
62
63 krnl386.exe.spec.c: version16.res
64
65 ### Dependencies: