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 maindir=rom/kernel \
15 files="$(FILES) $(FUNCS)"
17 NATIVE_BINDIR := $(AROSDIR)/Libs/Host
18 NATIVE_LIBDIR := $(AROS_DEVELOPMENT)/$(CPU)-mingw32/lib
20 NATIVE_FILES := host_debug host_intr host_mmu
21 NATIVE_AFILES := leaveinterrupt_$(CPU)
23 NATIVE_LDFLAGS := -shared -Wl,--out-implib,$(NATIVE_LIBDIR)/libaroskernel.a
28 kernel-kernel-mingw32-native: $(NATIVE_LIBDIR)
31 @$(MKDIR) $(NATIVE_LIBDIR)
33 %build_prog mmake=kernel-kernel-mingw32-native \
34 progname=kernel.dll targetdir=$(NATIVE_BINDIR) \
35 files=$(NATIVE_FILES) asmfiles=$(NATIVE_AFILES) compiler=kernel \
36 ldflags=$(NATIVE_LDFLAGS)