1 EXTRADEFS = -D_KERNEL32_ -DETCDIR="\"$(sysconfdir)\""
2 TOPSRCDIR = @top_srcdir@
7 IMPORTLIB = libkernel32.$(IMPLIBEXT)
9 EXTRALIBS = $(LIBUNICODE) @COREFOUNDATIONLIB@
83 ASM_SRCS = relay16asm.s
91 messages/winerr_enu.mc
93 EXTRA_OBJS = $(ASM_SRCS:.s=.o)
95 EXTRASUBDIRS = messages nls
99 kernel.res: $(MC_SRCS:.mc=.mc.rc)
101 relay16asm.s: $(WINEBUILD)
102 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --relay16
104 # Special rules for 16-bit resource and spec files
106 krnl386.exe.spec.c: krnl386.exe.spec version16.res
107 $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --dll-name kernel --main-module $(MODULE) --res version16.res --export $(SRCDIR)/krnl386.exe.spec
109 version16.res: version16.rc
110 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc