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