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