OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [automake/] [subdirs.am] - Blame information for rev 519

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
## $Id: subdirs.am,v 1.2 2001-09-27 11:59:11 chris Exp $
2
 
3
## Borrowed from automake-1.4 and adapted to RTEMS
4
 
5
## NOTE: This is a temporary work-around to keep
6
## RTEMS's non automake standard make targets working.
7
## Once automake is fully integrated these make targets
8
## and this file will probably be removed
9
 
10
depend-recursive \
11
preinstall-recursive:
12
        @set fnord $(MAKEFLAGS); amf=$$2; \
13
        dot_seen=no; \
14
        target=`echo $@ | sed s/-recursive//`; \
15
        list='$(SUBDIRS)'; for subdir in $$list; do \
16
          echo "Making $$target in $$subdir"; \
17
          if test "$$subdir" = "."; then \
18
            dot_seen=yes; \
19
            local_target="$$target-am"; \
20
          else \
21
            local_target="$$target"; \
22
          fi; \
23
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
24
## This trick allows "-k" to keep its natural meaning when running a
25
## recursive rule.
26
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
27
        done; \
28
        if test "$$dot_seen" = "no"; then \
29
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
30
        fi; test -z "$$fail"
31
 
32
preinstall: preinstall-recursive
33
.PHONY: preinstall-recursive
34
 
35
depend: depend-recursive
36
.PHONY: depend-recursive

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.