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