2 include $(TOP)/config/make.cfg
4 INCLUDE_FILES := aros/ppc/cpu.h
7 INCLUDE_FILES := jmpdefs.h
8 %copy_includes mmake=includes-common-ppc compiler=host
10 GENINC := $(TOOLDIR)/geninc-ppc$(HOST_EXE_SUFFIX)
11 USER_INCLUDES := -I$(GENINCDIR)
12 MACHINE_H := $(GENINCDIR)/aros/machine.h
14 # The dependancies here are for compiling geninc.c
15 #MM kernel-ppc-machine_i : \
16 #MM kernel-exec-includes compiler-includes compiler-arossuport-includes
19 kernel-ppc-machine_i : machine.i
23 $(RM) machine.i $(GENINC)
25 GENINC_CFLAGS := $(OS_CFLAGS) -I$(GENINCDIR) $(HOST_CFLAGS)
28 @echo "CFLAGS=$(GENINC_CFLAGS)"
29 @echo "Creating geninc..."
30 @$(HOST_CC) $(GENINC_CFLAGS) -o $@ $<
32 machine.i: $(GENINC) $(GENINCDIR)/aros/cpu.h $(GENINCDIR)/aros/ppc/cpu.h