revert between 56095 -> 55830 in arch
[AROS.git] / arch / m68k-all / include / mmakefile.src
blobd38c87f720e518260613397a0313aa349ab4ffcc
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 INCLUDE_FILES := $(call WILDCARD, aros/*.h)
6 %copy_includes mmake=compiler-includes path=aros/m68k dir=aros
8 INCLUDE_FILES := jmpdefs.h
9 %copy_includes mmake=includes-common-m68k
11 #MM- compiler-includes: includes-generated-m68k-libcall
13 #MM includes-generated-m68k-libcall
14 includes-generated-m68k-libcall: \
15     $(AROS_INCLUDES)/aros/m68k/libcall.h \
16     $(AROS_INCLUDES)/aros/m68k/asmcall.h
18 $(AROS_INCLUDES)/aros/m68k/asmcall.h: $(HOSTGENDIR)/tools/gencall_m68k | $(AROS_INCLUDES)/aros/m68k
19         $(HOSTGENDIR)/tools/gencall_m68k asmcall >$@
21 $(AROS_INCLUDES)/aros/m68k/libcall.h: $(HOSTGENDIR)/tools/gencall_m68k | $(AROS_INCLUDES)/aros/m68k
22         $(HOSTGENDIR)/tools/gencall_m68k libcall >$@
24 GLOB_MKDIRS += $(AROS_INCLUDES)/aros/m68k
26 $(HOSTGENDIR)/tools/gencall_m68k: $(SRCDIR)/$(CURDIR)/gencall.c
27         @$(HOST_CC) -Wall -Werror -o $@ $<