3 include $(SRCDIR)/config/aros.cfg
5 FUNCTIONS := ableicr addicrvector remicrvector seticr
7 USER_CPPFLAGS := -DADATE="\"$(shell date '+%d.%m.%Y')\""
9 %build_module_simple mmake=kernel-cia \
10 modname=cia modtype=resource \
11 files="cia_init cia_interrupt $(FUNCTIONS) resident_end"
14 kernel-cia-includes: $(AROS_INCLUDES)/clib/cia_protos.h $(AROS_INCLUDES)/defines/cia.h \
15 $(AROS_INCLUDES)/proto/cia.h
17 $(AROS_INCLUDES)/clib/cia_protos.h: $(SRCDIR)/$(CURDIR)/cia_lib.sfd
18 $(SFDC) --mode=clib --target=x-aros --output=$@ $<
20 $(AROS_INCLUDES)/defines/cia.h: $(SRCDIR)/$(CURDIR)/cia_lib.sfd
21 $(SFDC) --mode=macros --target=x-aros --output=$@ $<
23 $(AROS_INCLUDES)/proto/cia.h: $(SRCDIR)/$(CURDIR)/cia_lib.sfd
24 $(SFDC) --mode=proto --target=x-aros --output=$@ $<