aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-10-05 07:58:54 +0000
committerMark Eichin <eichin@cygnus>1992-10-05 07:58:54 +0000
commitfb90daebc94a1b03ae3b6cadebed196abd05e438 (patch)
treea93ee015acc67267b11e7b7aca75cd584dc5c980 /Makefile.in
parent34517ebc854c0fc0314823defa19c4d79e317e12 (diff)
downloadgdb-fb90daebc94a1b03ae3b6cadebed196abd05e438.zip
gdb-fb90daebc94a1b03ae3b6cadebed196abd05e438.tar.gz
gdb-fb90daebc94a1b03ae3b6cadebed196abd05e438.tar.bz2
changes from p3. (new sparclite-wrs-vxworks triple, xiberty rules)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in46
1 files changed, 36 insertions, 10 deletions
diff --git a/Makefile.in b/Makefile.in
index c4f3064..3ceda70 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,7 @@ XTRAFLAGS = ` \
if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \
echo -I$${rootme}/gcc/include ; \
else \
- echo -I$${rootme}/gcc/include -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include ; \
+ echo -I$${rootme}/gcc/include -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -nostdinc ; \
fi ; \
else \
echo ; \
@@ -208,7 +208,7 @@ check:
clean-info:
@rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=clean-info "DODIRS=$(SUBDIRS)" subdir_do
-
+
install-info: install-info-dirs force
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
@@ -239,7 +239,7 @@ clean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \
clean-gcc clean-readline clean-glob clean-gdb \
clean-make clean-diff clean-grep clean-rcs \
clean-cvs clean-patch clean-emacs clean-ispell \
- clean-libg++ clean-gprof clean-send_pr clean-libm
+ clean-libg++ clean-gprof clean-send_pr clean-libm clean-xiberty
-rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
clean-stamps:
@@ -383,6 +383,37 @@ install-libiberty: force
true ; \
fi
+### xiberty
+all-xiberty: all-gcc all-newlib
+ @if [ -f ./xiberty/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot ; \
+ (cd ./xiberty; \
+ $(MAKE) $(FLAGS_TO_PASS) all) ; \
+ else \
+ true ; \
+ fi
+
+clean-xiberty: force
+ @if [ -f ./xiberty/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot ; \
+ (cd ./xiberty; \
+ $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+ else \
+ true ; \
+ fi
+
+install-xiberty: force
+ @if [ -f ./xiberty/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot ; \
+ (cd ./xiberty; \
+ $(MAKE) $(FLAGS_TO_PASS) install) ; \
+ else \
+ true ; \
+ fi
+
### mmalloc
all-mmalloc: force
@if [ -f ./mmalloc/Makefile ] ; then \
@@ -1243,8 +1274,8 @@ Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
# Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
DEVO_SUPPORT= README cfg-paper.texi Makefile.in configure configure.in \
- config.sub config configure.man move-if-change
-GDB_SUPPORT_DIRS= bfd include libiberty mmalloc readline glob
+ config.sub config configure.man configure.texi move-if-change
+GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob
GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) texinfo/fsf/texinfo.tex
setup-dirs: force_update
@@ -1253,11 +1284,6 @@ setup-dirs: force_update
./configure -rm sun4
chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
-bfd.ilrt.tar.Z: setup-dirs
- rm -f bfd.ilrt.tar.Z
- tar cf - $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) \
- | compress -v >bfd.ilrt.tar.Z
-
gdb.tar.Z: setup-dirs
(cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir)
$(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z