Indentation fix, cleanup.
[AROS.git] / rom / battclock / mmakefile.src
blob5f8d58c6bc2fe097500f5b3e067abc87f7b61a17
1 # $Id$
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"
8 # for this to work
9 USER_INCLUDES := -I$(SRCDIR)/arch/$(CPU)-$(ARCH)/battclock \
10                  -I$(SRCDIR)/arch/all-$(ARCH)/battclock
11 ifneq ($(FAMILY),)
12     USER_INCLUDES += -I$(SRCDIR)/arch/all-$(FAMILY)/battclock
13 endif
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
17 ifeq ($(ARCH),pc)
18     USER_LDFLAGS := -lacpica
19 endif
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
30 %common