1 # Makefile to build AHI.
4 include $(SRCDIR)/config/aros.cfg
6 #MM- AHI-quick : workbench-devs-AHI-quick
8 #MM- AHI : workbench-devs-AHI
10 #MM- workbench-devs-AHI : workbench-devs-AHI-subsystem AHI-drivers
12 #MM workbench-devs-AHI-subsystem : includes \
14 #MM AHI-alsa-bridge-$(AROS_TARGET_ARCH) \
15 #MM workbench-libs-muimaster-includes
19 NOWARN_FLAGS := $(NOWARN_POINTER_SIGN)
20 AHI_CFLAGS := $(NOWARN_FLAGS) $(CFLAGS_NO_BUILTIN_FLOOR) $(OPTIMIZATION_CFLAGS)
21 AHI_OPTIONS=--with-os-includedir=$(AROS_INCLUDES)
23 # AHI's configure will not set its needed preprocessor flags if we already provide them (even if empty)
24 # so we disable their use in build_with_configure.
25 %build_with_configure mmake=workbench-devs-AHI-subsystem prefix=$(EXEDIR) \
26 extraoptions="$(AHI_OPTIONS)" \
27 extracflags="$(AHI_CFLAGS)" usecppflags=no gnuflags=no