summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-10-08 14:05:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-10-08 14:05:38 +0000
commitf5afb698cd71db880fbe916aa179aed066a1d6ad (patch)
tree1697dee60cdb28fccfe180ca4b5077f1e7f83cde /Makefile.in
parent0c618b67e3c12ba6d80cca4155156aaa034e855c (diff)
downloadrtems-f5afb698cd71db880fbe916aa179aed066a1d6ad.tar.bz2
Reworked building of make subdirectory and contents in the object
tree.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index cf77889e15..2b50541dac 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -103,6 +103,16 @@ clean_modules:
rm -f src/Modules/rtems/.moduleavailcache
rm -f src/Modules/rtems/.moduleavailcachedir
+make/directory.cfg make/leaf.cfg make/lib.cfg make/main.cfg
mlink:
- test -d make || ln -s $(RTEMS_ROOT)/make make
+ if [ ! -d make ] ; then \
+ (cd $(srcdir)/c; tar cf - make/compilers make/custom make/os \
+ make/directory.cfg make/leaf.cfg make/lib.cfg make/main.cfg \
+ make/Templates/Makefile.dir \
+ make/Templates/Makefile.leaf make/Templates/Makefile.lib) | \
+ tar xpBf - ; rm -rf make/CVS make/*/CVS ; \
+ cp c/make/Templates/Makefile.inc make/Templates/Makefile.inc ; \
+ fi
+
+