prism2.device: Compiler delint
[AROS.git] / config / make.tail
blobee79684b66f327b7b7743eeff03f3413eeba49dd
1 #   Copyright © 1995-2011, The AROS Development Team. All rights reserved.
2 #   $Id$
4 #   Desc: General rules included at the end of a generated mmakefile
7 GLOB_MKDIRS := $(sort $(GLOB_MKDIRS))
8 ifneq ($(GLOB_MKDIRS),)
9 $(GLOB_MKDIRS) :
10         $(MKDIR) $@
11 endif
13 include $(SRCDIR)/tools/genmodule/Makefile.deps
15 # Rules for the AROS build tools
16 $(GENMODULE) : $(GENMODULE_DEPS)
17         @$(CALL) $(MAKE) $(MKARGS) -C $(SRCDIR)/tools/genmodule TOP=$(TOP) SRCDIR=$(SRCDIR) $(GENMODULE)
19 # Disk-based module header
20 $(GENDIR)/$(RESIDENT_BEGIN).o : $(SRCDIR)/$(RESIDENT_BEGIN).c
21         @$(ECHO) Compiling $@...
22         @$(TARGET_CC) -c $(CFLAGS) $< -o $@
24 $(SRCDIR)/tools/cxref/configure : $(SRCDIR)/tools/cxref/configure.in
25         cd $(SRCDIR)/tools/cxref ; aclocal ; autoconf
27 $(TOP)/tools/cxref/Makefile : $(SRCDIR)/tools/cxref/configure $(SRCDIR)/tools/cxref/Makefile.in
28         @$(IF) [ ! -d $(TOP)/tools/cxref ]; then \
29             $(MECHO) $(MKDIR) "$(TOP)/tools/cxref" ; \
30             $(MKDIR) "$(TOP)/tools/cxref"; \
31         fi;
32         cd $(TOP)/tools/cxref ; \
33         CC='' CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" $(SRCDIR)/tools/cxref/configure --prefix=$(TOOLDIR) --oldincludedir=/include
35 $(CXREF): $(SRCDIR)/tools/cxref/*.[chyl] $(SRCDIR)/tools/cxref/cpp/*.[ch] $(SRCDIR)/tools/cxref/query/*.[ch] \
36                 $(TOP)/tools/cxref/Makefile
37         $(MAKE) $(MKARGS) -C $(SRCDIR)/tools/cxref TOP=$(TOP) SRCDIR=$(SRCDIR) 
38         cp $(TOP)/tools/cxref/cxref$(HOST_EXE_SUFFIX) $(CXREF)