1 # Copyright © 1995-2001, The AROS Development Team. All rights reserved.
4 # Desc: General rules included at the end of a generated mmakefile
7 GLOB_MKDIRS := $(sort $(GLOB_MKDIRS))
8 ifneq ($(GLOB_MKDIRS),)
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 $(SRCDIR)/tools/cxref/configure : $(SRCDIR)/tools/cxref/configure.in
20 cd $(SRCDIR)/tools/cxref ; aclocal ; autoconf
22 $(TOP)/tools/cxref/Makefile : $(SRCDIR)/tools/cxref/configure $(SRCDIR)/tools/cxref/Makefile.in
23 @$(IF) [ ! -d $(TOP)/tools/cxref ]; then \
24 $(MECHO) $(MKDIR) "$(TOP)/tools/cxref" ; \
25 $(MKDIR) "$(TOP)/tools/cxref"; \
27 cd $(TOP)/tools/cxref ; \
28 CC='' CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" $(SRCDIR)/tools/cxref/configure --prefix=$(TOOLDIR) --oldincludedir=/include
30 $(CXREF): $(SRCDIR)/tools/cxref/*.[chyl] $(SRCDIR)/tools/cxref/cpp/*.[ch] $(SRCDIR)/tools/cxref/query/*.[ch] \
31 $(TOP)/tools/cxref/Makefile
32 $(MAKE) $(MKARGS) -C $(SRCDIR)/tools/cxref TOP=$(TOP) SRCDIR=$(SRCDIR)
33 cp $(TOP)/tools/cxref/cxref$(HOST_EXE_SUFFIX) $(CXREF)