]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/Makefile.in
2002-03-27 Michael Snyder <msnyder@redhat.com>
[thirdparty/binutils-gdb.git] / gdb / Makefile.in
index bd8eacb11993089a9d07f8fa5ddfd38706c20087..eee57a053e30a9e055f49209b25527b6452a6153 100644 (file)
@@ -142,7 +142,8 @@ SUBDIR_CLI_SRCS = \
        cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
        cli/cli-utils.c
 SUBDIR_CLI_DEPS =
-SUBDIR_CLI_INITS =
+SUBDIR_CLI_INITS = \
+       $(SUBDIR_CLI_SRCS)
 SUBDIR_CLI_LDFLAGS=
 SUBDIR_CLI_CFLAGS=
 SUBDIR_CLI_ALL=
@@ -166,7 +167,7 @@ SUBDIR_MI_SRCS = \
        mi/mi-main.c mi/mi-parse.c mi/mi-getopt.c
 SUBDIR_MI_DEPS =
 SUBDIR_MI_INITS = \
-       mi/mi-cmds.c mi/mi-parse.c mi/mi-main.c mi/mi-out.c
+       $(SUBDIR_MI_SRCS)
 SUBDIR_MI_LDFLAGS=
 SUBDIR_MI_CFLAGS= \
        -DMI_OUT=1
@@ -533,7 +534,7 @@ SFILES = ax-general.c ax-gdb.c bcache.c blockframe.c breakpoint.c \
        memattr.c mem-break.c minsyms.c mipsread.c nlmread.c objfiles.c \
        p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c \
        printcmd.c remote.c remote-nrom.c scm-exp.c scm-lang.c \
-       scm-valprint.c signals.c source.c stabsread.c stack.c symfile.c \
+       scm-valprint.c source.c stabsread.c stack.c symfile.c \
        symmisc.c symtab.c linespec.c target.c thread.c top.c tracepoint.c \
        typeprint.c utils.c valarith.c valops.c valprint.c values.c \
        serial.c ser-unix.c mdebugread.c os9kread.c \
@@ -591,7 +592,7 @@ buildsym_h =        buildsym.h
 c_lang_h =     c-lang.h $(value_h)
 call_cmds_h =  call-cmds.h
 cli_cmds_h =   $(srcdir)/cli/cli-cmds.h
-cli_decode_h = $(srcdir)/cli/cli-decode.h
+cli_decode_h = $(srcdir)/cli/cli-decode.h $(command_h)
 cli_out_h =    cli-out.h
 cli_script_h = $(srcdir)/cli/cli-script.h
 cli_setshow_h =        $(srcdir)/cli/cli-setshow.h
@@ -602,7 +603,7 @@ completer_h =       completer.h
 cp_abi_h =     cp-abi.h
 dcache_h =     dcache.h
 defs_h =       defs.h $(xm_h) $(tm_h) $(nm_h) config.status config.h \
-               gdbarch.h ui-file.h
+               gdbarch.h ui-file.h $(INCLUDE_DIR)/gdb/signals.h
 doublest_h =   doublest.h $(floatformat_h)
 dwarf2cfi_h =  dwarf2cfi.h
 event_loop_h =  event-loop.h
@@ -838,6 +839,7 @@ init.c: $(INIT_FILES)
            -e '/^[a-z0-9A-Z_]*_[SU].o/d' \
            -e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
            -e 's/\.o/.c/' \
+           -e 's,signals\.c,signals/signals\.c,' \
            -e 's|\([^  ][^     ]*\)|$(srcdir)/\1|g' | \
        while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \
        sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' > init.l-tmp
@@ -1042,7 +1044,7 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \
 version.c: Makefile version.in
        rm -f version.c-tmp version.c
        echo '#include "version.h"' >> version.c-tmp
-       echo 'const char version[] = "'"`head -1 ${srcdir}/version.in`"'";' >> version.c-tmp
+       echo 'const char version[] = "'"`sed q ${srcdir}/version.in`"'";' >> version.c-tmp
        echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
        echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp
        mv version.c-tmp version.c
@@ -1167,6 +1169,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
        29k-share/udi/udi2go32.c \
        a29k-tdep.c a68v-nat.c alpha-nat.c alpha-tdep.c \
        arm-linux-nat.c arm-linux-tdep.c arm-tdep.c armnbsd-nat.c \
+       armnbsd-tdep.c \
        coff-solib.c \
        core-sol2.c core-regset.c core-aout.c corelow.c \
        dcache.c delta68-nat.c dpx2-nat.c dstread.c exec.c fork-child.c \
@@ -1238,15 +1241,21 @@ alpha-tdep.o: alpha-tdep.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
 annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) $(gdbtypes_h)
 
 arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
-       $(gdb_string_h) $(regcache_h)
+       $(gdb_string_h) $(regcache_h) arm-tdep.h
 
 arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
-       $(gdbtypes_h) $(floatformat_h) $(regcache_h) $(doublest_h)
+       $(gdbtypes_h) $(floatformat_h) $(regcache_h) $(doublest_h) arm-tdep.h
+
+arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \
+       $(gdbcore_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) $(doublest_h) \
+       $(value_h) $(arch_utils_h) $(solib_svr4_h) arm-tdep.h \
+       $(BFD_SRC)/elf-bfd.h $(INCLUDE_DIR)/coff/internal.h \
+       $(INCLUDE_DIR)/elf/arm.h 
 
-arm-tdep.o: arm-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
-       $(gdbcore_h) $(regcache_h) $(doublest_h) $(value_h)
+armnbsd-nat.o: armnbsd-nat.c $(defs_h) arm-tdep.h $(inferior_h) $(regcache_h) \
+       $(gdbcore_h)
 
-armnbsd-nat.o: armnbsd-nat.c $(defs_h)
+armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) arm-tdep.h
 
 bcache.o: bcache.c $(bcache_h) $(defs_h)
 
@@ -1330,7 +1339,7 @@ gcore.o: gcore.c $(defs_h) $(command_h) $(inferior_h) $(gdbcore_h) \
        $(BFD_SRC)/elf-bfd.h $(symfile_h) $(objfiles_h) 
 
 linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gregset_h) \
-       $(gdbcore_h) $(gdbthread_h) $(BFD_SRC)/elf-bfd.h 
+       $(gdbcore_h) $(gdbthread_h) $(regcache_h) $(BFD_SRC)/elf-bfd.h 
 
 cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h)
 
@@ -1383,7 +1392,7 @@ event-loop.o: event-loop.c $(defs_h) $(top_h) $(event_loop_h) $(event_top_h)
 
 event-top.o: event-top.c $(top_h) $(readline_headers) \
       $(defs_h) $(inferior_h) $(event_loop_h) $(event_top_h) $(terminal_h) \
-       $(gdbcmd_h) $(target_h)
+       $(gdbcmd_h) $(target_h) $(cli_decode_h)
 
 inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(inf_loop_h) $(event_loop_h) \
         $(event_top_h)
@@ -1701,7 +1710,8 @@ main.o: main.c $(top_h) $(defs_h) $(gdb_string_h) $(event_loop_h) \
        $(symfile_h)  $(gdbcore_h) $(ui_out_h)
 
 maint.o: maint.c $(defs_h) $(gdbcmd_h) $(gdbtypes_h) $(symtab_h) \
-       $(language_h) $(expression_h) $(objfiles_h) $(symfile_h)
+       $(language_h) $(expression_h) $(objfiles_h) $(symfile_h) \
+       $(cli_decode_h)
 
 mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(gdbcmd_h) $(value_h) \
        $(symtab_h) $(symfile_h) $(gdbcore_h) $(inferior_h)
@@ -1844,9 +1854,6 @@ sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
 
 linux-proc.o: linux-proc.c $(defs_h)
 
-linux-thread.o: linux-thread.c $(breakpoint_h) $(gdbcmd_h) gdb_wait.h \
-       $(gdbthread_h) $(gdbcore_h) $(inferior_h) $(target_h) $(defs_h)
-
 thread-db.o: thread-db.c $(defs_h) gdb_assert.h gdb_proc_service.h \
        gdb_thread_db.h $(bfd_h) $(gdbthread_h) $(inferior_h) $(symfile_h) \
        $(objfiles_h) $(target_h) $(regcache_h)
@@ -1865,7 +1872,7 @@ remote-array.o: remote-array.c $(defs_h) $(gdbcore_h) $(target_h) \
        $(version_h) $(regcache_h)
 
 remote-rdi.o: remote-rdi.c $(defs_h) $(gdbcore_h) \
-       $(inferior_h) $(gdb_string_h) $(completer_h)
+       $(inferior_h) $(gdb_string_h) $(completer_h) arm-tdep.h
 
 rdi-share/libangsd.a:  force
        @dir=rdi-share; \
@@ -1878,7 +1885,7 @@ rdi-share/libangsd.a:     force
        fi
 
 remote-rdp.o: remote-rdp.c $(defs_h) $(gdbcore_h) \
-       $(inferior_h) $(gdb_string_h)
+       $(inferior_h) $(gdb_string_h) arm-tdep.h
 
 remote-bug.o: remote-bug.c $(defs_h) $(gdbcore_h) $(serial_h) \
        $(inferior_h) $(target_h) $(terminal_h) $(remote_utils_h) \
@@ -1964,7 +1971,7 @@ rom68k-rom.o: rom68k-rom.c $(monitor_h) $(bfd_h) gdb_wait.h $(defs_h) \
 
 rs6000-nat.o: rs6000-nat.c $(bfd_h) $(defs_h) $(inferior_h) $(target_h) \
        $(gdbcore_h) $(xcoffsolib_h) $(symfile_h) $(objfiles_h) \
-       $(gdb_stabs_h) $(regcache_h)
+       $(gdb_stabs_h) $(regcache_h) $(arch_utils_h)
 
 rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(target_h) ppc-tdep.h $(regcache_h) $(value_h) $(parser_defs_h)
@@ -2003,7 +2010,8 @@ sh3-rom.o: sh3-rom.c $(monitor_h) $(bfd_h) gdb_wait.h $(defs_h) $(gdbcmd_h) \
        $(inferior_h) $(target_h) $(serial_h) $(terminal_h) $(arch_utils_h) \
        $(regcache_h)
 
-signals.o: signals.c $(defs_h) $(target_h)
+signals.o: signals/signals.c $(defs_h) $(target_h)
+       $(CC) -c $(INTERNAL_CFLAGS) $<
 
 mon960-rom.o: mon960-rom.c $(monitor_h) $(bfd_h) gdb_wait.h $(defs_h) \
        $(gdbcmd_h) $(inferior_h) $(target_h) $(serial_h) $(terminal_h)
@@ -2089,7 +2097,8 @@ thread.o: thread.c $(defs_h) $(gdbthread_h) $(gdbcmd_h) $(target_h) \
        $(regcache_h) $(ui_out_h) $(gdb_h)
 
 completer.o: completer.c $(completer_h) $(gdbtypes_h) $(symtab_h) \
-       $(defs_h) $(gdbcmd_h) $(expression_h) $(readline_headers)
+       $(defs_h) $(gdbcmd_h) $(expression_h) $(readline_headers) \
+       $(cli_decode_h)
 
 top.o: top.c $(top_h) $(bfd_h) $(getopt_h) $(readline_headers) $(call_cmds_h) \
        $(cli_cmds_h) $(cli_script_h) $(cli_setshow_h) \