Added a test for MUIA_Listview_SelectChange.
[AROS.git] / rom / kernel / mmakefile.src
blob2cc45f43d15023f54d3868164ec4a16f81474ea1
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
6 # Allow to override include files by placing them in arch-specific directories
7 # Note that kernel_#?.h files must be included using #include <name>, not #include "name"
8 # for this to work.
9 # __AROS_EXEC_LIBRARY__ definition is needed for UNIX-hosted builds. kernel_base.h includes
10 # kernel_cpu.h, which needs host OS includes for some CPU-specific defintions (host OS CPU context).
11 # The code in rom/kernel is plain AROS code, it must not depend on host includes in any way, in order
12 # not to overcomplicate the build. This definition prevents kernel_cpu.h from including host-specific
13 # stuff. The name of this definition is legacy, in ancient times exec.library included some private
14 # kernel's stuff and needed this.
15 USER_INCLUDES := $(PRIV_KERNEL_INCLUDES) \
16                  -D__AROS_EXEC_LIBRARY__ \
17                 -DAROS_ARCHITECTURE="\"$(AROS_TARGET_PLATFORM)\"" \
19 # Allow to add architecture-specific options
20 -include $(SRCDIR)/arch/all-$(ARCH)/kernel/make.opts
21 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/kernel/make.opts
22 ifneq ($(AROS_TARGET_VARIANT),)
23 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/$(AROS_TARGET_VARIANT)/kernel/make.opts
24 endif
26 FUNCS :=     spininit spinislocked spintrylock spinlock spinunlock addexceptionhandler          \
27              addirqhandler bug cause cli createcontext deletecontext                            \
28              displayalert dispatch getbootinfo getscheduler issuper mapglobal modifyirqhandler  \
29              remexceptionhandler remirqhandler schedule setprotection setscheduler sti          \
30              switch unmapglobal virtualtophysical obtaininput releaseinput                      \
31              putchar maygetchar allocpages freepages getsystemattr formatstr                    \
32              initmemory statmemory _bug _displayalert getcpucount getcpunumber getcpumask       \
33              allockernelbase prepareexecbase
34 FILES     := kernel_init cpu_init kernel_cpu kernel_debug kernel_panic kernel_intr \
35              kernel_memory kernel_romtags kernel_scheduler kernel_globals tlsf
36 MMU_FILES := kernel_mm
37 # You can replace this with own algorithm
38 ALLOCATOR := mm_linear
40 ifeq ($(USE_MMU),1)
41     FILES += $(MMU_FILES) $(ALLOCATOR)
42 endif
44 %build_module mmake=kernel-kernel \
45   modname=kernel modtype=resource version=$(AROS_TARGET_PLATFORM) \
46   files="$(FILES) $(FUNCS)" nostartup=no archspecific=yes
48 %common