IA-64 changes
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 60464323897cb166364f29070b24b916a1c30630..ef4a8245a9560e5bec87e94f3bdc03fcc86193ad 100644 (file)
@@ -466,7 +466,7 @@ SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \
        demangle.c dwarfread.c dwarf2read.c elfread.c environ.c eval.c \
        event-loop.c event-top.c \
        expprint.c f-exp.y f-lang.c f-typeprint.c f-valprint.c \
-       findvar.c gdbarch.c gdbtypes.c \
+       findvar.c gdbarch.c gdbarch-utils.c gdbtypes.c \
        inf-loop.c infcmd.c inflow.c infrun.c language.c \
        kod.c kod-cisco.c \
        ui-out.c cli-out.c \
@@ -548,6 +548,7 @@ remote_h =  remote.h
 version_h =    version.h
 ui_out_h =      ui-out.h
 cli_out_h =    cli-out.h
+gdbarch_utils_h = gdbarch-utils.h
 
 # Header files that need to have srcdir added.  Note that in the cases
 # where we use a macro like $(gdbcmd_h), things are carefully arranged
@@ -605,7 +606,7 @@ COMMON_OBS = version.o blockframe.o breakpoint.o findvar.o stack.o thread.o \
        symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o \
        expprint.o environ.o \
        event-loop.o event-top.o inf-loop.o \
-       gdbarch.o gdbtypes.o copying.o $(DEPFILES) \
+       gdbarch.o gdbarch-utils.o gdbtypes.o copying.o $(DEPFILES) \
        mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
        kod.o kod-cisco.o \
        gdb-events.o \
@@ -687,7 +688,9 @@ install-only: $(CONFIG_INSTALL)
                else \
                  true ; \
                fi ; \
+               $(srcdir)/../mkinstalldirs $(bindir) ; \
                $(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \
+               $(srcdir)/../mkinstalldirs $(man1dir) ; \
                $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
        @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do 
 
@@ -939,9 +942,19 @@ doc/gdb.dvi:
 doc/gdb.info:
        cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS)
 
+# When DJGPP Make runs on MS-DOS, it downcases all file names, so
+# it doesn't find COPYING, and wants to make it...
+copying.txt:
+       test -f copying.txt || \
+         (test "$$LN_S" = "ln -s" && \
+           ln -s $(srcdir)/COPYING copying.txt;) || \
+         cp -p $(srcdir)/COPYING copying.txt 2>/dev/null || \
+         ln $(srcdir)/COPYING copying.txt 2>/dev/null || \
+         cp $(srcdir)/COPYING copying.txt
+
 # Make copying.c from COPYING
-copying.c: COPYING copying.awk
-       awk -f $(srcdir)/copying.awk < $(srcdir)/COPYING > copying.c
+copying.c: copying.txt copying.awk
+       awk -f $(srcdir)/copying.awk < $(srcdir)/copying.txt > copying.c
 
 version.c: Makefile
        rm -f version.c
@@ -1065,6 +1078,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
        i387-tdep.c \
        i386-linux-tdep.c \
        i960-tdep.c \
+       ia64-linux-nat.c ia64-tdep.c \
        infptrace.c inftarg.c irix4-nat.c irix5-nat.c isi-xdep.c \
        lynx-nat.c m3-nat.c \
        m68k-tdep.c \
@@ -1260,15 +1274,23 @@ findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) target.h \
 fork-child.o: fork-child.c gdb_wait.h $(defs_h) $(gdbcore_h) \
        $(inferior_h) target.h terminal.h gdbthread.h gdb_string.h
 
+# FIXME: cagney/2000-03-27: Post 5.0 this link code can be removed.
+# It should now be possible to run GDBtk from the build directory
+# without the link in place.
 all-gdbtk:
-       if test "$(LN_S)" = "ln -s" -a ! -d gdbtcl/images ; then \
-         echo linking ${srcdir}/gdbtk/library to gdbtcl ; \
-         $(LN_S) ${srcdir}/gdbtk/library gdbtcl ; \
-       else \
-         echo Warning: Unable to link ${srcdir}/gdbtk/library to gdbtcl. ; \
-         echo "         " You will need to do a ; \
-         echo "         " make install before you are able to run the GUI. ; \
-       fi
+       @if test ! -d gdbtcl/images ; then \
+         if test "$(LN_S)" = "ln -s" ; then \
+           echo linking ${srcdir}/gdbtk/library to gdbtcl ; \
+           rm -f gdbtcl ; \
+           test ! -r gdbtcl || exit 1 ; \
+           $(LN_S) ${srcdir}/gdbtk/library gdbtcl ; \
+         else \
+           echo "Warning:" ; \
+           echo "Unable to link ${srcdir}/gdbtk/library to gdbtcl." ; \
+           echo "You will need to do a \`make install' before you are" ; \
+           echo "able to run the GUI." ; \
+         fi ; \
+       else true ; fi
 
 clean-gdbtk:
        rm -f gdbtcl
@@ -1343,6 +1365,9 @@ tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(tracepoint_h) \
 
 gdbarch.o: gdbarch.c $(defs_h) $(bfd_h) $(gdbcmd_h)
 
+gdbarch-utils.o: gdbarch-utils.c $(defs_h) $(bfd_h) $(gdbcmd_h) \
+       $(gdbarch_utils_h)
+
 gdbtypes.o: gdbtypes.c $(bfd_h) complaints.h $(defs_h) $(expression_h) \
        $(gdbtypes_h) language.h objfiles.h symfile.h $(symtab_h) target.h \
        $(value_h) gdb_string.h
@@ -1409,6 +1434,12 @@ i387-tdep.o: i387-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
 i960-tdep.o: i960-tdep.c $(floatformat_h) $(defs_h) $(expression_h) \
        $(frame_h) $(gdbtypes_h) $(symtab_h) $(value_h) $(gdbcore_h)
 
+ia64-linux-nat.o: ia64-linux-nat.c  $(defs_h) $(inferior_h) $(target_h) \
+       $(gdbcore_h)
+
+ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) symfile.h $(gdbcore_h) \
+       $(floatformat_h) objfiles.h $(INCLUDE_DIR)/elf/common.h
+
 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
        $(inferior_h) target.h language.h gdb_string.h
 
@@ -1482,7 +1513,7 @@ m88k-tdep.o: m88k-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h)
 
 mac-nat.o: mac-nat.c $(defs_h) gdb_string.h
 
-main.o: main.c top.h $(defs_h) gdb_string.h $(event_loop_h) tui/tui-file.h
+main.o: main.c top.h $(defs_h) gdb_string.h $(event_loop_h) $(srcdir)/tui/tui-file.h
 
 maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) language.h \
        $(expression_h) objfiles.h symfile.h
@@ -1512,6 +1543,7 @@ minsyms.o: minsyms.c $(bfd_h) $(defs_h) objfiles.h symfile.h \
 mips-nat.o: mips-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) 
 
 mips-tdep.o: mips-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
+       $(gdbarch_utils_h) \
        $(inferior_h) language.h objfiles.h symfile.h gdb_string.h
 
 mipsread.o: mipsread.c buildsym.h complaints.h $(bfd_h) $(defs_h) \
This page took 0.027867 seconds and 4 git commands to generate.