Added support for building certain dlls with -DSTRICT.
[wine/multimedia.git] / dlls / kernel / Makefile.in
blob4a4309d8959d21b39b8b35057bc73b59abb00ec6
1 EXTRADEFS = -DWINE_NO_STRICT
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
11 C_SRCS = \
12 $(TOPOBJDIR)/ole/ole2nls.c \
13 comm.c \
14 console.c \
15 debugger.c \
16 editline.c \
17 format_msg.c \
18 kernel_main.c \
19 locale.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
31 C_SRCS16 = \
32 registry16.c
34 RC_SRCS = kernel.rc
36 RC_SRCS16 = \
37 version16.rc
39 MC_SRCS = \
40 messages/winerr_enu.mc
42 EXTRA_OBJS = $(MODULE).glue.o
44 SUBDIRS = tests
45 EXTRASUBDIRS = messages nls
47 @MAKE_DLL_RULES@
49 kernel.res: $(MC_SRCS:.mc=.mc.rc)
51 # Special rules for 16-bit resource and spec files
53 krnl386.exe.spec.c: krnl386.exe.spec version16.res $(WINEBUILD)
54 $(LDPATH) $(WINEBUILD) $(DEFS) -N kernel -o $@ -M $(MODULE) -spec $(SRCDIR)/krnl386.exe.spec
56 version16.res: version16.rc
57 $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc
59 ### Dependencies: