Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / arch / all-unix / exec / mmakefile.src
blobff3a84ab22a43d092666c5381160cb82cb0ceefe
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 FILES := platform_init coldreboot shutdowna
7 # swapcontext() and friends are not implemented on ARM Linux and are totally missing on Android
8 ifneq ($(AROS_TARGET_CPU), arm)
9 ifneq ($(AROS_TARGET_VARIANT), android)
10 USER_CFLAGS := -DHAVE_SWAPCONTEXT
11 FILES += newstackswap
12 endif
13 endif
15 ifeq ($(ARCH),darwin)
16 USER_CFLAGS += -D_FORTIFY_SOURCE=0
17 endif
19 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) $(PRIV_EXEC_INCLUDES) \
20                  -isystem $(GENINCDIR) $(KERNEL_INCLUDES) \
21                  -DHOST_OS_$(ARCH)
23 ifneq ($(AROS_TARGET_VARIANT),)
24 USER_INCLUDES := -DHOST_OS_$(AROS_TARGET_VARIANT)
25 endif
27 %build_archspecific \
28   mainmmake=kernel-exec maindir=rom/exec \
29   arch=unix files=$(FILES)
31 #MM kernel-exec-unix: kernel-kernel-includes kernel-hostlib-includes
33 %common