1 EXTRADEFS = -D_KERNEL32_
2 TOPSRCDIR = @top_srcdir@
8 ALTNAMES = krnl386.exe comm.dll stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
10 EXTRALIBS = $(LIBUNICODE)
11 DLLMAIN = MAIN_KernelInit
67 ASM_SRCS = relay16asm.s
75 messages/winerr_enu.mc
77 EXTRA_OBJS = $(ASM_SRCS:.s=.o)
79 EXTRASUBDIRS = messages nls
83 kernel.res: $(MC_SRCS:.mc=.mc.rc)
85 relay16asm.s: $(WINEBUILD)
86 $(WINEBUILD) $(DEFS) -o $@ --relay16
88 # Special rules for 16-bit resource and spec files
90 krnl386.exe.spec.c: krnl386.exe.spec version16.res
91 $(WINEBUILD) $(DEFS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
93 version16.res: version16.rc
94 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc