2006-10-12 22:56:29 +02: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
|
2005-05-09 16:42:30 +02:00
|
|
|
IMPORTLIB = libkernel32.$(IMPLIBEXT)
|
2002-05-12 01:06:32 +02:00
|
|
|
IMPORTS = ntdll
|
2006-08-15 11:41:59 +02:00
|
|
|
EXTRALIBS = @COREFOUNDATIONLIB@ @LIBPOLL@
|
2005-08-09 13:19:01 +02:00
|
|
|
BASEADDRESS = 0x7b800000
|
2000-06-03 02:07:44 +02:00
|
|
|
|
2003-03-23 21:00:02 +01:00
|
|
|
SPEC_SRCS16 = \
|
2003-09-27 04:32:53 +02:00
|
|
|
comm.drv.spec \
|
2003-03-23 21:00:02 +01:00
|
|
|
krnl386.exe.spec \
|
|
|
|
stress.spec \
|
2003-08-19 05:27:45 +02:00
|
|
|
system.drv.spec \
|
2003-03-23 21:00:02 +01:00
|
|
|
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 = \
|
2004-01-30 23:57:21 +01:00
|
|
|
actctx.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 \
|
2003-11-13 21:58:55 +01:00
|
|
|
cpu.c \
|
2000-09-29 22:48:04 +02:00
|
|
|
debugger.c \
|
2003-09-18 22:58:41 +02:00
|
|
|
dosmem.c \
|
2002-07-31 21:20:28 +02:00
|
|
|
editline.c \
|
2003-11-13 21:58:55 +01:00
|
|
|
environ.c \
|
2003-09-17 07:31:32 +02:00
|
|
|
except.c \
|
|
|
|
fiber.c \
|
2003-06-24 04:32:01 +02:00
|
|
|
file.c \
|
|
|
|
file16.c \
|
2000-07-25 19:53:58 +02:00
|
|
|
format_msg.c \
|
2003-09-18 22:58:41 +02:00
|
|
|
global16.c \
|
2003-09-16 22:34:14 +02:00
|
|
|
heap.c \
|
2003-09-17 06:34:31 +02:00
|
|
|
instr.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 \
|
2005-07-25 13:08:30 +02:00
|
|
|
lzexpand.c \
|
2003-11-06 02:09:58 +01:00
|
|
|
module.c \
|
2003-08-23 02:03:40 +02:00
|
|
|
ne_module.c \
|
|
|
|
ne_segment.c \
|
2005-04-20 17:43:36 +02:00
|
|
|
oldconfig.c \
|
2004-01-15 01:20:46 +01:00
|
|
|
path.c \
|
2003-08-12 20:56:54 +02:00
|
|
|
powermgnt.c \
|
2003-06-27 06:08:04 +02:00
|
|
|
process.c \
|
2003-08-26 04:54:37 +02:00
|
|
|
profile.c \
|
2003-09-03 02:26:08 +02:00
|
|
|
pthread.c \
|
2003-08-26 04:28:59 +02:00
|
|
|
relay16.c \
|
2003-04-30 02:53:23 +02:00
|
|
|
resource.c \
|
|
|
|
resource16.c \
|
2003-09-18 22:58:41 +02:00
|
|
|
selector.c \
|
2003-08-26 04:28:59 +02:00
|
|
|
snoop16.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 \
|
2003-09-18 06:39:13 +02:00
|
|
|
syslevel.c \
|
2003-09-17 06:34:31 +02:00
|
|
|
system.c \
|
2003-06-24 05:34:15 +02:00
|
|
|
tape.c \
|
2003-08-23 02:03:40 +02:00
|
|
|
task.c \
|
2003-06-24 05:34:15 +02:00
|
|
|
thread.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 \
|
2003-09-24 07:26:00 +02:00
|
|
|
version.c \
|
2003-11-13 21:58:55 +01:00
|
|
|
virtual.c \
|
2004-03-09 02:03:03 +01:00
|
|
|
volume.c \
|
2003-09-18 02:06:02 +02:00
|
|
|
vxd.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 = \
|
2005-02-03 17:58:21 +01:00
|
|
|
atom16.c \
|
2003-05-21 20:31:01 +02:00
|
|
|
error16.c \
|
2005-08-29 12:20:51 +02:00
|
|
|
kernel16.c \
|
2005-05-24 12:12:06 +02:00
|
|
|
registry16.c \
|
|
|
|
toolhelp16.c \
|
|
|
|
win87em.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 = \
|
2006-10-10 01:08:26 +02:00
|
|
|
nls/winerr_deu.mc \
|
2006-10-24 09:15:30 +02:00
|
|
|
nls/winerr_enu.mc \
|
|
|
|
nls/winerr_kor.mc
|
2000-07-10 15:11:27 +02:00
|
|
|
|
2005-09-21 16:23:54 +02:00
|
|
|
EXTRA_OBJS = relay16asm.o
|
2006-08-28 13:37:44 +02:00
|
|
|
|
2006-09-12 13:01:46 +02:00
|
|
|
EXTRASUBDIRS = nls
|
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
|
|
|
|
2005-09-21 16:23:54 +02:00
|
|
|
relay16asm.o: $(WINEBUILD)
|
|
|
|
$(WINEBUILD) $(WINEBUILDFLAGS) -o $@ --relay16
|
2003-08-26 04:28:59 +02:00
|
|
|
|
2002-09-12 19:24:14 +02:00
|
|
|
# Special rules for 16-bit resource and spec files
|
|
|
|
|
2005-09-21 16:23:54 +02:00
|
|
|
krnl386.exe.spec.o: krnl386.exe.spec version16.res
|
|
|
|
$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(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
|
|
|
|
2006-09-14 09:38:16 +02:00
|
|
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|