Scale the buffer sizes with MAX_LISTED_ENV_VAR.
[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 IMPORTS   = ntdll
8 ALTNAMES  = krnl386.exe comm.drv stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
9 EXTRALIBS = $(LIBUNICODE)
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         $(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         atom.c \
29         change.c \
30         comm.c \
31         computername.c \
32         console.c \
33         cpu.c \
34         debugger.c \
35         device.c \
36         dosmem.c \
37         editline.c \
38         environ.c \
39         except.c \
40         fiber.c \
41         file.c \
42         file16.c \
43         format_msg.c \
44         global16.c \
45         heap.c \
46         instr.c \
47         kernel_main.c \
48         lcformat.c \
49         local16.c \
50         locale.c \
51         module.c \
52         ne_module.c \
53         ne_segment.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         vxd.c \
78         win87em.c \
79         windebug.c \
80         wowthunk.c
81
82 C_SRCS16 = \
83         error16.c \
84         registry16.c
85
86 ASM_SRCS = relay16asm.s
87
88 RC_SRCS = kernel.rc
89
90 RC_SRCS16 = \
91         version16.rc
92
93 MC_SRCS = \
94         messages/winerr_enu.mc
95
96 EXTRA_OBJS   = $(ASM_SRCS:.s=.o)
97 SUBDIRS      = tests
98 EXTRASUBDIRS = \
99         $(TOPOBJDIR)/files \
100         $(TOPOBJDIR)/misc \
101         messages \
102         nls
103
104 @MAKE_DLL_RULES@
105
106 kernel.res: $(MC_SRCS:.mc=.mc.rc)
107
108 relay16asm.s: $(WINEBUILD)
109         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
110
111 # Special rules for 16-bit resource and spec files
112
113 krnl386.exe.spec.c: krnl386.exe.spec version16.res
114         $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
115
116 version16.res: version16.rc
117         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
118
119 clean::
120         $(RM) $(ASM_SRCS)
121
122 ### Dependencies: