Implement ber_* functions.
[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         module.c \
45         ne_module.c \
46         ne_segment.c \
47         oldconfig.c \
48         path.c \
49         powermgnt.c \
50         process.c \
51         profile.c \
52         pthread.c \
53         relay16.c \
54         resource.c \
55         resource16.c \
56         selector.c \
57         snoop16.c \
58         stress.c \
59         string.c \
60         sync.c \
61         syslevel.c \
62         system.c \
63         tape.c \
64         task.c \
65         thread.c \
66         thunk.c \
67         time.c \
68         toolhelp.c \
69         utthunk.c \
70         version.c \
71         virtual.c \
72         volume.c \
73         vxd.c \
74         windebug.c \
75         wowthunk.c
76
77 C_SRCS16 = \
78         atom16.c \
79         error16.c \
80         registry16.c \
81         toolhelp16.c \
82         win87em.c
83
84 ASM_SRCS = relay16asm.s
85
86 RC_SRCS = kernel.rc
87
88 RC_SRCS16 = \
89         version16.rc
90
91 MC_SRCS = \
92         messages/winerr_enu.mc
93
94 EXTRA_OBJS   = $(ASM_SRCS:.s=.o)
95 SUBDIRS      = tests
96 EXTRASUBDIRS = messages nls
97
98 @MAKE_DLL_RULES@
99
100 kernel.res: $(MC_SRCS:.mc=.mc.rc)
101
102 relay16asm.s: $(WINEBUILD)
103         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
104
105 # Special rules for 16-bit resource and spec files
106
107 krnl386.exe.spec.c: krnl386.exe.spec version16.res
108         $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
109
110 version16.res: version16.rc
111         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
112
113 clean::
114         $(RM) $(ASM_SRCS)
115
116 ### Dependencies: