1 EXTRADEFS = -D_KERNEL32_ -DETCDIR="\"$(sysconfdir)\""
2 TOPSRCDIR = @top_srcdir@
8 ALTNAMES = krnl386.exe comm.drv stress.dll system.drv toolhelp.dll windebug.dll win87em.dll
9 EXTRALIBS = $(LIBUNICODE)
21 $(TOPOBJDIR)/files/directory.c \
22 $(TOPOBJDIR)/files/dos_fs.c \
23 $(TOPOBJDIR)/files/drive.c \
24 $(TOPOBJDIR)/files/file.c \
25 $(TOPOBJDIR)/files/smb.c \
26 $(TOPOBJDIR)/misc/options.c \
27 $(TOPOBJDIR)/misc/registry.c \
86 ASM_SRCS = relay16asm.s
94 messages/winerr_enu.mc
96 EXTRA_OBJS = $(ASM_SRCS:.s=.o)
106 kernel.res: $(MC_SRCS:.mc=.mc.rc)
108 relay16asm.s: $(WINEBUILD)
109 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
111 # Special rules for 16-bit resource and spec files
113 krnl386.exe.spec.c: krnl386.exe.spec version16.res
114 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/krnl386.exe.spec
116 version16.res: version16.rc
117 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc