Removed a number of internal file functions that are no longer used.
[wine/multimedia.git] / dlls / kernel / Makefile.in
blob688c4976091d67b57ac7068afb7b0fe2a4529dc9
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/drive.c \
23 $(TOPOBJDIR)/files/file.c \
24 $(TOPOBJDIR)/files/smb.c \
25 $(TOPOBJDIR)/misc/options.c \
26 $(TOPOBJDIR)/misc/registry.c \
27 actctx.c \
28 atom.c \
29 change.c \
30 comm.c \
31 computername.c \
32 console.c \
33 cpu.c \
34 debugger.c \
35 dosmem.c \
36 editline.c \
37 environ.c \
38 except.c \
39 fiber.c \
40 file.c \
41 file16.c \
42 format_msg.c \
43 global16.c \
44 heap.c \
45 instr.c \
46 kernel_main.c \
47 lcformat.c \
48 local16.c \
49 locale.c \
50 module.c \
51 ne_module.c \
52 ne_segment.c \
53 path.c \
54 powermgnt.c \
55 process.c \
56 profile.c \
57 pthread.c \
58 relay16.c \
59 resource.c \
60 resource16.c \
61 selector.c \
62 snoop16.c \
63 stress.c \
64 string.c \
65 sync.c \
66 syslevel.c \
67 system.c \
68 tape.c \
69 task.c \
70 thread.c \
71 thunk.c \
72 time.c \
73 toolhelp.c \
74 utthunk.c \
75 version.c \
76 virtual.c \
77 volume.c \
78 vxd.c \
79 win87em.c \
80 windebug.c \
81 wowthunk.c
83 C_SRCS16 = \
84 error16.c \
85 registry16.c
87 ASM_SRCS = relay16asm.s
89 RC_SRCS = kernel.rc
91 RC_SRCS16 = \
92 version16.rc
94 MC_SRCS = \
95 messages/winerr_enu.mc
97 EXTRA_OBJS = $(ASM_SRCS:.s=.o)
98 SUBDIRS = tests
99 EXTRASUBDIRS = \
100 $(TOPOBJDIR)/files \
101 $(TOPOBJDIR)/misc \
102 messages \
105 @MAKE_DLL_RULES@
107 kernel.res: $(MC_SRCS:.mc=.mc.rc)
109 relay16asm.s: $(WINEBUILD)
110 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
112 # Special rules for 16-bit resource and spec files
114 krnl386.exe.spec.c: krnl386.exe.spec version16.res
115 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --dll $(SRCDIR)/krnl386.exe.spec
117 version16.res: version16.rc
118 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
120 clean::
121 $(RM) $(ASM_SRCS)
123 ### Dependencies: