* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 1ec2b41843a7c7fb7025d085801b69aa418dec3d..971aae242d920464471b5a0a41b54c0265c1e523 100644 (file)
@@ -1,4 +1,4 @@
-#Copyright 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
+#Copyright 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
 
 # This file is part of GDB.
 
@@ -163,12 +163,14 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${NAT_CDEPS} \
 ADD_FILES = ${REGEX} ${ALLOCA}  ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
 ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES} ${NAT_ADD_FILES}
 
-VERSION = 4.7.5
+VERSION = 4.8.1
 DIST=gdb
 
 LINT=/usr/5bin/lint
 LINTFLAGS= -I${BFD_DIR}
 
+DGFLAGS=
+
 # Host and target-dependent makefile fragments come in here.
 ####
 # End of host and target-dependent makefile fragments
@@ -198,7 +200,7 @@ SFILES_MAINDIR = \
         remote.c source.c stack.c symmisc.c symtab.c symfile.c \
         utils.c valarith.c valops.c valprint.c values.c c-exp.y m2-exp.y \
         mem-break.c target.c \
-        dbxread.c coffread.c elfread.c dwarfread.c xcoffread.c stabsread.c \
+        dbxread.c coffread.c elfread.c dwarfread.c stabsread.c \
         ieee-float.c language.c parse.c buildsym.c objfiles.c \
         minsyms.c mipsread.c maint.c ch-exp.y c-lang.c ch-lang.c m2-lang.c \
         complaints.c typeprint.c c-typeprint.c ch-typeprint.c m2-typeprint.c \
@@ -224,6 +226,11 @@ SFILES_SUBDIR = \
         ${srcdir}/nindy-share/env.h \
         ${srcdir}/nindy-share/stop.h \
         ${srcdir}/nindy-share/ttycntl.h \
+        ${srcdir}/29k-share/udi_soc
+
+# Source files in sub-subdirectories.  We need to know this because we
+# make relative symlinks with them.
+SFILES_SUBSUBDIR = \
         ${srcdir}/29k-share/udi/udiphcfg.h \
         ${srcdir}/29k-share/udi/udiphsun.h \
         ${srcdir}/29k-share/udi/udiproc.h \
@@ -239,7 +246,7 @@ NONSRC_SUBDIR = \
         ${srcdir}/vx-share/README
 
 # All source files that go into linking GDB, except config-specified files.
-SFILES = $(SFILES_MAINDIR) $(SFILES_SUBDIR)
+SFILES = $(SFILES_MAINDIR) $(SFILES_SUBDIR) $(SFILES_SUBSUBDIR)
 
 # All source files that lint should look at
 LINTFILES = $(SFILES) $(YYFILES) init.c
@@ -258,12 +265,9 @@ HFILES=    breakpoint.h buildsym.h call-cmds.h command.h defs.h \
        target.h terminal.h typeprint.h xcoffsolib.h value.h \
        tm-68k.h tm-hppa.h tm-i960.h tm-sparc.h tm-sunos.h tm-sysv4.h \
        xm-m68k.h xm-sparc.h xm-sysv4.h xm-vax.h \
-       nm-i386bsd.h nm-i386mach.h nm-i386sco.h nm-i386v.h nm-i386v4.h nm-irix3.h \
-       nm-irix4.h nm-linux.h nm-m88k.h nm-mips.h nm-news.h nm-rs6000.h \
-       nm-sun2.h nm-sun3.h nm-sun386.h nm-sun4os4.h nm-trash.h \
-       nm-ultra3.h nm-hppab.h nm-hppah.h nm-umax.h nm-sysv4.h \
-       nm-apollo68b.h nm-apollo68v.h nm-vax.h nm-hp300bsd.h \
-       nm-hp300hpux.h c-lang.h ch-lang.h m2-lang.h complaints.h \
+       nm-trash.h \
+       c-lang.h ch-lang.h m2-lang.h complaints.h \
+       ns32k-opcode.h \
        valprint.h
 
 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
@@ -283,7 +287,7 @@ OTHERS = Makefile.in depend alldeps.mak createtags munch configure.in \
 
 # Subdirectories of gdb, which should be included in their entirety in
 # gdb-xxx.tar.Z:
-TARDIRS = doc # tests
+TARDIRS = doc sparclite # tests
 
 # GDB "info" files, which should be included in their entirety
 INFOFILES = gdb.info*
@@ -303,7 +307,7 @@ OBS = version.o main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
     copying.o $(DEPFILES) mem-break.o target.o \
     ieee-float.o putenv.o parse.o language.o $(YYOBJ) \
     buildsym.o objfiles.o minsyms.o maint.o demangle.o \
