grub2: bring back build of aros-side grub2 tools
[AROS.git] / arch / all-mingw32 / filesys / emul_handler / mmakefile.src
blobe737e32e97905e933575b2b24327479866b4eb65
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- kernel-fs-emul-mingw32: kernel-fs-emul-mingw32-native
6 #MM- kernel-fs-emul-mingw32-kobj: kernel-fs-emul-mingw32-native
8 MAINDIR := arch/all-hosted/filesys/emul_handler
10 USER_INCLUDES := -I$(SRCDIR)/$(CURDIR) -I$(SRCDIR)/$(MAINDIR)
12 FILES := emul_host_mingw32 emul_host filenames
14 %build_archspecific mainmmake=kernel-fs-emul \
15   maindir=$(MAINDIR) \
16   arch=mingw32 files=$(FILES)
18 NATIVE_BINDIR := $(AROSDIR)/Libs/Host
19 NATIVE_LIBDIR := $(AROS_DEVELOPMENT)/$(CPU)-mingw32/lib
21 NATIVE_FILES  := emul_handler_native
23 NATIVE_LDFLAGS := -shared -L$(NATIVE_LIBDIR)
25 USER_INCLUDES := -I$(AROS_DEVELOPMENT)/$(CPU)-mingw32/include
27 %build_prog mmake=kernel-fs-emul-mingw32-native \
28     progname=emul_handler.dll targetdir=$(NATIVE_BINDIR) \
29     files=$(NATIVE_FILES) compiler=kernel uselibs=aroskernel \
30     ldflags=$(NATIVE_LDFLAGS)
32 %common