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