-    dbxread.o coffread.o elfread.o dwarfread.o xcoffread.o mipsread.o \
+    dbxread.o coffread.o elfread.o dwarfread.o mipsread.o \
     stabsread.o core.o c-lang.o ch-lang.o m2-lang.o complaints.o \
     typeprint.o c-typeprint.o ch-typeprint.o m2-typeprint.o \
     c-valprint.o cp-valprint.o ch-valprint.o m2-valprint.o
@@ -332,6 +336,8 @@ YYOBJ = c-exp.tab.o m2-exp.tab.o ch-exp.tab.o
 all: gdb
        $(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=$(SUBDIRS)" subdir_do
 check:
+       ../dejagnu/runtest -to gdb $(DGFLAGS)
+
 info: force
        $(MAKE) $(FLAGS_TO_PASS) DO=info "DODIRS=$(SUBDIRS)" subdir_do
 install-info: force
@@ -402,8 +408,8 @@ rapp: $(RAPP_OBS)
 # Support for building Makefile out of configured pieces, automatically
 # generated dependencies, etc.  alldeps.mak is a file that contains
 # "make" variable definitions for all ALLDEPFILES, ALLDEPFILES_MAINDIR,
-# ALLDEPFILES_SUBDIR, ALLPARAM, and ALLCONFIG, all cadged from the current
-# contents of the config subdirectory.
+# ALLDEPFILES_SUBDIR, ALLDEPFILES_SUBSUBDIR, ALLPARAM, and ALLCONFIG,
+# all cadged from the current contents of the config subdirectory.
 
 alldeps.mak: ${srcdir}/config
        rm -f alldeps.mak alldeps.tmp allparam.tmp allconfig.tmp
@@ -415,7 +421,7 @@ alldeps.mak: ${srcdir}/config
              for (i = 2; i <= NF; i++) \
                print $$i >> "alldeps.tmp" ; \
             } \
