3 include $(SRCDIR)/config/aros.cfg
5 GENINC := $(TOOLDIR)/geninc-m68k-linux$(HOST_EXE_SUFFIX)
6 OS_INCLUDES := -I$(GENINCDIR)
7 USER_INCLUDES := -I$(TOP)/rom/exec
8 INCFILES := $(GENINCDIR)/aros/machine.h \
9 $(AROS_INCLUDES)/aros/machine.h \
10 $(GENINCDIR)/jmpdefs.h
11 MACHINE_H := $(GENINCDIR)/aros/machine.h
14 includes-linux-m68k : $(INCFILES) machine.i
19 $(RM) $(INCFILES) $(TESTS) machine.i $(GENINC)
21 $(AROS_INCLUDES)/aros/%.h : %.h
22 %mkdirs_q $(AROS_INCLUDES)/aros
25 $(GENINCDIR)/aros/%.h : %.h
26 %mkdirs_q $(GENINCDIR)/aros
29 $(GENINCDIR)/%.h : %.h
30 %mkdirs_q $(GENINCDIR)
33 machine.i: $(GENINC) $(MACHINE_H)
37 @echo "CFLAGS=$(CFLAGS)"
38 @echo "Creating geninc..."
39 @$(CC) $(CFLAGS) -o $@ $<