Create at most one glue file for a single dll.
[wine/multimedia.git] / dlls / kernel / Makefile.in
blob4893eb6491235528d2288ab417a65e76af809f22
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
10 C_SRCS = \
11 comm.c \
12 console.c \
13 debugger.c \
14 editline.c \
15 format_msg.c \
16 kernel_main.c \
17 stress.c \
18 string.c \
19 sync.c \
20 thunk.c \
21 time.c \
22 toolhelp.c \
23 utthunk.c \
24 win87em.c \
25 windebug.c \
26 wowthunk.c
28 RC_SRCS = kernel.rc
30 RC_SRCS16 = \
31 version16.rc
33 MC_SRCS = \
34 messages/winerr_enu.mc
36 EXTRA_OBJS = $(MODULE).glue.o
38 EXTRASUBDIRS = \
39 messages \
40 nls \
41 tests
43 CTESTS = \
44 tests/alloc.c \
45 tests/atom.c \
46 tests/directory.c \
47 tests/file.c \
48 tests/locale.c \
49 tests/path.c \
50 tests/process.c \
51 tests/thread.c
53 @MAKE_DLL_RULES@
55 kernel.res: $(MC_SRCS:.mc=.mc.rc)
57 # Special rules for 16-bit resource files
59 version16.res: version16.rc
60 $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc
62 krnl386.exe.spec.c: version16.res
64 ### Dependencies: