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 modname=emul maindir=$(MAINDIR) \
16 arch=mingw32 files=$(FILES)
18 NATIVE_BINDIR := $(AROSDIR)/Libs/Host
19 NATIVE_LIBDIR := $(AROS_DEVELOPER)/$(CPU)-mingw32/lib
21 NATIVE_FILES := emul_handler_native
23 NATIVE_LDFLAGS := -shared -L$(NATIVE_LIBDIR)
25 USER_INCLUDES := -I$(AROS_DEVELOPER)/$(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)