2002-10-29 22:26:42 +01:00
|
|
|
EXTRADEFS = -D_KERNEL32_
|
2000-06-03 02:07:44 +02:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ../..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2002-03-20 23:19:06 +01:00
|
|
|
MODULE = kernel32.dll
|
2002-05-12 01:06:32 +02:00
|
|
|
IMPORTS = ntdll
|
2003-05-16 01:25:49 +02:00
|
|
|
ALTNAMES = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll
|
2002-05-09 02:05:48 +02:00
|
|
|
LDIMPORTS = ntdll.dll
|
2003-04-01 01:58:27 +02:00
|
|
|
EXTRALIBS = $(LIBUNICODE)
|
2002-11-06 21:02:59 +01:00
|
|
|
DLLMAIN = MAIN_KernelInit
|
2000-06-03 02:07:44 +02:00
|
|
|
|
2003-03-23 21:00:02 +01:00
|
|
|
SPEC_SRCS16 = \
|
|
|
|
comm.spec \
|
|
|
|
krnl386.exe.spec \
|
|
|
|
stress.spec \
|
|
|
|
system.spec \
|
|
|
|
toolhelp.spec \
|
|
|
|
win87em.spec \
|
2003-05-16 01:25:49 +02:00
|
|
|
windebug.spec
|
2003-03-23 21:00:02 +01:00
|
|
|
|
2000-06-03 06:49:40 +02:00
|
|
|
C_SRCS = \
|
2002-08-16 01:18:47 +02:00
|
|
|
$(TOPOBJDIR)/ole/ole2nls.c \
|
2003-05-16 02:05:08 +02:00
|
|
|
atom.c \
|
2003-03-27 00:41:43 +01:00
|
|
|
change.c \
|
2000-10-13 19:11:30 +02:00
|
|
|
comm.c \
|
2002-11-15 02:01:47 +01:00
|
|
|
computername.c \
|
2001-11-30 19:46:42 +01:00
|
|
|
console.c \
|
2000-09-29 22:48:04 +02:00
|
|
|
debugger.c \
|
2002-07-31 21:20:28 +02:00
|
|
|
editline.c \
|
2000-07-25 19:53:58 +02:00
|
|
|
format_msg.c \
|
2000-07-24 20:30:00 +02:00
|
|
|
kernel_main.c \
|
2003-03-22 01:23:16 +01:00
|
|
|
lcformat.c \
|
2003-05-16 22:15:26 +02:00
|
|
|
local16.c \
|
2002-08-16 01:18:47 +02:00
|
|
|
locale.c \
|
2003-04-30 02:53:23 +02:00
|
|
|
resource.c \
|
|
|
|
resource16.c \
|
2000-07-26 21:51:37 +02:00
|
|
|
stress.c \
|
2001-05-24 21:32:00 +02:00
|
|
|
string.c \
|
2000-09-29 22:48:04 +02:00
|
|
|
sync.c \
|
2000-07-25 18:42:25 +02:00
|
|
|
thunk.c \
|
2000-09-29 22:48:04 +02:00
|
|
|
time.c \
|
2000-07-31 23:01:05 +02:00
|
|
|
toolhelp.c \
|
2000-07-25 18:42:25 +02:00
|
|
|
utthunk.c \
|
2000-07-24 20:30:00 +02:00
|
|
|
win87em.c \
|
2000-07-25 18:42:25 +02:00
|
|
|
windebug.c \
|
|
|
|
wowthunk.c
|
2000-06-03 06:49:40 +02:00
|
|
|
|
2002-10-02 04:34:09 +02:00
|
|
|
C_SRCS16 = \
|
2003-05-21 20:31:01 +02:00
|
|
|
error16.c \
|
2003-05-20 19:50:59 +02:00
|
|
|
registry16.c \
|
|
|
|
system.c
|
2002-10-02 04:34:09 +02:00
|
|
|
|
2002-05-12 01:06:32 +02:00
|
|
|
RC_SRCS = kernel.rc
|
2001-05-31 23:37:29 +02:00
|
|
|
|
|
|
|
RC_SRCS16 = \
|
2001-03-08 02:17:03 +01:00
|
|
|
version16.rc
|
2000-07-25 19:53:58 +02:00
|
|
|
|
|
|
|
MC_SRCS = \
|
|
|
|
messages/winerr_enu.mc
|
2000-07-10 15:11:27 +02:00
|
|
|
|
2002-08-09 03:22:40 +02:00
|
|
|
SUBDIRS = tests
|
2003-03-20 02:30:11 +01:00
|
|
|
EXTRASUBDIRS = messages nls $(TOPOBJDIR)/ole
|
2002-03-22 02:00:17 +01:00
|
|
|
|
2000-06-03 02:07:44 +02:00
|
|
|
@MAKE_DLL_RULES@
|
|
|
|
|
2000-11-06 06:30:48 +01:00
|
|
|
kernel.res: $(MC_SRCS:.mc=.mc.rc)
|
2000-07-25 19:53:58 +02:00
|
|
|
|
2002-09-12 19:24:14 +02:00
|
|
|
# Special rules for 16-bit resource and spec files
|
|
|
|
|
2002-11-19 00:16:09 +01:00
|
|
|
krnl386.exe.spec.c: krnl386.exe.spec version16.res
|
2003-04-22 01:54:05 +02:00
|
|
|
$(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
|
2001-02-23 21:37:13 +01:00
|
|
|
|
|
|
|
version16.res: version16.rc
|
2003-05-06 20:34:53 +02:00
|
|
|
$(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
|
2001-02-23 21:37:13 +01:00
|
|
|
|
2000-06-03 02:07:44 +02:00
|
|
|
### Dependencies:
|