* Makefile.in: Add ${srcdir}/ to all source files.
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 20 Apr 1993 19:29:06 +0000 (19:29 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 20 Apr 1993 19:29:06 +0000 (19:29 +0000)
(alldeps.mak): Add "${srcdir}/" to files in alldeps.mak.
(TAGS): Deal with srcdir and new config directory scheme.
createtags: Remove.
Makefile.in (NONSRC): Remove createtags.
alldeps.mak: Updated.

gdb/.Sanitize
gdb/ChangeLog
gdb/Makefile.in
gdb/alldeps.mak
gdb/createtags [deleted file]

index 0e9458aaf132553f1970e852bcc70e7f34404302..cacb6a1302849de04bcd03bf26ed4a477abd96b6 100644 (file)
@@ -77,7 +77,6 @@ coredep.c
 corelow.c
 core-svr4.c
 cp-valprint.c
-createtags
 dbxread.c
 defs.h
 demangle.c
index 774c63da5b207bcbad60f9ddbabadd64feecba8f..0b359ce47f4e2d9d9f3991f72a98e83516e4153d 100644 (file)
@@ -1,5 +1,12 @@
 Tue Apr 20 08:55:11 1993  Jim Kingdon  (kingdon@cygnus.com)
 
+       * Makefile.in: Add ${srcdir}/ to all source files.
+       (alldeps.mak): Add "${srcdir}/" to files in alldeps.mak.
+       (TAGS): Deal with srcdir and new config directory scheme.
+       createtags: Remove.
+       Makefile.in (NONSRC): Remove createtags.
+       alldeps.mak: Updated.
+
        * rs6000-tdep.c: Delete unused function print_frame.
 
        * frame.h (struct frame_info): Doc fix for next_frame.
index f5112700fe4adcdc682ea56c3b31a837018e8177..195c2f9f894254708648cad912dba714c7a5cb99 100644 (file)
@@ -266,21 +266,39 @@ TARGET_FLAGS_TO_PASS = \
 # All source files that go into linking GDB, except config-specified files.
 # Source files which are included via a config/*/* Makefile fragment should
 # *not* be specified here; they're in "ALLDEPFILES".
-SFILES = blockframe.c breakpoint.c buildsym.c c-exp.y c-lang.c c-typeprint.c \
-       c-valprint.c ch-exp.y ch-lang.c ch-typeprint.c ch-valprint.c coffread.c \
-       command.c complaints.c core.c cp-valprint.c dbxread.c demangle.c \
-       dwarfread.c elfread.c environ.c eval.c expprint.c findvar.c gdbtypes.c \
-       infcmd.c inflow.c infrun.c language.c m2-exp.y m2-lang.c m2-typeprint.c \
-       m2-valprint.c main.c maint.c mem-break.c minsyms.c mipsread.c \
-       objfiles.c parse.c printcmd.c remote.c source.c stabsread.c stack.c \
-       symfile.c symmisc.c symtab.c target.c typeprint.c utils.c valarith.c \
-       valops.c valprint.c values.c serial.c ser-hardwire.c
+SFILES = ${srcdir}/blockframe.c ${srcdir}/breakpoint.c ${srcdir}/buildsym.c \
+  ${srcdir}/c-exp.y ${srcdir}/c-lang.c ${srcdir}/c-typeprint.c \
+  ${srcdir}/c-valprint.c ${srcdir}/ch-exp.y ${srcdir}/ch-lang.c \
+  ${srcdir}/ch-typeprint.c ${srcdir}/ch-valprint.c ${srcdir}/coffread.c \
+  ${srcdir}/command.c ${srcdir}/complaints.c ${srcdir}/core.c \
+  ${srcdir}/cp-valprint.c ${srcdir}/dbxread.c ${srcdir}/demangle.c \
+  ${srcdir}/dwarfread.c ${srcdir}/elfread.c ${srcdir}/environ.c \
+  ${srcdir}/eval.c ${srcdir}/expprint.c ${srcdir}/findvar.c \
+  ${srcdir}/gdbtypes.c \
+  ${srcdir}/infcmd.c ${srcdir}/inflow.c ${srcdir}/infrun.c \
+  ${srcdir}/language.c ${srcdir}/m2-exp.y ${srcdir}/m2-lang.c \
+  ${srcdir}/m2-typeprint.c \
+  ${srcdir}/m2-valprint.c ${srcdir}/main.c ${srcdir}/maint.c \
+  ${srcdir}/mem-break.c ${srcdir}/minsyms.c ${srcdir}/mipsread.c \
+  ${srcdir}/objfiles.c ${srcdir}/parse.c ${srcdir}/printcmd.c \
+  ${srcdir}/remote.c ${srcdir}/source.c ${srcdir}/stabsread.c \
+  ${srcdir}/stack.c \
+  ${srcdir}/symfile.c ${srcdir}/symmisc.c ${srcdir}/symtab.c \
+  ${srcdir}/target.c ${srcdir}/typeprint.c ${srcdir}/utils.c \
+  ${srcdir}/valarith.c \
+  ${srcdir}/valops.c ${srcdir}/valprint.c ${srcdir}/values.c \
+  ${srcdir}/serial.c ser-hardwire.c
 
 # Files that are not source code, but need to go into gdb-$(VERSION).tar.Z.
-NONSRC = Makefile.in depend alldeps.mak createtags munch configure.in \
-       ChangeLog ChangeLog-9091 ChangeLog-3.x gdb.1 refcard.ps README TODO \
-       TAGS NEWS Projects .gdbinit COPYING $(YYFILES) copying.c copying.awk \
-       saber.suppress standalone.c stuff.c kdb-start.c putenv.c gcc.patch \
+NONSRC = ${srcdir}/Makefile.in ${srcdir}/depend ${srcdir}/alldeps.mak \
+       ${srcdir}/munch ${srcdir}/configure.in \
+       ${srcdir}/ChangeLog ${srcdir}/ChangeLog-9091 ${srcdir}/ChangeLog-3.x \
+       ${srcdir}/gdb.1 ${srcdir}/refcard.ps ${srcdir}/README ${srcdir}/TODO \
+       TAGS ${srcdir}/NEWS ${srcdir}/Projects ${srcdir}/.gdbinit \
+       ${srcdir}/COPYING $(YYFILES) ${srcdir}/copying.c \
+       ${srcdir}/copying.awk \
+       ${srcdir}/saber.suppress ${srcdir}/standalone.c ${srcdir}/stuff.c \
+       ${srcdir}/kdb-start.c ${srcdir}/putenv.c ${srcdir}/gcc.patch \
        ${srcdir}/nindy-share/Makefile ${srcdir}/nindy-share/VERSION \
        ${srcdir}/nindy-share/README ${srcdir}/vx-share/README \
        ${srcdir}/config/convex/Convex.notes
@@ -294,16 +312,25 @@ SFILES_STAND = $(SFILES) standalone.c
 SFILES_KGDB  = $(SFILES) stuff.c kdb-start.c
 
 # Header files that are not named in config/*/* Makefile fragments go here.
-HFILES = breakpoint.h buildsym.h call-cmds.h command.h defs.h environ.h \
-       expression.h frame.h gdbcmd.h gdbcore.h gdbtypes.h gdb-stabs.h \
-       inferior.h language.h minimon.h objfiles.h parser-defs.h \
-       partial-stab.h serial.h signals.h solib.h symfile.h symtab.h \
-       stabsread.h target.h terminal.h typeprint.h xcoffsolib.h value.h \
-       c-lang.h ch-lang.h m2-lang.h complaints.h ns32k-opcode.h valprint.h \
-       config/m68k/tm-m68k.h config/pa/tm-hppa.h \
-       config/i960/tm-i960.h config/sparc/tm-sparc.h config/tm-sunos.h \
-       config/tm-sysv4.h config/m68k/xm-m68k.h config/sparc/xm-sparc.h \
-       config/xm-sysv4.h config/vax/xm-vax.h config/nm-trash.h \
+HFILES = ${srcdir}/breakpoint.h ${srcdir}/buildsym.h ${srcdir}/call-cmds.h \
+       ${srcdir}/command.h ${srcdir}/defs.h ${srcdir}/environ.h \
+       ${srcdir}/expression.h ${srcdir}/frame.h ${srcdir}/gdbcmd.h \
+       ${srcdir}/gdbcore.h ${srcdir}/gdbtypes.h ${srcdir}/gdb-stabs.h \
+       ${srcdir}/inferior.h ${srcdir}/language.h ${srcdir}/minimon.h \
+       ${srcdir}/objfiles.h ${srcdir}/parser-defs.h \
+       ${srcdir}/partial-stab.h ${srcdir}/serial.h ${srcdir}/signals.h \
+       ${srcdir}/solib.h ${srcdir}/symfile.h ${srcdir}/symtab.h \
+       ${srcdir}/stabsread.h ${srcdir}/target.h ${srcdir}/terminal.h \
+       ${srcdir}/typeprint.h ${srcdir}/xcoffsolib.h ${srcdir}/value.h \
+       ${srcdir}/c-lang.h ${srcdir}/ch-lang.h ${srcdir}/m2-lang.h \
+       ${srcdir}/complaints.h ${srcdir}/ns32k-opcode.h ${srcdir}/valprint.h \
+       ${srcdir}/config/m68k/tm-m68k.h ${srcdir}/config/pa/tm-hppa.h \
+       ${srcdir}/config/i960/tm-i960.h ${srcdir}/config/sparc/tm-sparc.h \
+       ${srcdir}/config/tm-sunos.h \
+       ${srcdir}/config/tm-sysv4.h ${srcdir}/config/m68k/xm-m68k.h \
+       ${srcdir}/config/sparc/xm-sparc.h \
+       ${srcdir}/config/xm-sysv4.h ${srcdir}/config/vax/xm-vax.h \
+       ${srcdir}/config/nm-trash.h \
        ${srcdir}/29k-share/udi/udiphcfg.h ${srcdir}/29k-share/udi/udiphsun.h \
        ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udipt29k.h \
        ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udisoc.h \
@@ -321,7 +348,7 @@ INFOFILES = gdb.info*
 
 REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
 
-POSSLIBS = regex.c regex.h alloca.c
+POSSLIBS = ${srcdir}/regex.c ${srcdir}/regex.h ${srcdir}/alloca.c
 
 TESTS = testbpt.c testfun.c testrec.c testreg.c testregs.c
 
@@ -451,9 +478,9 @@ rapp: $(RAPP_OBS)
 
 alldeps.mak: force
        rm -f alldeps.mak alldeps*.tmp allparam*.tmp allconfig*.tmp
-       for i in `find ${srcdir}/config -name '*.m[ht]'` ; do \
+       for i in `(cd ${srcdir}; find config -name '*.m[ht]' -print)` ; do \
          echo $$i >>allconfig.tmp; \
-         awk <$$i ' \
+         awk <${srcdir}/$$i ' \
            $$1 == "TDEPFILES=" || $$1 == "XDEPFILES=" \
              || $$1 == "NATDEPFILES=" { \
              for (i = 2; i <= NF; i++) \
@@ -478,20 +505,21 @@ alldeps.mak: force
              -e 's/\.o/.c/' \
            >alldeps2.tmp
        for i in `cat allparam.tmp` ; do \
-         find ${srcdir}/config -name $$i -print >>allparam2.tmp ; \
+         (cd ${srcdir} ; \
+         find config -name $$i -print ) >>allparam2.tmp ; \
        done
        echo '# Start of "alldeps.mak" definitions' >>alldeps.mak;
        sort <alldeps2.tmp | uniq | awk 'BEGIN {printf "ALLDEPFILES="} \
-         NR == 0 {printf $$0;} \
-         NR != 0 {printf "\\\n" $$0} \
+         NR == 0 {printf "$${srcdir}/" $$0;} \
+         NR != 0 {printf "\\\n" "$${srcdir}/" $$0} \
          END {printf "\n\n"}' >>alldeps.mak;
        sort <allparam2.tmp | uniq | awk 'BEGIN {printf "ALLPARAM="} \
-         NR == 0 {printf $$0;} \
-         NR != 0 {printf "\\\n" $$0} \
+         NR == 0 {printf "$${srcdir}/" $$0;} \
+         NR != 0 {printf "\\\n" "$${srcdir}/" $$0} \
          END {printf "\n\n"}' >>alldeps.mak;
        sort <allconfig.tmp | uniq | awk 'BEGIN {printf "ALLCONFIG="} \
-         NR == 0 {printf $$0;} \
-         NR != 0 {printf "\\\n" $$0} \
+         NR == 0 {printf "$${srcdir}/" $$0;} \
+         NR != 0 {printf "\\\n" "$${srcdir}/" $$0} \
          END {printf "\n\n"}' >>alldeps.mak;
        echo '# End of "alldeps.mak" definitions' >>alldeps.mak;
        rm -f alldeps*.tmp allparam*.tmp allconfig*.tmp
@@ -574,10 +602,14 @@ kdb:      $(NTSSTART) $(OBS) $(NTSOBS) ${ADD_DEPS} ${CDEPS}
          -lc $(CLIBS)
 
 # Put the proper machine-specific files first.
-# createtags will edit the .o in DEPFILES into .c
 TAGS:  ${TAGFILES}
-       $(srcdir)/createtags $(TM_FILE) ${XM_FILE} ${NAT_FILE} \
-                            $(DEPFILES) ${TAGFILES}
+       etags `find ${srcdir}/config -name $(TM_FILE) -print` \
+         `find ${srcdir}/config -name ${XM_FILE} -print` \
+         `find ${srcdir}/config -name ${NAT_FILE} -print` \
+         `for i in ${DEPFILES}; do \
+            echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ;\
+          done` \
+         ${TAGFILES}
 tags: TAGS
 
 # Making distributions of GDB and friends.
index cced2b6bbe30bd5a002db076c2495b0723f15875..c847a5334e9c4445c1b5bbed035004755833db22 100644 (file)
 # Start of "alldeps.mak" definitions
 ALLDEPFILES=\
-29k-share/udi/udip2soc.c\
-29k-share/udi/udr.c\
-a29k-pinsn.c\
-a29k-tdep.c\
-a68v-nat.c\
-altos-xdep.c\
-arm-convert.s\
-arm-pinsn.c\
-arm-tdep.c\
-arm-xdep.c\
-convex-pinsn.c\
-convex-tdep.c\
-convex-xdep.c\
-coredep.c\
-corelow.c\
-exec.c\
-fork-child.c\
-go32-xdep.c\
-gould-pinsn.c\
-gould-xdep.c\
-h8300-tdep.c\
-h8500-tdep.c\
-hp300ux-nat.c\
-hppa-pinsn.c\
-hppab-core.c\
-hppab-nat.c\
-hppab-tdep.c\
-hppah-nat.c\
-hppah-tdep.c\
-i386-pinsn.c\
-i386-tdep.c\
-i386b-nat.c\
-i386mach-nat.c\
-i386v-nat.c\
-i386v4-nat.c\
-i387-tdep.c\
-i960-pinsn.c\
-i960-tdep.c\
-infptrace.c\
-inftarg.c\
-irix4-nat.c\
-m68k-pinsn.c\
-m68k-tdep.c\
-m88k-nat.c\
-m88k-pinsn.c\
-m88k-tdep.c\
-mips-nat.c\
-mips-pinsn.c\
-mips-tdep.c\
-news-xdep.c\
-nindy-share/Onindy.c\
-nindy-share/nindy.c\
-nindy-share/ttybreak.c\
-nindy-share/ttyflush.c\
-nindy-tdep.c\
-ns32k-pinsn.c\
-paread.c\
-procfs.c\
-pyr-pinsn.c\
-pyr-tdep.c\
-pyr-xdep.c\
-remote-adapt.c\
-remote-eb.c\
-remote-es1800.c\
-remote-hms.c\
-remote-mips.c\
-remote-mm.c\
-remote-nindy.c\
-remote-sim.c\
-remote-st2000.c\
-remote-udi.c\
-remote-vx.c\
-remote-z8k.c\
-rs6000-nat.c\
-rs6000-pinsn.c\
-rs6000-tdep.c\
-solib.c\
-sparc-nat.c\
-sparc-pinsn.c\
-sparc-tdep.c\
-sun3-nat.c\
-sun386-nat.c\
-symm-tdep.c\
-symm-xdep.c\
-tahoe-pinsn.c\
-ultra3-nat.c\
-ultra3-xdep.c\
-umax-xdep.c\
-vax-pinsn.c\
-vx-share/xdr_ld.c\
-vx-share/xdr_ptrace.c\
-vx-share/xdr_rdb.c\
-xcoffexec.c\
-xcoffread.c\
-xcoffsolib.c\
-z8k-tdep.c
+${srcdir}/29k-share/udi/udip2soc.c\
+${srcdir}/29k-share/udi/udr.c\
+${srcdir}/a29k-pinsn.c\
+${srcdir}/a29k-tdep.c\
+${srcdir}/a68v-nat.c\
+${srcdir}/altos-xdep.c\
+${srcdir}/arm-convert.s\
+${srcdir}/arm-pinsn.c\
+${srcdir}/arm-tdep.c\
+${srcdir}/arm-xdep.c\
+${srcdir}/convex-pinsn.c\
+${srcdir}/convex-tdep.c\
+${srcdir}/convex-xdep.c\
+${srcdir}/core-svr4.c\
+${srcdir}/coredep.c\
+${srcdir}/corelow.c\
+${srcdir}/exec.c\
+${srcdir}/fork-child.c\
+${srcdir}/go32-xdep.c\
+${srcdir}/gould-pinsn.c\
+${srcdir}/gould-xdep.c\
+${srcdir}/h8300-tdep.c\
+${srcdir}/h8500-tdep.c\
+${srcdir}/hp300ux-nat.c\
+${srcdir}/hppa-pinsn.c\
+${srcdir}/hppab-core.c\
+${srcdir}/hppab-nat.c\
+${srcdir}/hppab-tdep.c\
+${srcdir}/hppah-nat.c\
+${srcdir}/hppah-tdep.c\
+${srcdir}/i386-pinsn.c\
+${srcdir}/i386-tdep.c\
+${srcdir}/i386b-nat.c\
+${srcdir}/i386mach-nat.c\
+${srcdir}/i386v-nat.c\
+${srcdir}/i386v4-nat.c\
+${srcdir}/i387-tdep.c\
+${srcdir}/i960-pinsn.c\
+${srcdir}/i960-tdep.c\
+${srcdir}/infptrace.c\
+${srcdir}/inftarg.c\
+${srcdir}/irix4-nat.c\
+${srcdir}/m68k-pinsn.c\
+${srcdir}/m68k-tdep.c\
+${srcdir}/m88k-nat.c\
+${srcdir}/m88k-pinsn.c\
+${srcdir}/m88k-tdep.c\
+${srcdir}/mips-nat.c\
+${srcdir}/mips-pinsn.c\
+${srcdir}/mips-tdep.c\
+${srcdir}/news-xdep.c\
+${srcdir}/nindy-share/Onindy.c\
+${srcdir}/nindy-share/nindy.c\
+${srcdir}/nindy-share/ttybreak.c\
+${srcdir}/nindy-share/ttyflush.c\
+${srcdir}/nindy-tdep.c\
+${srcdir}/ns32k-pinsn.c\
+${srcdir}/paread.c\
+${srcdir}/procfs.c\
+${srcdir}/pyr-pinsn.c\
+${srcdir}/pyr-tdep.c\
+${srcdir}/pyr-xdep.c\
+${srcdir}/remote-adapt.c\
+${srcdir}/remote-eb.c\
+${srcdir}/remote-es1800.c\
+${srcdir}/remote-hms.c\
+${srcdir}/remote-mips.c\
+${srcdir}/remote-mm.c\
+${srcdir}/remote-nindy.c\
+${srcdir}/remote-sim.c\
+${srcdir}/remote-st2000.c\
+${srcdir}/remote-udi.c\
+${srcdir}/remote-vx.c\
+${srcdir}/remote-z8k.c\
+${srcdir}/rs6000-nat.c\
+${srcdir}/rs6000-pinsn.c\
+${srcdir}/rs6000-tdep.c\
+${srcdir}/solib.c\
+${srcdir}/sparc-nat.c\
+${srcdir}/sparc-pinsn.c\
+${srcdir}/sparc-tdep.c\
+${srcdir}/sun3-nat.c\
+${srcdir}/sun386-nat.c\
+${srcdir}/symm-tdep.c\
+${srcdir}/symm-xdep.c\
+${srcdir}/tahoe-pinsn.c\
+${srcdir}/ultra3-nat.c\
+${srcdir}/ultra3-xdep.c\
+${srcdir}/umax-xdep.c\
+${srcdir}/vax-pinsn.c\
+${srcdir}/vx-share/xdr_ld.c\
+${srcdir}/vx-share/xdr_ptrace.c\
+${srcdir}/vx-share/xdr_rdb.c\
+${srcdir}/xcoffexec.c\
+${srcdir}/xcoffread.c\
+${srcdir}/xcoffsolib.c\
+${srcdir}/z8k-tdep.c
 
 ALLPARAM=\
-./config/a29k/nm-ultra3.h\
-./config/a29k/tm-a29k.h\
-./config/a29k/tm-ultra3.h\
-./config/a29k/xm-ultra3.h\
-./config/arm/tm-arm.h\
-./config/arm/xm-arm.h\
-./config/convex/tm-convex.h\
-./config/convex/xm-convex.h\
-./config/gould/tm-np1.h\
-./config/gould/tm-pn.h\
-./config/gould/xm-np1.h\
-./config/gould/xm-pn.h\
-./config/h8300/tm-h8300.h\
-./config/h8500/tm-h8500.h\
-./config/i386/nm-i386bsd.h\
-./config/i386/nm-i386mach.h\
-./config/i386/nm-i386sco.h\
-./config/i386/nm-i386sco4.h\
-./config/i386/nm-i386v.h\
-./config/i386/nm-i386v4.h\
-./config/i386/nm-linux.h\
-./config/i386/nm-sun386.h\
-./config/i386/tm-i386bsd.h\
-./config/i386/tm-i386v.h\
-./config/i386/tm-i386v4.h\
-./config/i386/tm-linux.h\
-./config/i386/tm-sun386.h\
-./config/i386/tm-symmetry.h\
-./config/i386/xm-go32.h\
-./config/i386/xm-i386bsd.h\
-./config/i386/xm-i386mach.h\
-./config/i386/xm-i386sco.h\
-./config/i386/xm-i386v.h\
-./config/i386/xm-i386v32.h\
-./config/i386/xm-i386v4.h\
-./config/i386/xm-linux.h\
-./config/i386/xm-sun386.h\
-./config/i386/xm-symmetry.h\
-./config/i960/tm-nindy960.h\
-./config/i960/tm-vx960.h\
-./config/m68k/nm-apollo68b.h\
-./config/m68k/nm-apollo68v.h\
-./config/m68k/nm-hp300bsd.h\
-./config/m68k/nm-hp300hpux.h\
-./config/m68k/nm-news.h\
-./config/m68k/nm-sun2.h\
-./config/m68k/nm-sun3.h\
-./config/m68k/tm-3b1.h\
-./config/m68k/tm-altos.h\
-./config/m68k/tm-amix.h\
-./config/m68k/tm-es1800.h\
-./config/m68k/tm-hp300bsd.h\
-./config/m68k/tm-hp300hpux.h\
-./config/m68k/tm-isi.h\
-./config/m68k/tm-m68k-fp.h\
-./config/m68k/tm-m68k-nofp.h\
-./config/m68k/tm-news.h\
-./config/m68k/tm-os68k.h\
-./config/m68k/tm-st2000.h\
-./config/m68k/tm-sun2.h\
-./config/m68k/tm-sun2os4.h\
-./config/m68k/tm-sun3.h\
-./config/m68k/tm-sun3os4.h\
-./config/m68k/tm-vx68.h\
-./config/m68k/xm-3b1.h\
-./config/m68k/xm-altos.h\
-./config/m68k/xm-amix.h\
-./config/m68k/xm-apollo68b.h\
-./config/m68k/xm-apollo68v.h\
-./config/m68k/xm-hp300bsd.h\
-./config/m68k/xm-hp300hpux.h\
-./config/m68k/xm-isi.h\
-./config/m68k/xm-news.h\
-./config/m68k/xm-news1000.h\
-./config/m68k/xm-sun2.h\
-./config/m68k/xm-sun3.h\
-./config/m68k/xm-sun3os4.h\
-./config/m88k/nm-m88k.h\
-./config/m88k/tm-delta88.h\
-./config/m88k/tm-m88k.h\
-./config/m88k/xm-delta88.h\
-./config/m88k/xm-m88k.h\
-./config/mips/nm-irix3.h\
-./config/mips/nm-irix4.h\
-./config/mips/nm-mips.h\
-./config/mips/tm-bigmips.h\
-./config/mips/tm-irix3.h\
-./config/mips/tm-mips.h\
-./config/mips/xm-bigmips.h\
-./config/mips/xm-irix3.h\
-./config/mips/xm-irix4.h\
-./config/mips/xm-mips.h\
-./config/nm-sysv4.h\
-./config/none/nm-none.h\
-./config/none/tm-none.h\
-./config/none/xm-none.h\
-./config/ns32k/nm-umax.h\
-./config/ns32k/tm-merlin.h\
-./config/ns32k/tm-umax.h\
-./config/ns32k/xm-merlin.h\
-./config/ns32k/xm-umax.h\
-./config/pa/nm-hppab.h\
-./config/pa/nm-hppah.h\
-./config/pa/tm-hppab.h\
-./config/pa/tm-hppah.h\
-./config/pa/xm-hppab.h\
-./config/pa/xm-hppah.h\
-./config/pyr/tm-pyr.h\
-./config/pyr/xm-pyr.h\
-./config/romp/xm-rtbsd.h\
-./config/rs6000/nm-rs6000.h\
-./config/rs6000/tm-rs6000.h\
-./config/rs6000/xm-rs6000.h\
-./config/sparc/nm-sun4os4.h\
-./config/sparc/tm-sparclite.h\
-./config/sparc/tm-spc-em.h\
-./config/sparc/tm-sun4os4.h\
-./config/sparc/tm-sun4sol2.h\
-./config/sparc/xm-sun4os4.h\
-./config/sparc/xm-sun4sol2.h\
-./config/tahoe/tm-tahoe.h\
-./config/tahoe/xm-tahoe.h\
-./config/vax/nm-vax.h\
-./config/vax/tm-vax.h\
-./config/vax/xm-vaxbsd.h\
-./config/vax/xm-vaxult.h\
-./config/vax/xm-vaxult2.h\
-./config/z8k/tm-z8k.h
+${srcdir}/config/a29k/nm-ultra3.h\
+${srcdir}/config/a29k/tm-a29k.h\
+${srcdir}/config/a29k/tm-ultra3.h\
+${srcdir}/config/a29k/xm-ultra3.h\
+${srcdir}/config/arm/tm-arm.h\
+${srcdir}/config/arm/xm-arm.h\
+${srcdir}/config/convex/tm-convex.h\
+${srcdir}/config/convex/xm-convex.h\
+${srcdir}/config/gould/tm-np1.h\
+${srcdir}/config/gould/tm-pn.h\
+${srcdir}/config/gould/xm-np1.h\
+${srcdir}/config/gould/xm-pn.h\
+${srcdir}/config/h8300/tm-h8300.h\
+${srcdir}/config/h8500/tm-h8500.h\
+${srcdir}/config/i386/nm-i386bsd.h\
+${srcdir}/config/i386/nm-i386mach.h\
+${srcdir}/config/i386/nm-i386sco.h\
+${srcdir}/config/i386/nm-i386sco4.h\
+${srcdir}/config/i386/nm-i386v.h\
+${srcdir}/config/i386/nm-i386v4.h\
+${srcdir}/config/i386/nm-linux.h\
+${srcdir}/config/i386/nm-sun386.h\
+${srcdir}/config/i386/tm-i386bsd.h\
+${srcdir}/config/i386/tm-i386v.h\
+${srcdir}/config/i386/tm-i386v4.h\
+${srcdir}/config/i386/tm-linux.h\
+${srcdir}/config/i386/tm-sun386.h\
+${srcdir}/config/i386/tm-symmetry.h\
+${srcdir}/config/i386/xm-go32.h\
+${srcdir}/config/i386/xm-i386bsd.h\
+${srcdir}/config/i386/xm-i386mach.h\
+${srcdir}/config/i386/xm-i386sco.h\
+${srcdir}/config/i386/xm-i386v.h\
+${srcdir}/config/i386/xm-i386v32.h\
+${srcdir}/config/i386/xm-i386v4.h\
+${srcdir}/config/i386/xm-linux.h\
+${srcdir}/config/i386/xm-sun386.h\
+${srcdir}/config/i386/xm-symmetry.h\
+${srcdir}/config/i960/tm-nindy960.h\
+${srcdir}/config/i960/tm-vx960.h\
+${srcdir}/config/m68k/nm-apollo68b.h\
+${srcdir}/config/m68k/nm-apollo68v.h\
+${srcdir}/config/m68k/nm-hp300bsd.h\
+${srcdir}/config/m68k/nm-hp300hpux.h\
+${srcdir}/config/m68k/nm-news.h\
+${srcdir}/config/m68k/nm-sun2.h\
+${srcdir}/config/m68k/nm-sun3.h\
+${srcdir}/config/m68k/tm-3b1.h\
+${srcdir}/config/m68k/tm-altos.h\
+${srcdir}/config/m68k/tm-amix.h\
+${srcdir}/config/m68k/tm-es1800.h\
+${srcdir}/config/m68k/tm-hp300bsd.h\
+${srcdir}/config/m68k/tm-hp300hpux.h\
+${srcdir}/config/m68k/tm-isi.h\
+${srcdir}/config/m68k/tm-m68k-fp.h\
+${srcdir}/config/m68k/tm-m68k-nofp.h\
+${srcdir}/config/m68k/tm-news.h\
+${srcdir}/config/m68k/tm-os68k.h\
+${srcdir}/config/m68k/tm-st2000.h\
+${srcdir}/config/m68k/tm-sun2.h\
+${srcdir}/config/m68k/tm-sun2os4.h\
+${srcdir}/config/m68k/tm-sun3.h\
+${srcdir}/config/m68k/tm-sun3os4.h\
+${srcdir}/config/m68k/tm-vx68.h\
+${srcdir}/config/m68k/xm-3b1.h\
+${srcdir}/config/m68k/xm-altos.h\
+${srcdir}/config/m68k/xm-amix.h\
+${srcdir}/config/m68k/xm-apollo68b.h\
+${srcdir}/config/m68k/xm-apollo68v.h\
+${srcdir}/config/m68k/xm-hp300bsd.h\
+${srcdir}/config/m68k/xm-hp300hpux.h\
+${srcdir}/config/m68k/xm-isi.h\
+${srcdir}/config/m68k/xm-news.h\
+${srcdir}/config/m68k/xm-news1000.h\
+${srcdir}/config/m68k/xm-sun2.h\
+${srcdir}/config/m68k/xm-sun3.h\
+${srcdir}/config/m68k/xm-sun3os4.h\
+${srcdir}/config/m88k/nm-m88k.h\
+${srcdir}/config/m88k/tm-delta88.h\
+${srcdir}/config/m88k/tm-m88k.h\
+${srcdir}/config/m88k/xm-delta88.h\
+${srcdir}/config/m88k/xm-m88k.h\
+${srcdir}/config/mips/nm-irix3.h\
+${srcdir}/config/mips/nm-irix4.h\
+${srcdir}/config/mips/nm-mips.h\
+${srcdir}/config/mips/tm-bigmips.h\
+${srcdir}/config/mips/tm-irix3.h\
+${srcdir}/config/mips/tm-mips.h\
+${srcdir}/config/mips/xm-bigmips.h\
+${srcdir}/config/mips/xm-irix3.h\
+${srcdir}/config/mips/xm-irix4.h\
+${srcdir}/config/mips/xm-mips.h\
+${srcdir}/config/nm-sysv4.h\
+${srcdir}/config/none/nm-none.h\
+${srcdir}/config/none/tm-none.h\
+${srcdir}/config/none/xm-none.h\
+${srcdir}/config/ns32k/nm-umax.h\
+${srcdir}/config/ns32k/tm-merlin.h\
+${srcdir}/config/ns32k/tm-umax.h\
+${srcdir}/config/ns32k/xm-merlin.h\
+${srcdir}/config/ns32k/xm-umax.h\
+${srcdir}/config/pa/nm-hppab.h\
+${srcdir}/config/pa/nm-hppah.h\
+${srcdir}/config/pa/tm-hppab.h\
+${srcdir}/config/pa/tm-hppah.h\
+${srcdir}/config/pa/xm-hppab.h\
+${srcdir}/config/pa/xm-hppah.h\
+${srcdir}/config/pyr/tm-pyr.h\
+${srcdir}/config/pyr/xm-pyr.h\
+${srcdir}/config/romp/xm-rtbsd.h\
+${srcdir}/config/rs6000/nm-rs6000.h\
+${srcdir}/config/rs6000/tm-rs6000.h\
+${srcdir}/config/rs6000/xm-rs6000.h\
+${srcdir}/config/sparc/nm-sun4os4.h\
+${srcdir}/config/sparc/tm-sparclite.h\
+${srcdir}/config/sparc/tm-spc-em.h\
+${srcdir}/config/sparc/tm-sun4os4.h\
+${srcdir}/config/sparc/tm-sun4sol2.h\
+${srcdir}/config/sparc/xm-sun4os4.h\
+${srcdir}/config/sparc/xm-sun4sol2.h\
+${srcdir}/config/tahoe/tm-tahoe.h\
+${srcdir}/config/tahoe/xm-tahoe.h\
+${srcdir}/config/vax/nm-vax.h\
+${srcdir}/config/vax/tm-vax.h\
+${srcdir}/config/vax/xm-vaxbsd.h\
+${srcdir}/config/vax/xm-vaxult.h\
+${srcdir}/config/vax/xm-vaxult2.h\
+${srcdir}/config/z8k/tm-z8k.h
 
 ALLCONFIG=\
-./config/a29k/a29k-kern.mt\
-./config/a29k/a29k-udi.mt\
-./config/a29k/a29k.mt\
-./config/a29k/ultra3.mh\
-./config/a29k/ultra3.mt\
-./config/arm/arm.mh\
-./config/arm/arm.mt\
-./config/convex/convex.mh\
-./config/convex/convex.mt\
-./config/gould/np1.mh\
-./config/gould/np1.mt\
-./config/gould/pn.mh\
-./config/gould/pn.mt\
-./config/h8300/h8300hms.mt\
-./config/h8500/h8500hms.mt\
-./config/i386/go32.mh\
-./config/i386/i386aout.mt\
-./config/i386/i386bsd.mh\
-./config/i386/i386bsd.mt\
-./config/i386/i386mach.mh\
-./config/i386/i386sco.mh\
-./config/i386/i386sco4.mh\
-./config/i386/i386sol2.mh\
-./config/i386/i386sol2.mt\
-./config/i386/i386v.mh\
-./config/i386/i386v.mt\
-./config/i386/i386v32.mh\
-./config/i386/i386v4.mh\
-./config/i386/i386v4.mt\
-./config/i386/linux.mh\
-./config/i386/linux.mt\
-./config/i386/ncr3000.mh\
-./config/i386/ncr3000.mt\
-./config/i386/sun386.mh\
-./config/i386/sun386.mt\
-./config/i386/symmetry.mh\
-./config/i386/symmetry.mt\
-./config/i960/nindy960.mt\
-./config/i960/vxworks960.mt\
-./config/m68k/3b1.mh\
-./config/m68k/3b1.mt\
-./config/m68k/altos.mh\
-./config/m68k/altos.mt\
-./config/m68k/amix.mh\
-./config/m68k/amix.mt\
-./config/m68k/apollo68b.mh\
-./config/m68k/apollo68v.mh\
-./config/m68k/es1800.mt\
-./config/m68k/hp300bsd.mh\
-./config/m68k/hp300bsd.mt\
-./config/m68k/hp300hpux.mh\
-./config/m68k/hp300hpux.mt\
-./config/m68k/isi.mh\
-./config/m68k/isi.mt\
-./config/m68k/m68k-fp.mt\
-./config/m68k/m68k-nofp.mt\
-./config/m68k/news.mh\
-./config/m68k/news.mt\
-./config/m68k/news1000.mh\
-./config/m68k/os68k.mt\
-./config/m68k/st2000.mt\
-./config/m68k/sun2os3.mh\
-./config/m68k/sun2os3.mt\
-./config/m68k/sun2os4.mh\
-./config/m68k/sun2os4.mt\
-./config/m68k/sun3os3.mh\
-./config/m68k/sun3os3.mt\
-./config/m68k/sun3os4.mh\
-./config/m68k/sun3os4.mt\
-./config/m68k/vxworks68.mt\
-./config/m88k/delta88.mh\
-./config/m88k/delta88.mt\
-./config/m88k/m88k.mh\
-./config/m88k/m88k.mt\
-./config/mips/bigmips.mh\
-./config/mips/bigmips.mt\
-./config/mips/decstation.mh\
-./config/mips/decstation.mt\
-./config/mips/idt.mt\
-./config/mips/irix3.mh\
-./config/mips/irix3.mt\
-./config/mips/irix4.mh\
-./config/mips/littlemips.mh\
-./config/mips/littlemips.mt\
-./config/none/none.mh\
-./config/none/none.mt\
-./config/ns32k/merlin.mh\
-./config/ns32k/merlin.mt\
-./config/ns32k/umax.mh\
-./config/ns32k/umax.mt\
-./config/pa/hppabsd.mh\
-./config/pa/hppabsd.mt\
-./config/pa/hppahpux.mh\
-./config/pa/hppahpux.mt\
-./config/pyr/pyramid.mh\
-./config/pyr/pyramid.mt\
-./config/romp/rtbsd.mh\
-./config/rs6000/rs6000.mh\
-./config/rs6000/rs6000.mt\
-./config/sparc/sparc-em.mt\
-./config/sparc/sparclite.mt\
-./config/sparc/sun4os4.mh\
-./config/sparc/sun4os4.mt\
-./config/sparc/sun4sol2.mh\
-./config/sparc/sun4sol2.mt\
-./config/tahoe/tahoe.mh\
-./config/tahoe/tahoe.mt\
-./config/vax/vax.mt\
-./config/vax/vaxbsd.mh\
-./config/vax/vaxult.mh\
-./config/vax/vaxult2.mh\
-./config/z8k/z8ksim.mt
+${srcdir}/config/a29k/a29k-kern.mt\
+${srcdir}/config/a29k/a29k-udi.mt\
+${srcdir}/config/a29k/a29k.mt\
+${srcdir}/config/a29k/ultra3.mh\
+${srcdir}/config/a29k/ultra3.mt\
+${srcdir}/config/arm/arm.mh\
+${srcdir}/config/arm/arm.mt\
+${srcdir}/config/convex/convex.mh\
+${srcdir}/config/convex/convex.mt\
+${srcdir}/config/gould/np1.mh\
+${srcdir}/config/gould/np1.mt\
+${srcdir}/config/gould/pn.mh\
+${srcdir}/config/gould/pn.mt\
+${srcdir}/config/h8300/h8300hms.mt\
+${srcdir}/config/h8500/h8500hms.mt\
+${srcdir}/config/i386/go32.mh\
+${srcdir}/config/i386/i386aout.mt\
+${srcdir}/config/i386/i386bsd.mh\
+${srcdir}/config/i386/i386bsd.mt\
+${srcdir}/config/i386/i386mach.mh\
+${srcdir}/config/i386/i386sco.mh\
+${srcdir}/config/i386/i386sco4.mh\
+${srcdir}/config/i386/i386sol2.mh\
+${srcdir}/config/i386/i386sol2.mt\
+${srcdir}/config/i386/i386v.mh\
+${srcdir}/config/i386/i386v.mt\
+${srcdir}/config/i386/i386v32.mh\
+${srcdir}/config/i386/i386v4.mh\
+${srcdir}/config/i386/i386v4.mt\
+${srcdir}/config/i386/linux.mh\
+${srcdir}/config/i386/linux.mt\
+${srcdir}/config/i386/ncr3000.mh\
+${srcdir}/config/i386/ncr3000.mt\
+${srcdir}/config/i386/sun386.mh\
+${srcdir}/config/i386/sun386.mt\
+${srcdir}/config/i386/symmetry.mh\
+${srcdir}/config/i386/symmetry.mt\
+${srcdir}/config/i960/nindy960.mt\
+${srcdir}/config/i960/vxworks960.mt\
+${srcdir}/config/m68k/3b1.mh\
+${srcdir}/config/m68k/3b1.mt\
+${srcdir}/config/m68k/altos.mh\
+${srcdir}/config/m68k/altos.mt\
+${srcdir}/config/m68k/amix.mh\
+${srcdir}/config/m68k/amix.mt\
+${srcdir}/config/m68k/apollo68b.mh\
+${srcdir}/config/m68k/apollo68v.mh\
+${srcdir}/config/m68k/es1800.mt\
+${srcdir}/config/m68k/hp300bsd.mh\
+${srcdir}/config/m68k/hp300bsd.mt\
+${srcdir}/config/m68k/hp300hpux.mh\
+${srcdir}/config/m68k/hp300hpux.mt\
+${srcdir}/config/m68k/isi.mh\
+${srcdir}/config/m68k/isi.mt\
+${srcdir}/config/m68k/m68k-fp.mt\
+${srcdir}/config/m68k/m68k-nofp.mt\
+${srcdir}/config/m68k/news.mh\
+${srcdir}/config/m68k/news.mt\
+${srcdir}/config/m68k/news1000.mh\
+${srcdir}/config/m68k/os68k.mt\
+${srcdir}/config/m68k/st2000.mt\
+${srcdir}/config/m68k/sun2os3.mh\
+${srcdir}/config/m68k/sun2os3.mt\
+${srcdir}/config/m68k/sun2os4.mh\
+${srcdir}/config/m68k/sun2os4.mt\
+${srcdir}/config/m68k/sun3os3.mh\
+${srcdir}/config/m68k/sun3os3.mt\
+${srcdir}/config/m68k/sun3os4.mh\
+${srcdir}/config/m68k/sun3os4.mt\
+${srcdir}/config/m68k/vxworks68.mt\
+${srcdir}/config/m88k/delta88.mh\
+${srcdir}/config/m88k/delta88.mt\
+${srcdir}/config/m88k/m88k.mh\
+${srcdir}/config/m88k/m88k.mt\
+${srcdir}/config/mips/bigmips.mh\
+${srcdir}/config/mips/bigmips.mt\
+${srcdir}/config/mips/decstation.mh\
+${srcdir}/config/mips/decstation.mt\
+${srcdir}/config/mips/idt.mt\
+${srcdir}/config/mips/irix3.mh\
+${srcdir}/config/mips/irix3.mt\
+${srcdir}/config/mips/irix4.mh\
+${srcdir}/config/mips/littlemips.mh\
+${srcdir}/config/mips/littlemips.mt\
+${srcdir}/config/none/none.mh\
+${srcdir}/config/none/none.mt\
+${srcdir}/config/ns32k/merlin.mh\
+${srcdir}/config/ns32k/merlin.mt\
+${srcdir}/config/ns32k/umax.mh\
+${srcdir}/config/ns32k/umax.mt\
+${srcdir}/config/pa/hppabsd.mh\
+${srcdir}/config/pa/hppabsd.mt\
+${srcdir}/config/pa/hppahpux.mh\
+${srcdir}/config/pa/hppahpux.mt\
+${srcdir}/config/pyr/pyramid.mh\
+${srcdir}/config/pyr/pyramid.mt\
+${srcdir}/config/romp/rtbsd.mh\
+${srcdir}/config/rs6000/rs6000.mh\
+${srcdir}/config/rs6000/rs6000.mt\
+${srcdir}/config/sparc/sparc-em.mt\
+${srcdir}/config/sparc/sparclite.mt\
+${srcdir}/config/sparc/sun4os4.mh\
+${srcdir}/config/sparc/sun4os4.mt\
+${srcdir}/config/sparc/sun4sol2.mh\
+${srcdir}/config/sparc/sun4sol2.mt\
+${srcdir}/config/tahoe/tahoe.mh\
+${srcdir}/config/tahoe/tahoe.mt\
+${srcdir}/config/vax/vax.mt\
+${srcdir}/config/vax/vaxbsd.mh\
+${srcdir}/config/vax/vaxult.mh\
+${srcdir}/config/vax/vaxult2.mh\
+${srcdir}/config/z8k/z8ksim.mt
 
 # End of "alldeps.mak" definitions
diff --git a/gdb/createtags b/gdb/createtags
deleted file mode 100755 (executable)
index 6f02ff2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-#
-# Here we check to see if we are compiling in a directory that contains
-# symlinks to the source files instead of the actual files.  If this is so, 
-# we setup the TAGS entries to point to the actual source directory.
-#
-filelist=""
-if test "`find main.c -type l -print `" != "" ; then
-       prefix=`ls -l main.c | awk '{print $11}' | sed 's;main.c$;;'`
-else
-       prefix=""
-fi
-
-# Replace .o at end of filename with .c
-for i in $@ ; do
-       file=`echo $i-x- | sed -e 's/\.o-x-/\.c-x-/' | sed -e 's/-x-//'`
-       filelist="$filelist $prefix$file"
-done
-
-etags $filelist