-           $$1 == "TM_FILE=" || $$1 == "XM_FILE=" || $$1 == "NAT_FILE" { \
+           $$1 == "TM_FILE=" || $$1 == "XM_FILE=" || $$1 == "NAT_FILE=" { \
              print $$2 >> "allparam.tmp" }' ; \
        done
        sort <alldeps.tmp | uniq | \
@@ -433,18 +439,23 @@ alldeps.mak: ${srcdir}/config
            >alldeps2.tmp
        echo '# Start of "alldeps.mak" definitions' \
            >>alldeps.mak;
-       echo 'ALLDEPFILES = $$(ALLDEPFILES_MAINDIR) $$(ALLDEPFILES_SUBDIR)' \
+       echo 'ALLDEPFILES = $$(ALLDEPFILES_MAINDIR) $$(ALLDEPFILES_SUBDIR) $$(ALLDEP_FILES_SUBSUBDIR)' \
            >>alldeps.mak;
        grep -v / alldeps2.tmp | \
          awk 'BEGIN {printf "ALLDEPFILES_MAINDIR="} \
            NR == 0 {printf $$0;} \
            NR != 0 {printf "\\\n" $$0} \
            END {printf "\n\n"}' >>alldeps.mak;
-       grep / alldeps2.tmp | \
+       grep / alldeps2.tmp | grep -v '/.*/' | \
          awk 'BEGIN {printf "ALLDEPFILES_SUBDIR="} \
            NR == 0 {printf $$0;} \
            NR != 0 {printf "\\\n" $$0} \
            END {printf "\n\n"}' >>alldeps.mak;
+       grep '/.*/' alldeps2.tmp | \
+         awk 'BEGIN {printf "ALLDEPFILES_SUBSUBDIR="} \
+           NR == 0 {printf $$0;} \
+           NR != 0 {printf "\\\n" $$0} \
+           END {printf "\n\n"}' >>alldeps.mak;
        sort <allparam.tmp | uniq | awk 'BEGIN {printf "ALLPARAM="} \
            NR == 0 {printf $$0;} \
            NR != 0 {printf "\\\n" $$0} \
@@ -596,19 +607,21 @@ make-proto-gdb-1: ${TARFILES} ${TARDIRS} gdb.info
        cd proto-gdb.dir ; for i in ${TARFILES} ; do ln -s ../$$i . ; done
        cd proto-gdb.dir ; ln -s ../${INFOFILES} .
        cd proto-gdb.dir ; for i in ${TARDIRS}; do \
-         mkdir $$i; cd $$i; \
+         (mkdir $$i; cd $$i; \
          ln -s ../../$$i/* .; \
          rm -rf SCCS CVS.adm RCS config.status; \
-         if test -f Makefile.in; then rm Makefile; else true; fi; done
+         if test -f Makefile.in; then rm Makefile; else true; fi;); done
        mkdir proto-gdb.dir/config
        cd proto-gdb.dir/config ; \
          for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done
-       mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share \
-               proto-gdb.dir/29k-share
-       mkdir proto-gdb.dir/29k-share/udi
+       mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share
+       mkdir proto-gdb.dir/29k-share proto-gdb.dir/29k-share/udi
        cd proto-gdb.dir/config ; \
          for i in $(SFILES_SUBDIR) $(NONSRC_SUBDIR) $(ALLDEPFILES_SUBDIR); \
            do ln -s ../../$$i ../$$i ; done
+       cd proto-gdb.dir/config ; \
+         for i in $(SFILES_SUBSUBDIR) $(ALLDEPFILES_SUBSUBDIR); \
+           do ln -s ../../../$$i ../$$i ; done
        chmod og=u `find . -print`
 
 clean:
@@ -676,10 +689,12 @@ version.c: Makefile
 
 # c-exp.tab.c is generated in target dir from c-exp.y if it doesn't exist
 # in srcdir, then compiled in target dir to c-exp.tab.o.
+# ././c-exp.tab.c is so the command argument will never match $(srcdir)/c-exp.y
+# (some "makes" rewrite the VPATH into command arguments if they match deps).
 # Remove bogus decls for malloc/realloc/free which conflict with everything
 # else.
 c-exp.tab.o: c-exp.tab.c
-c-exp.tab.c: $(srcdir)/c-exp.y Makefile
+c-exp.tab.c: $(srcdir)/c-exp.y $(srcdir)/Makefile.in
        @echo 'Expect 4 shift/reduce conflicts.'
        ${YACC} $(srcdir)/c-exp.y
        -sed -e '/extern.*malloc/d' \
@@ -688,7 +703,7 @@ c-exp.tab.c: $(srcdir)/c-exp.y Makefile
             -e '/include.*malloc.h/d' \
             -e 's/malloc/xmalloc/g' \
             -e 's/realloc/xrealloc/g' \
-         < y.tab.c > c-exp.tab.c
+         < y.tab.c > ././c-exp.tab.c
        -rm y.tab.c
 
 # start-sanitize-chill
@@ -697,7 +712,7 @@ c-exp.tab.c: $(srcdir)/c-exp.y Makefile
 # Remove bogus decls for malloc/realloc/free which conflict with everything
 # else.
 ch-exp.tab.o: ch-exp.tab.c
-ch-exp.tab.c: $(srcdir)/ch-exp.y Makefile
+ch-exp.tab.c: $(srcdir)/ch-exp.y $(srcdir)/Makefile.in
        @echo 'Expect rules never reduced and {shift,reduce}/reduce conflicts.'
        ${YACC} $(srcdir)/ch-exp.y
        -sed -e '/extern.*malloc/d' \
@@ -706,7 +721,7 @@ ch-exp.tab.c: $(srcdir)/ch-exp.y Makefile
             -e '/include.*malloc.h/d' \
             -e 's/malloc/xmalloc/g' \
             -e 's/realloc/xrealloc/g' \
-         < y.tab.c > ch-exp.tab.c
+         < y.tab.c > ././ch-exp.tab.c
        -rm y.tab.c
 # end-sanitize-chill
 
@@ -715,7 +730,7 @@ ch-exp.tab.c: $(srcdir)/ch-exp.y Makefile
 # Remove bogus decls for malloc/realloc/free which conflict with everything
 # else.
 m2-exp.tab.o: m2-exp.tab.c
-m2-exp.tab.c: $(srcdir)/m2-exp.y Makefile
+m2-exp.tab.c: $(srcdir)/m2-exp.y $(srcdir)/Makefile.in
        ${YACC} $(srcdir)/m2-exp.y
        -sed -e '/extern.*malloc/d' \
             -e '/extern.*realloc/d' \
@@ -723,7 +738,7 @@ m2-exp.tab.c: $(srcdir)/m2-exp.y Makefile
             -e '/include.*malloc.h/d' \
             -e 's/malloc/xmalloc/g' \
             -e 's/realloc/xrealloc/g' \
-         < y.tab.c > m2-exp.tab.c
+         < y.tab.c > ././m2-exp.tab.c
        -rm y.tab.c
 
 
@@ -749,12 +764,14 @@ dwarfread.o: ${srcdir}/dwarfread.c
 stabsread.o: ${srcdir}/stabsread.c
        ${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/stabsread.c
 
+# Used on RS/6000 native
 xcoffread.o: ${srcdir}/xcoffread.c
        ${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffread.c
 
 xcoffexec.o: ${srcdir}/xcoffexec.c
        ${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffexec.c
 
+# Used on HP-PA native
 paread.o: ${srcdir}/paread.c
        ${CC} -c ${INTERNAL_CFLAGS} -I$(BFD_DIR) ${srcdir}/paread.c
 
This page took 0.026259 seconds and 4 git commands to generate.