remove erroneous line
[AROS.git] / arch / all-mingw32 / kernel / mmakefile.src
blobd688caea06adce2ed864a581f55a56e86ebedbc8
1 # $Id$
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)
11 %build_archspecific \
12   mainmmake=kernel-kernel maindir=rom/kernel \
13   arch=mingw32 \
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
24 USER_INCLUDES :=
26 #MM
27 kernel-kernel-mingw32-native: $(NATIVE_LIBDIR)
29 $(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)
37 %common