Added support for implementing VxDs as separate dlls and loading them
[wine.git] / dlls / kernel / Makefile.in
blob8192fc17d60a9145b82503bb068785903e526b43
1 EXTRADEFS = -D_KERNEL32_ -DETCDIR="\"$(sysconfdir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = kernel32.dll
7 IMPORTS = ntdll
8 ALTNAMES = krnl386.exe comm.drv stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
9 EXTRALIBS = $(LIBUNICODE)
11 SPEC_SRCS16 = \
12 comm.drv.spec \
13 krnl386.exe.spec \
14 stress.spec \
15 system.drv.spec \
16 toolhelp.spec \
17 win87em.spec \
18 windebug.spec
20 C_SRCS = \
21 $(TOPOBJDIR)/files/directory.c \
22 $(TOPOBJDIR)/files/dos_fs.c \
23 $(TOPOBJDIR)/files/drive.c \
24 $(TOPOBJDIR)/files/file.c \
25 $(TOPOBJDIR)/files/smb.c \
26 $(TOPOBJDIR)/misc/options.c \
27 $(TOPOBJDIR)/misc/registry.c \
28 actctx.c \
29 atom.c \
30 change.c \
31 comm.c \
32 computername.c \
33 console.c \
34 cpu.c \
35 debugger.c \
36 device.c \
37 dosmem.c \
38 editline.c \
39 environ.c \
40 except.c \
41 fiber.c \
42 file.c \
43 file16.c \
44 format_msg.c \
45 global16.c \
46 heap.c \
47 instr.c \
48 kernel_main.c \
49 lcformat.c \
50 local16.c \
51 locale.c \
52 module.c \
53 ne_module.c \
54 ne_segment.c \
55 path.c \
56 powermgnt.c \
57 process.c \
58 profile.c \
59 pthread.c \
60 relay16.c \
61 resource.c \
62 resource16.c \
63 selector.c \
64 snoop16.c \
65 stress.c \
66 string.c \
67 sync.c \
68 syslevel.c \
69 system.c \
70 tape.c \
71 task.c \
72 thread.c \
73 thunk.c \
74 time.c \
75 toolhelp.c \
76 utthunk.c \
77 version.c \
78 virtual.c \
79 vxd.c \
80 win87em.c \
81 windebug.c \
82 wowthunk.c
84 C_SRCS16 = \
85 error16.c \
86 registry16.c
88 ASM_SRCS = relay16asm.s
90 RC_SRCS = kernel.rc
92 RC_SRCS16 = \
93 version16.rc
95 MC_SRCS = \
96 messages/winerr_enu.mc
98 EXTRA_OBJS = $(ASM_SRCS:.s=.o)
99 SUBDIRS = tests
100 EXTRASUBDIRS = \
101 $(TOPOBJDIR)/files \
102 $(TOPOBJDIR)/misc \
103 messages \
106 @MAKE_DLL_RULES@
108 kernel.res: $(MC_SRCS:.mc=.mc.rc)
110 relay16asm.s: $(WINEBUILD)
111 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
113 # Special rules for 16-bit resource and spec files
115 krnl386.exe.spec.c: krnl386.exe.spec version16.res
116 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --dll $(SRCDIR)/krnl386.exe.spec
118 version16.res: version16.rc
119 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
121 clean::
122 $(RM) $(ASM_SRCS)
124 ### Dependencies: