]> Git Repo - binutils.git/blobdiff - gdb/Makefile.in
* i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.
[binutils.git] / gdb / Makefile.in
index 8658b6aa5e967b386b94242c620dd87d38cda118..d62c4f89b1020506e38c92a132adcfc68063869b 100644 (file)
@@ -312,7 +312,7 @@ CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
 # your system doesn't have fcntl.h in /usr/include (which is where it
 # should be according to Posix).
 DEFS = @DEFS@
-GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config $(DEFS)
+GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(prefix)/share/locale\"" $(DEFS)
 
 # M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
 # from the config directory.
@@ -568,10 +568,12 @@ LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 getopt_h =     $(INCLUDE_DIR)/getopt.h
 floatformat_h =        $(INCLUDE_DIR)/floatformat.h
 bfd_h =                $(BFD_DIR)/bfd.h
+callback_h =   $(INCLUDE_DIR)/gdb/callback.h
 dis_asm_h =    $(INCLUDE_DIR)/dis-asm.h 
-remote_sim_h = $(INCLUDE_DIR)/remote-sim.h
+remote_sim_h = $(INCLUDE_DIR)/gdb/remote-sim.h
 demangle_h =    $(INCLUDE_DIR)/demangle.h
 obstack_h =     $(INCLUDE_DIR)/obstack.h
+sim_arm_h =    $(INCLUDE_DIR)/gdb/sim-arm.h
 sim_d10v_h =   $(INCLUDE_DIR)/gdb/sim-d10v.h
 splay_tree_h =  $(INCLUDE_DIR)/splay-tree.h
 
@@ -581,14 +583,6 @@ readline_headers = \
        $(READLINE_SRC)/keymaps.h \
        $(READLINE_SRC)/readline.h
 
-udiheaders = \
-       $(srcdir)/29k-share/udi/udiproc.h \
-       $(srcdir)/29k-share/udi/udiphcfg.h \
-       $(srcdir)/29k-share/udi/udiphunix.h \
-       $(srcdir)/29k-share/udi/udiptcfg.h \
-       $(srcdir)/29k-share/udi/udipt29k.h \
-       $(srcdir)/29k-share/udi/udisoc.h
-
 xm_h =         @xm_h@
 tm_h =         @tm_h@
 nm_h =         @nm_h@
@@ -617,7 +611,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 $(INCLUDE_DIR)/gdb/signals.h
+               gdbarch.h ui-file.h $(INCLUDE_DIR)/gdb/signals.h gdb_locale.h
 doublest_h =   doublest.h $(floatformat_h)
 dwarf2cfi_h =  dwarf2cfi.h
 event_loop_h =  event-loop.h
@@ -635,16 +629,19 @@ gdbcmd_h =        gdbcmd.h $(command_h) $(ui_out_h)
 gdbcore_h =    gdbcore.h $(bfd_h)
 gdbthread_h =  gdbthread.h $(breakpoint_h)
 gdbtypes_h =   gdbtypes.h
+i386_tdep_h =  i386-tdep.h
+i386_linux_tdep_h = i386-linux-tdep.h
+i387_tdep_h =  i387-tdep.h
 inf_loop_h =   inf-loop.h
 inferior_h =   inferior.h $(breakpoint_h)
 language_h =   language.h
 linespec_h =   linespec.h
 macroexp_h =   macroexp.h
-macrotab_h =    macrotab.h $(obstack_h) $(bcache_h)
+macrotab_h =    macrotab.h
 macroscope_h =  macroscope.h $(macrotab_h) $(symtab_h)
 memattr_h =     memattr.h
 monitor_h =    monitor.h
-objfiles_h =   objfiles.h
+objfiles_h =   objfiles.h $(bcache_h)
 parser_defs_h =        parser-defs.h $(doublest_h)
 ppc_tdep_h =   ppc-tdep.h osabi.h
 regcache_h =   regcache.h
@@ -658,7 +655,7 @@ solist_h =  solist.h
 source_h =     source.h
 stabsread_h =  stabsread.h
 symfile_h =    symfile.h
-symtab_h =     symtab.h $(bcache_h)
+symtab_h =     symtab.h
 target_h =      target.h $(bfd_h) $(symtab_h) $(dcache_h) $(memattr_h)
 terminal_h =   terminal.h
 top_h =                top.h
@@ -668,6 +665,7 @@ ui_out_h =      ui-out.h
 valprint_h =   valprint.h
 value_h =      value.h $(symtab_h) $(gdbtypes_h) $(expression_h) $(doublest_h)
 varobj_h =      varobj.h $(symtab_h) $(gdbtypes_h)
+vax_tdep_h =   vax-tdep.h osabi.h
 version_h =    version.h
 wrapper_h =    wrapper.h
 xcoffsolib_h = xcoffsolib.h
@@ -688,7 +686,7 @@ HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
        jv-lang.h \
        m2-lang.h  p-lang.h \
        complaints.h valprint.h \
-       29k-share/udi/udiids.h 29k-share/udi_soc nindy-share/b.out.h \
+       nindy-share/b.out.h \
        nindy-share/block_io.h nindy-share/coff.h \
        nindy-share/env.h nindy-share/stop.h \
        vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
@@ -698,7 +696,7 @@ HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
 
 # Header files that already have srcdir in them, or which are in objdir.
 
-HFILES_WITH_SRCDIR = $(udiheaders) ../bfd/bfd.h
+HFILES_WITH_SRCDIR = ../bfd/bfd.h
 
 
 # GDB "info" files, which should be included in their entirety
@@ -843,7 +841,16 @@ uninstall: force $(CONFIG_UNINSTALL)
 # list includes a file twice (because of some mistake somewhere else) 
 # the _initialize_* function will be included twice in init.c. Second, 
 # init.c may force unnecessary files to be linked in.
-#
+
+# FIXME: cagney/2002-06-09: gdb/564: gdb/563: Force the order so that
+# the first call is to _initialize_gdbtypes.  This is a hack to ensure
+# that all the architecture dependant global builtin_type_* variables
+# are initialized before anything else (per-architecture code is
+# called in the same order that it is registered).  The ``correct
+# fix'' is to have all the builtin types made part of the architecture
+# and initialize them on-demand (using gdbarch_data) just like
+# everything else.  The catch is that other modules still take the
+# address of these builtin types forcing them to be variables, sigh!
 
 INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS)
 init.c: $(INIT_FILES)
@@ -868,7 +875,8 @@ init.c: $(INIT_FILES)
            -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
+       sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' | \
+       ( echo _initialize_gdbtypes ; grep -v '^_initialize_gdbtypes$$' ) > init.l-tmp
        @echo '/* Do not modify this file.  */' >>init.c-tmp
        @echo '/* It is created automatically by the Makefile.  */'>>init.c-tmp
        @echo '#include "defs.h"' >>init.c-tmp
@@ -1191,9 +1199,7 @@ MAKEOVERRIDES=
 ## with no dependencies and no actions.
 unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET :
 
-ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
-       29k-share/udi/udi2go32.c \
-       a29k-tdep.c a68v-nat.c \
+ALLDEPFILES = a68v-nat.c \
        alpha-nat.c alphabsd-nat.c \
        alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \
        alpha-osf1-tdep.c alphafbsd-tdep.c \
@@ -1216,7 +1222,7 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
        lynx-nat.c m3-nat.c \
        m68hc11-tdep.c \
        m68k-tdep.c \
-       m88k-nat.c m88k-tdep.c mac-nat.c \
+       m88k-nat.c m88k-tdep.c \
        mcore-tdep.c \
        mips-linux-nat.c mips-linux-tdep.c \
        mips-nat.c \
@@ -1230,17 +1236,18 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
        ppc-sysv-tdep.o ppc-linux-nat.c ppc-linux-tdep.c \
        ppcnbsd-nat.o ppcnbsd-tdep.o \
        procfs.c \
-       remote-adapt.c remote-array.c remote-bug.c remote-e7000.c remote-eb.c \
+       remote-array.c remote-bug.c remote-e7000.c \
        remote-es.c remote-hms.c remote-mips.c \
-       remote-mm.c remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \
+       remote-nindy.c remote-os9k.c remote-rdp.c remote-sim.c \
        remote-st.c remote-utils.c dcache.c \
-       remote-udi.c remote-vx.c remote-vx29k.c \
+       remote-vx.c \
        rs6000-nat.c rs6000-tdep.c \
        s390-tdep.c s390-nat.c \
        ser-go32.c ser-pipe.c ser-tcp.c \
        sh-tdep.c shnbsd-tdep.c shnbsd-nat.c \
        solib.c solib-svr4.c solib-sunos.c sparc-linux-nat.c \
        sparc-nat.c \
+       sparc64nbsd-nat.c sparcnbsd-nat.c sparcnbsd-tdep.c \
        sparc-tdep.c sparcl-tdep.c sun3-nat.c \
        symm-tdep.c symm-nat.c \
        vax-tdep.c \
@@ -1250,15 +1257,6 @@ ALLDEPFILES = 29k-share/udi/udip2soc.c 29k-share/udi/udr.c \
        xstormy16-tdep.c \
        z8k-tdep.c
 
-udip2soc.o: $(srcdir)/29k-share/udi/udip2soc.c $(udiheaders)
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udip2soc.c
-
-udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udi2go32.c
-
-udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders) 
-       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
-
 a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
        $(regcache_h)
 
