2 include $(TOP)/config/make.cfg
4 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES)
6 #MM kernel-kernel-mingw32: kernel-kernel-mingw32-native
8 FUNCS := addirqhandler cli _displayalert issuper setprotection sti maygetchar putchar obtaininput
9 FILES := kernel_startup kernel_debug kernel_intr kernel_cpu cpu_$(CPU)
12 mainmmake=kernel-kernel maindir=rom/kernel \
14 files="$(FILES) $(FUNCS)"
16 NATIVE_BINDIR := $(AROSDIR)/Libs/Host
17 NATIVE_LIBDIR := $(AROS_DEVELOPMENT)/$(CPU)-mingw32/lib
19 NATIVE_FILES := host_debug host_intr host_mmu
20 NATIVE_AFILES := leaveinterrupt_$(CPU)
22 NATIVE_LDFLAGS := -shared -Wl,--out-implib,$(NATIVE_LIBDIR)/libaroskernel.a
27 kernel-kernel-mingw32-native: $(NATIVE_LIBDIR)
30 @$(MKDIR) $(NATIVE_LIBDIR)
32 %build_prog mmake=kernel-kernel-mingw32-native \
33 progname=kernel.dll targetdir=$(NATIVE_BINDIR) \
34 files=$(NATIVE_FILES) asmfiles=$(NATIVE_AFILES) compiler=kernel \
35 ldflags=$(NATIVE_LDFLAGS)