New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / arch / ppc-all / include / mmakefile.src
blob895c1b17a57c1ff4a3a98704b13de99f0023f834
1 # $Id$
2 include $(TOP)/config/make.cfg
4 GENINC          := $(TOOLDIR)/geninc-ppc$(HOST_EXE_SUFFIX)
5 USER_INCLUDES   := -I$(GENINCDIR)
6 MACHINE_H       := $(GENINCDIR)/aros/machine.h
7 INCFILES        := $(GENINCDIR)/aros/machine.h \
8                    $(AROS_INCLUDES)/aros/machine.h \
9                    $(GENINCDIR)/jmpdefs.h
11 # The dependancies here are for compiling geninc.c
12 #MM kernel-ppc-machine_i : \
13 #MM     kernel-exec-includes compiler-includes compiler-arossuport-includes
15 #MM
16 includes-common-ppc : $(INCFILES)
18 #MM
19 kernel-ppc-machine_i : machine.i
21 #MM
22 clean::
23         $(RM) $(MACHINE_H) $(DISTMACHINE_H) $(TESTS) machine.i $(GENINC)
25 #MM- kernel-ppc:
27 $(AROS_INCLUDES)/aros/%.h : %.h
28         %mkdirs_q $(AROS_INCLUDES)/aros
29         $(CP) $< $@
31 $(GENINCDIR)/aros/%.h : %.h
32         %mkdirs_q $(GENINCDIR)/aros
33         $(CP) $< $@
35 $(GENINCDIR)/%.h : %.h
36         %mkdirs_q $(GENINCDIR)
37         $(CP) $< $@
39 GENINC_CFLAGS := $(OS_CFLAGS) -I$(GENINCDIR) $(HOST_CFLAGS)
41 $(GENINC) : geninc.c
42         @echo "CFLAGS=$(GENINC_CFLAGS)"
43         @echo "Creating geninc..."
44         @$(HOST_CC) $(GENINC_CFLAGS) -o $@ $<
46 machine.i: $(GENINC) $(MACHINE_H)
47         $(GENINC) > machine.i
49 %common