Added 'Resident' field to ensure that the handler is included in the
[AROS.git] / rom / timer / mmakefile.src
bloba9d1fd01ea49ab1e933a92a334ddf19ae38cb4be
1 #   $Id$
2 include $(TOP)/config/make.cfg
4 # Allow to override timer_platform.h
5 USER_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/timer  \
6                  -I$(SRCDIR)/arch/all-$(ARCH)/timer
7 ifneq ($(FAMILY),)
8 USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/timer
9 endif
10 USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/timer   \
11                  -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 %build_module mmake=kernel-timer \
27   modname=timer modtype=device version=$(AROS_TARGET_PLATFORM) \
28   files="$(FUNCS) $(FILES)"
30 %common