dtpic.mui: added MUI4 attributes. (Only attribute
[AROS.git] / arch / .unmaintained / m68k-linux / mmakefile.src
blobfcc5f4cdd2fccb880d2588fd7a93d44be8319a4e
1 # $Id$
2 include $(TOP)/config/make.cfg
4 GENINC          := $(TOOLDIR)/geninc-m68k-linux$(HOST_EXE_SUFFIX)
5 OS_INCLUDES     := -I$(GENINCDIR)
6 USER_INCLUDES   := -I$(TOP)/rom/exec
7 INCFILES        := $(GENINCDIR)/aros/machine.h \
8                    $(AROS_INCLUDES)/aros/machine.h \
9                    $(GENINCDIR)/jmpdefs.h
10 MACHINE_H       := $(GENINCDIR)/aros/machine.h
12 #MM
13 includes-linux-m68k : $(INCFILES) machine.i
14         @$(NOP)
16 #MM
17 clean::
18         $(RM) $(INCFILES) $(TESTS) machine.i $(GENINC)
20 $(AROS_INCLUDES)/aros/%.h : %.h
21         %mkdirs_q $(AROS_INCLUDES)/aros
22         $(CP) $< $@
24 $(GENINCDIR)/aros/%.h : %.h
25         %mkdirs_q $(GENINCDIR)/aros
26         $(CP) $< $@
28 $(GENINCDIR)/%.h : %.h
29         %mkdirs_q $(GENINCDIR)
30         $(CP) $< $@
32 machine.i: $(GENINC) $(MACHINE_H)
33         $(GENINC) > machine.i
35 $(GENINC) : geninc.c
36         @echo "CFLAGS=$(CFLAGS)"
37         @echo "Creating geninc..."
38         @$(CC) $(CFLAGS) -o $@ $<
40 %common