3 include $(SRCDIR)/config/aros.cfg
5 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES)
7 #MM kernel-kernel-mingw32: kernel-kernel-mingw32-native
9 FUNCS := addirqhandler cli _displayalert issuper setprotection sti maygetchar putchar obtaininput
10 FILES := kernel_startup kernel_debug kernel_intr kernel_cpu cpu_$(CPU)
13 mainmmake=kernel-kernel modname=kernel maindir=rom/kernel \
15 files="$(FILES) $(FUNCS)"
17 NATIVE_BINDIR := $(AROSDIR)/Libs/Host
18 NATIVE_LIBDIR := $(AROS_DEVELOPER)/$(CPU)-mingw32/lib
20 NATIVE_FILES := host_debug host_intr host_mmu
21 NATIVE_AFILES := leaveinterrupt_$(CPU)
23 NATIVE_CFLAGS := $(KERNEL_CLFAGS) -Winline
24 NATIVE_LDFLAGS := -shared -Wl,--out-implib,$(NATIVE_LIBDIR)/libaroskernel.a
29 kernel-kernel-mingw32-native: $(NATIVE_LIBDIR)
32 @$(MKDIR) $(NATIVE_LIBDIR)
34 %build_prog mmake=kernel-kernel-mingw32-native \
35 progname=kernel.dll targetdir=$(NATIVE_BINDIR) \
36 files=$(NATIVE_FILES) asmfiles=$(NATIVE_AFILES) compiler=kernel \
37 cflags=$(NATIVE_FLAGS) ldflags=$(NATIVE_LDFLAGS)