@@ -1295,7 +1293,7 @@ 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 
+       $(INCLUDE_DIR)/elf/arm.h $(sim_arm_h) $(gdb_assert_h)
 
 armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(arm_tdep_h) $(inferior_h) \
        $(regcache_h) $(gdbcore_h)
@@ -1471,6 +1469,9 @@ findvar.o: findvar.c $(defs_h) $(gdbcore_h) $(inferior_h) $(target_h) \
 frame.o: frame.c $(defs_h) $(frame_h) $(target_h) $(value_h) $(inferior_h) \
        $(regcache_h)
 
+frv-tdep.o: frv-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
+       $(arch_utils_h) $(regcache_h)
+
 regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(regcache_h)
 
 fork-child.o: fork-child.c $(gdb_wait_h) $(defs_h) $(gdbcore_h) \
@@ -1664,7 +1665,8 @@ i386v-nat.o: i386v-nat.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
        $(inferior_h) $(language_h) $(target_h)
 
 i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
-       $(symtab_h) $(symfile_h) $(objfiles_h) $(regcache_h)
+       $(symtab_h) $(symfile_h) $(objfiles_h) $(regcache_h) \
+       $(i386_linux_tdep_h) $(i386_tdep_h) $(i387_tdep_h)
 
 i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
        $(value_h) $(regcache_h)
@@ -1689,7 +1691,7 @@ ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
 
 infcmd.o: infcmd.c $(defs_h) environ.h $(gdbcmd_h) $(gdbcore_h) \
        $(inferior_h) $(target_h) $(language_h) $(symfile_h) $(gdb_string_h) \
-       $(ui_out_h) $(completer_h)
+       $(ui_out_h) $(completer_h) $(regcache_h)
 
 inflow.o: inflow.c $(bfd_h) $(command_h) $(defs_h) $(inferior_h) \
        $(target_h) $(terminal_h) $(gdbthread_h) $(gdb_string_h)
@@ -1974,7 +1976,7 @@ rdi-share/libangsd.a:     force
        fi
 
 remote-rdp.o: remote-rdp.c $(defs_h) $(gdbcore_h) \
-       $(inferior_h) $(gdb_string_h) $(arm_tdep_h)
+       $(inferior_h) $(gdb_string_h) $(arm_tdep_h) $(callback_h)
 
 remote-bug.o: remote-bug.c $(defs_h) $(gdbcore_h) $(serial_h) \
        $(inferior_h) $(target_h) $(terminal_h) $(remote_utils_h) \
@@ -2011,7 +2013,7 @@ remote-sds.o: remote-sds.c $(bfd_h) $(defs_h) $(gdbcmd_h) \
        $(gdb_string_h) $(regcache_h)
 
 remote-sim.o: remote-sim.c $(defs_h) $(inferior_h) $(value_h) $(gdb_string_h) \
-       $(terminal_h) $(target_h) $(gdbcore_h) $(INCLUDE_DIR)/callback.h \
+       $(terminal_h) $(target_h) $(gdbcore_h) $(callback_h) \
        $(remote_sim_h) $(remote_utils_h) $(command_h) $(regcache_h) \
        $(sim_regno_h)
 
@@ -2128,6 +2130,16 @@ sparc-tdep.o: sparc-tdep.c $(floatformat_h) $(defs_h) $(gdbcore_h) \
 
 sparcl-tdep.o: sparcl-tdep.c $(defs_h) $(gdbcore_h) $(target_h) $(regcache_h)
 
+sparc64nbsd-nat.o: sparc64nbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
+       sparcnbsd-tdep.h
+
+sparcnbsd-nat.o: sparcnbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
+       sparcnbsd-tdep.h 
+
+sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
+       $(target_h) $(value_h) osabi.h sparcnbsd-tdep.h nbsd-tdep.h \
+       solib-svr4.h
+
 xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(value_h) $(inferior_h) \
        $(symfile_h) $(arch_utils_h) $(regcache_h) $(gdbcore_h)
 
@@ -2225,7 +2237,7 @@ values.o: values.c $(defs_h) $(expression_h) $(frame_h) $(gdbcmd_h) \
        $(gdb_string_h) scm-lang.h $(doublest_h)
 
 vax-tdep.o: vax-tdep.c $(OP_INCLUDE)/vax.h $(defs_h) $(symtab_h) \
-       $(arch_utils_h) $(inferior_h) vax-tdep.h
+       $(arch_utils_h) $(inferior_h) $(vax_tdep_h)
 
 x86-64-linux-tdep.o : x86-64-linux-tdep.c $(defs_h) $(inferior_h) \
        $(gdbcore_h) $(regcache_h) x86-64-tdep.h i386-tdep.h $(dwarf2cfi_h)
This page took 0.035631 seconds and 4 git commands to generate.