Move the name directive from the .spec file to the Makefile.
[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         $(TOPOBJDIR)/ole/ole2nls.c \
12         comm.c \
13         console.c \
14         debugger.c \
15         editline.c \
16         format_msg.c \
17         kernel_main.c \
18         locale.c \
19         registry16.c \
20         stress.c \
21         string.c \
22         sync.c \
23         thunk.c \
24         time.c \
25         toolhelp.c \
26         utthunk.c \
27         win87em.c \
28         windebug.c \
29         wowthunk.c
30
31 RC_SRCS = kernel.rc
32
33 RC_SRCS16 = \
34         version16.rc
35
36 MC_SRCS = \
37         messages/winerr_enu.mc
38
39 EXTRA_OBJS = $(MODULE).glue.o
40
41 SUBDIRS      = tests
42 EXTRASUBDIRS = messages nls
43
44 @MAKE_DLL_RULES@
45
46 kernel.res: $(MC_SRCS:.mc=.mc.rc)
47
48 # Special rules for 16-bit resource and spec files
49
50 krnl386.exe.spec.c: krnl386.exe.spec version16.res $(WINEBUILD)
51         $(LDPATH) $(WINEBUILD) $(DEFS) -N kernel -o $@ -M $(MODULE) -spec $(SRCDIR)/krnl386.exe.spec
52
53 version16.res: version16.rc
54         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc
55
56 ### Dependencies: