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
|
2002-05-09 02:05:48 +02:00
|
|
|
ALTNAMES = krnl386.exe comm.dll stress.dll system.dll toolhelp.dll windebug.dll win87em.dll wprocs.dll
|
|
|
|
LDIMPORTS = ntdll.dll
|
2002-11-06 21:02:59 +01:00
|
|
|
DLLMAIN = MAIN_KernelInit
|
2000-06-03 02:07:44 +02:00
|
|
|
|
2000-06-03 06:49:40 +02:00
|
|
|
C_SRCS = \
|
2002-08-16 01:18:47 +02:00
|
|
|
$(TOPOBJDIR)/ole/ole2nls.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 \
|
2002-08-16 01:18:47 +02:00
|
|
|
locale.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 = \
|
|
|
|
registry16.c
|
|
|
|
|
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-01 20:36:58 +02:00
|
|
|
EXTRA_OBJS = $(MODULE).glue.o
|
2000-08-14 16:29:22 +02:00
|
|
|
|
2002-08-09 03:22:40 +02:00
|
|
|
SUBDIRS = tests
|
|
|
|
EXTRASUBDIRS = messages 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
|
|
|
|
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
|
|
|
|
$(LDPATH) $(WINEBUILD) $(DEFS) -N kernel -o $@ -M $(MODULE) -r version16.res --spec $(SRCDIR)/krnl386.exe.spec
|
2001-02-23 21:37:13 +01:00
|
|
|
|
|
|
|
version16.res: version16.rc
|
2002-12-11 02:34:51 +01:00
|
|
|
$(LDPATH) $(WRC) $(WRCFLAGS) $(DIVINCL) -o $@ -w16 -r $(SRCDIR)/version16.rc
|
2001-02-23 21:37:13 +01:00
|
|
|
|
2000-06-03 02:07:44 +02:00
|
|
|
### Dependencies:
|