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