2 include $(TOP)/config/make.cfg
4 INCLUDE_FILES := $(call WILDCARD, aros/*.h)
5 %copy_includes mmake=compiler-includes path=aros/m68k dir=aros
7 INCLUDE_FILES := jmpdefs.h
8 %copy_includes mmake=includes-common-m68k
10 #MM- compiler-includes: includes-generated-m68k-libcall
12 #MM includes-generated-m68k-libcall
13 includes-generated-m68k-libcall: \
14 $(AROS_INCLUDES)/aros/m68k/libcall.h \
15 $(AROS_INCLUDES)/aros/m68k/asmcall.h
17 $(AROS_INCLUDES)/aros/m68k/asmcall.h: $(HOSTGENDIR)/tools/gencall_m68k | $(AROS_INCLUDES)/aros/m68k
18 $(HOSTGENDIR)/tools/gencall_m68k asmcall >$@
20 $(AROS_INCLUDES)/aros/m68k/libcall.h: $(HOSTGENDIR)/tools/gencall_m68k | $(AROS_INCLUDES)/aros/m68k
21 $(HOSTGENDIR)/tools/gencall_m68k libcall >$@
23 GLOB_MKDIRS += $(AROS_INCLUDES)/aros/m68k
25 $(HOSTGENDIR)/tools/gencall_m68k: $(SRCDIR)/$(CURDIR)/gencall.c
26 @$(HOST_CC) -Wall -Werror -o $@ $<