move the smp-test code into its own folder
[AROS.git] / rom / timer / mmakefile.src
blobc42884e952e8885f629e02d1910e239d970e3aad
1 #   $Id$
3 include $(SRCDIR)/config/aros.cfg
5 # Allow to override timer_platform.h
6 USER_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/timer  \
7                  -I$(SRCDIR)/arch/all-$(ARCH)/timer
8 ifneq ($(FAMILY),)
9 USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/timer
10 endif
11 USER_INCLUDES += -I$(SRCDIR)/rom/timer
13 # Allow to add architecture-specific options
14 # -DUSE_VBLANK_EMU needs to be defined in make.opts if needed, because
15 # autogenerated startup code (which is processed by this mmakefile)
16 # needs proper sizeof(struct TimerBase) value
17 -include $(SRCDIR)/arch/all-$(ARCH)/timer/make.opts
18 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/timer/make.opts
19 ifneq ($(AROS_TARGET_VARIANT),)
20 -include $(SRCDIR)/arch/$(CPU)-$(ARCH)/$(AROS_TARGET_VARIANT)/timer/make.opts
21 endif
23 FILES := common_init timer_init lowlevel ticks timervblank
24 FUNCS := abortio addtime beginio cmptime getsystime subtime readeclock
26 USER_LDFLAGS := -static
28 %build_module mmake=kernel-timer \
29   modname=timer modtype=device version=$(AROS_TARGET_PLATFORM) \
30   files="$(FUNCS) $(FILES)" archspecific=yes
32 %common