3 include $(SRCDIR)/config/aros.cfg
5 # Do not remove this! It allows to override battclock_intern.h in arch-specific
6 # directory (currently used by Windows-hosted port and m68k-amiga)
7 # Note that overrideable files must be included using #include <name>, not #include "name"
9 USER_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/battclock \
10 -I$(SRCDIR)/arch/all-$(ARCH)/battclock
12 USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/battclock
14 USER_INCLUDES += -I$(SRCDIR)/rom/battclock
15 # uselibs parameter from %build_module is not fit (yet) for optional libs
16 # use good old USER_LDFLAGS instead for the moment
18 USER_LDFLAGS := -lacpica
21 #MM kernel-battclock : includes kernel-battclock-$(ARCH)-$(CPU)
22 #MM kernel-battclock-linklib : includes kernel-battclock-$(ARCH)-$(CPU)
24 FUNCTIONS := readbattclock resetbattclock writebattclock
26 %build_module mmake=kernel-battclock \
27 modname=battclock modtype=resource version=$(AROS_TARGET_PLATFORM) \
28 files="$(FUNCTIONS)" archspecific=yes