4.104.114.84.95
Last change
on this file since bffb938 was
bffb938,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/98 at 19:30:30
|
Removed PROJECT_HOME and CONFIG_DIR variables.
|
-
Property mode set to
100644
|
File size:
977 bytes
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | # make/directory.cfg |
---|
5 | # |
---|
6 | # Make(1) configuration file include'd by all directory-level Makefile's. |
---|
7 | # |
---|
8 | # See also make/main.cfg |
---|
9 | # |
---|
10 | |
---|
11 | # include $(RTEMS_ROOT)/make/main.cfg |
---|
12 | |
---|
13 | # on a 'make -k' we don't want to bomb out of directory list |
---|
14 | EXIT_CMD=exit 1 |
---|
15 | ifeq (k, $(findstring k, $(MAKEFLAGS))) |
---|
16 | EXIT_CMD=true |
---|
17 | endif |
---|
18 | |
---|
19 | RULE=$(shell echo $@ | $(SED) -e s/debug_// -e s/profile_//) |
---|
20 | |
---|
21 | ifeq ($(RTEMS_USE_OWN_PDIR),yes) |
---|
22 | $(RECURSE_TARGETS): |
---|
23 | @$(ECHO); \ |
---|
24 | BASEDIR=`pwd`; \ |
---|
25 | for subd in $(SUB_DIRS) xxx; \ |
---|
26 | do if [ $$subd != xxx ] ; then \ |
---|
27 | cd $$BASEDIR; \ |
---|
28 | $(ECHO); \ |
---|
29 | $(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \ |
---|
30 | cmd="cd $$subd; $(MAKE) $(RULE)"; \ |
---|
31 | $(ECHO) $$cmd; \ |
---|
32 | eval $$cmd || $(EXIT_CMD); \ |
---|
33 | fi; done; \ |
---|
34 | $(ECHO); \ |
---|
35 | $(ECHO) "*** $$BASEDIR/$@ ($@) Finished."; \ |
---|
36 | $(ECHO) |
---|
37 | $($@_WRAPUP) |
---|
38 | else |
---|
39 | ifdef RECURSE_TARGETS |
---|
40 | $(RECURSE_TARGETS): |
---|
41 | set -e; for subd in $(SUB_DIRS); do $(MAKE) -w -C $$subd $@; done |
---|
42 | endif |
---|
43 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.