3 include $(SRCDIR)/config/aros.cfg
6 FAMILY_INCLUDES := -I$(SRCDIR)/arch/all-$(FAMILY)/filesys/emul_handler
9 USER_CFLAGS := -DADATE="\"$(shell date '+%d.%m.%Y')\""
10 USER_INCLUDES := -I$(SRCDIR)/arch/all-$(ARCH)/filesys/emul_handler $(FAMILY_INCLUDES) -I$(SRCDIR)/$(CURDIR) -iquote $(SRCDIR)/rom/expansion -iquote $(SRCDIR)/rom/dosboot
11 USER_LDFLAGS := -static
13 FILES := emul_init emul_handler filenames emul_host
16 # Emergency console is useless on mobile platforms (currently all targets with variants),
17 # because they don't provide somehow usable stdin/stdout.
18 ifeq ($(AROS_TARGET_VARIANT),)
19 FILES += $(CONSOLE_FILES)
21 USER_CFLAGS += -DNO_EMERGENCY_CONSOLE
24 %build_module mmake=kernel-fs-emul \
25 modname=emul modtype=resource modsuffix=handler version=$(AROS_TARGET_PLATFORM) \
26 files="$(FILES) $(FUNCS)" \
27 moduledir=$(AROS_DIR_ARCH)/L