Move and forward lz32 functions to kernel32.
[wine] / dlls / kernel / Makefile.in
1 EXTRADEFS = -D_KERNEL32_ -DETCDIR="\"$(sysconfdir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = kernel32.dll
7 IMPORTLIB = libkernel32.$(IMPLIBEXT)
8 IMPORTS   = ntdll
9 EXTRALIBS = $(LIBUNICODE) @COREFOUNDATIONLIB@
10
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
19
20 C_SRCS = \
21         actctx.c \
22         atom.c \
23         change.c \
24         comm.c \
25         computername.c \
26         console.c \
27         cpu.c \
28         debugger.c \
29         dosmem.c \
30         editline.c \
31         environ.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         lzexpand.c \
45         module.c \
46         ne_module.c \
47         ne_segment.c \
48         oldconfig.c \
49         path.c \
50         powermgnt.c \
51         process.c \
52         profile.c \
53         pthread.c \
54         relay16.c \
55         resource.c \
56         resource16.c \
57         selector.c \
58         snoop16.c \
59         stress.c \
60         string.c \
61         sync.c \
62         syslevel.c \
63         system.c \
64         tape.c \
65         task.c \
66         thread.c \
67         thunk.c \
68         time.c \
69         toolhelp.c \
70         utthunk.c \
71         version.c \
72         virtual.c \
73         volume.c \
74         vxd.c \
75         windebug.c \
76         wowthunk.c
77
78 C_SRCS16 = \
79         atom16.c \
80         error16.c \
81         registry16.c \
82         toolhelp16.c \
83         win87em.c
84
85 ASM_SRCS = relay16asm.s
86
87 RC_SRCS = kernel.rc
88
89 RC_SRCS16 = \
90         version16.rc
91
92 MC_SRCS = \
93         messages/winerr_enu.mc
94
95 EXTRA_OBJS   = $(ASM_SRCS:.s=.o)
96 SUBDIRS      = tests
97 EXTRASUBDIRS = messages nls
98
99 @MAKE_DLL_RULES@
100
101 kernel.res: $(MC_SRCS:.mc=.mc.rc)
102
103 relay16asm.s: $(WINEBUILD)
104         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
105
106 # Special rules for 16-bit resource and spec files
107
108 krnl386.exe.spec.c: krnl386.exe.spec version16.res
109         $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
110
111 version16.res: version16.rc
112         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
113
114 clean::
115         $(RM) $(ASM_SRCS)
116
117 ### Dependencies: