clean up some makefile issues. (NicJA)
[AROS.git] / arch / m68k-amiga / cia / mmakefile.src
blob0de9c8fb84f255cd0b1932d6f9de746da56b116e
1 # $Id$
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"
13 #MM
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=$@ $<