Moved DLLFLAGS to a separate variable instead of including it in
[wine/multimedia.git] / dlls / kernel / Makefile.in
blob78db68eaef816bfa8da0dea40dec598f5ce76058
1 EXTRADEFS = -D_KERNEL32_ -DBINDIR="\"$(bindir)\""
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.drv toolhelp.dll windebug.dll win87em.dll
9 LDIMPORTS = ntdll.dll
10 EXTRALIBS = $(LIBUNICODE)
11 DLLMAIN = MAIN_KernelInit
13 SPEC_SRCS16 = \
14 comm.spec \
15 krnl386.exe.spec \
16 stress.spec \
17 system.drv.spec \
18 toolhelp.spec \
19 win87em.spec \
20 windebug.spec
22 C_SRCS = \
23 $(TOPOBJDIR)/msdos/int21.c \
24 atom.c \
25 change.c \
26 comm.c \
27 computername.c \
28 console.c \
29 debugger.c \
30 dosmem.c \
31 editline.c \
32 except.c \
33 fiber.c \
34 file.c \
35 file16.c \
36 format_msg.c \
37 global16.c \
38 heap.c \
39 instr.c \
40 kernel_main.c \
41 lcformat.c \
42 local16.c \
43 locale.c \
44 ne_module.c \
45 ne_segment.c \
46 powermgnt.c \
47 process.c \
48 profile.c \
49 pthread.c \
50 relay16.c \
51 resource.c \
52 resource16.c \
53 selector.c \
54 snoop16.c \
55 stress.c \
56 string.c \
57 sync.c \
58 syslevel.c \
59 system.c \
60 tape.c \
61 task.c \
62 thread.c \
63 thunk.c \
64 time.c \
65 toolhelp.c \
66 utthunk.c \
67 version.c \
68 vxd.c \
69 win87em.c \
70 windebug.c \
71 wowthunk.c
73 C_SRCS16 = \
74 error16.c \
75 registry16.c
77 ASM_SRCS = relay16asm.s
79 RC_SRCS = kernel.rc
81 RC_SRCS16 = \
82 version16.rc
84 MC_SRCS = \
85 messages/winerr_enu.mc
87 EXTRA_OBJS = $(ASM_SRCS:.s=.o)
88 SUBDIRS = tests
89 EXTRASUBDIRS = messages nls
91 @MAKE_DLL_RULES@
93 kernel.res: $(MC_SRCS:.mc=.mc.rc)
95 relay16asm.s: $(WINEBUILD)
96 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
98 # Special rules for 16-bit resource and spec files
100 krnl386.exe.spec.c: krnl386.exe.spec version16.res
101 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
103 version16.res: version16.rc
104 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
106 clean::
107 $(RM) $(ASM_SRCS)
109 ### Dependencies: