2009-02-06 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 7f8c9eafa743ed899c9b5165a8c88458d2010918..06bdd98302cba7f496de9f6461d0ad98a7fbb484 100644 (file)
@@ -1,5 +1,5 @@
 # Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 # Free Software Foundation, Inc.
 
 # This file is part of GDB.
@@ -185,15 +185,14 @@ GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@
 #
 SUBDIR_CLI_OBS = \
        cli-dump.o \
-       cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o \
+       cli-decode.o cli-script.o cli-cmds.o cli-setshow.o \
        cli-logging.o \
        cli-interp.o
 SUBDIR_CLI_SRCS = \
        cli/cli-dump.c \
        cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
        cli/cli-logging.c \
-       cli/cli-interp.c \
-       cli/cli-utils.c
+       cli/cli-interp.c
 SUBDIR_CLI_DEPS =
 SUBDIR_CLI_LDFLAGS=
 SUBDIR_CLI_CFLAGS=
@@ -271,10 +270,14 @@ SUBDIR_TUI_CFLAGS= \
 #
 SUBDIR_PYTHON_OBS = \
        python.o \
-       python-utils.o
+       python-cmd.o \
+       python-utils.o \
+       python-value.o
 SUBDIR_PYTHON_SRCS = \
        python/python.c \
-       python/python-utils.c
+       python/python-cmd.c \
+       python/python-utils.c \
+       python/python-value.c
 SUBDIR_PYTHON_DEPS =
 SUBDIR_PYTHON_LDFLAGS=
 SUBDIR_PYTHON_CFLAGS=
@@ -409,13 +412,13 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 # If you have the Cygnus libraries installed,
 # you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
 INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty -ldecnumber \
-       $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
+       $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
        -lintl -liberty $(LIBGNU)
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
-       $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
+       $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
        $(LIBICONV) $(LIBEXPAT) \
        $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
-CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
+CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
        $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
 
 ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
@@ -433,7 +436,7 @@ RUNTESTFLAGS=
 
 # XML files to build in to GDB.
 XMLFILES = $(srcdir)/features/gdb-target.dtd $(srcdir)/features/xinclude.dtd \
-       $(srcdir)/features/library-list.dtd
+       $(srcdir)/features/library-list.dtd $(srcdir)/features/osdata.dtd
 
 # This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
 # interface to the serial port.  Hopefully if get ported to OS/2, VMS,
@@ -480,6 +483,7 @@ ALL_TARGET_OBS = \
        i386-sol2-tdep.o i386-tdep.o i387-tdep.o \
        i386-dicos-tdep.o \
        iq2000-tdep.o \
+       linux-tdep.o \
        m32c-tdep.o \
        m32r-linux-tdep.o m32r-tdep.o \
        m68hc11-tdep.o \
@@ -514,7 +518,8 @@ ALL_TARGET_OBS = \
        xcoffread.o \
        prologue-value.o \
        symfile-mem.o \
-       corelow.o
+       corelow.o \
+       windows-tdep.o
 
 # Host-dependent makefile fragment comes in here.
 @host_makefile_frag@
@@ -609,7 +614,7 @@ TARGET_FLAGS_TO_PASS = \
 # Links made at configuration time should not be specified here, since
 # SFILES is used in building the distribution archive.
 
-SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c  \
+SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
        addrmap.c \
        auxv.c ax-general.c ax-gdb.c \
        bcache.c \
@@ -636,10 +641,10 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c  \
        macrotab.c macroexp.c macrocmd.c macroscope.c main.c maint.c \
        mdebugread.c memattr.c mem-break.c minsyms.c mipsread.c memory-map.c \
        objc-exp.y objc-lang.c \
-       objfiles.c osabi.c observer.c \
+       objfiles.c osabi.c observer.c osdata.c \
        p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
        prologue-value.c \
-       regcache.c reggroups.c remote.c remote-fileio.c \
+       regcache.c reggroups.c remote.c remote-fileio.c reverse.c \
        scm-exp.c scm-lang.c scm-valprint.c \
        sentinel-frame.c \
        serial.c ser-base.c ser-unix.c \
@@ -655,7 +660,8 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c  \
        user-regs.c \
        valarith.c valops.c valprint.c value.c varobj.c vec.c \
        wrapper.c \
-       xml-tdesc.c xml-support.c
+       xml-tdesc.c xml-support.c \
+       inferior.c
 
 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 
@@ -675,11 +681,11 @@ osf-share/cma_stack_int.h osf-share/cma_init.h \
 osf-share/cma_deb_core.h osf-share/AT386/cma_thread_io.h \
 osf-share/cma_sched.h proc-utils.h arm-tdep.h ax-gdb.h ppcnbsd-tdep.h \
 cli-out.h gdb_expat.h breakpoint.h infcall.h obsd-tdep.h gnu-v2-abi.h \
-exec.h m32r-tdep.h osabi.h gdb-events.h gdbcore.h solib-som.h \
+exec.h m32r-tdep.h osabi.h gdbcore.h solib-som.h \
 i386bsd-nat.h xml-support.h xml-tdesc.h alphabsd-tdep.h gdb_obstack.h \
 ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \
 c-lang.h frame.h event-loop.h block.h cli/cli-setshow.h        \
-cli/cli-decode.h cli/cli-cmds.h cli/cli-utils.h cli/cli-dump.h \
+cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \
 cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \
 gnulib/string.in.h gnulib/str-two-way.h gnulib/extra/link-warning.h \
 gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \
@@ -692,7 +698,7 @@ gdbarch.h bsd-uthread.h gdb_thread_db.h gdb_stat.h memory-map.h     \
 mdebugread.h m88k-tdep.h stabsread.h hppa-linux-offsets.h linux-fork.h \
 ser-unix.h scm-lang.h inf-ptrace.h terminal.h ui-out.h frame-base.h \
 f-lang.h dwarf2loc.h value.h sparc-tdep.h defs.h target-descriptions.h \
-objfiles.h vec.h disasm.h mips-tdep.h gstdint.h ser-base.h \
+objfiles.h vec.h disasm.h mips-tdep.h ser-base.h \
 gdb_curses.h bfd-target.h memattr.h inferior.h ax.h dummy-frame.h \
 inflow.h fbsd-nat.h libunwind-frame.h completer.h inf-ttrace.h \
 solib-target.h shnbsd-tdep.h gdb_vfork.h alpha-tdep.h dwarf2expr.h \
@@ -714,7 +720,7 @@ coff-pe-read.h parser-defs.h gdb_ptrace.h mips-linux-tdep.h \
 m68k-tdep.h spu-tdep.h jv-lang.h environ.h solib-irix.h amd64-tdep.h \
 doublest.h regset.h hppa-tdep.h ppc-linux-tdep.h rs6000-tdep.h \
 gdb_locale.h gdb_dirent.h arch-utils.h trad-frame.h gnu-nat.h \
-language.h i386-cygwin-tdep.h nbsd-tdep.h wrapper.h solib-svr4.h \
+language.h nbsd-tdep.h wrapper.h solib-svr4.h \
 macroexp.h ui-file.h regcache.h gdb_string.h tracepoint.h i386-tdep.h \
 inf-child.h p-lang.h event-top.h gdbtypes.h scm-tags.h user-regs.h \
 regformats/regdef.h config/alpha/nm-osf3.h config/i386/nm-cygwin.h \
@@ -725,7 +731,7 @@ config/sparc/nm-sol2.h config/nm-linux.h config/mips/nm-irix5.h     \
 config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
 annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h        \
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
-sentinel-frame.h bcache.h symfile.h
+sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
@@ -777,11 +783,13 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        findcmd.o \
        std-regs.o \
        signals.o \
-       exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
+       exec.o reverse.o \
+       bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
        dbxread.o coffread.o coff-pe-read.o \
        dwarf2read.o mipsread.o stabsread.o corefile.o \
        dwarf2expr.o dwarf2loc.o dwarf2-frame.o \
        ada-lang.o c-lang.o f-lang.o objc-lang.o \
+       ada-tasks.o \
        ui-out.o cli-out.o \
        varobj.o vec.o wrapper.o \
        jv-lang.o jv-valprint.o jv-typeprint.o \
@@ -803,7 +811,8 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        tramp-frame.o \
        solib.o solib-null.o \
        prologue-value.o memory-map.o xml-support.o \
-       target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o
+       target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o \
+       inferior.o osdata.o
 
 TSOBS = inflow.o
 
@@ -831,7 +840,8 @@ DISTSTUFF = $(YYFILES)
 
 
 # All generated files which can be included by another file.
-generated_files = config.h observer.h observer.inc ada-lex.c
+generated_files = config.h observer.h observer.inc ada-lex.c \
+       $(GNULIB_H) $(NAT_GENERATED_FILES)
 
 .c.o:
        $(COMPILE) $<
@@ -1005,8 +1015,8 @@ init.c: $(INIT_FILES)
        @rm -f init.c-tmp init.l-tmp
        @touch init.c-tmp
        @echo gdbtypes > init.l-tmp
-       @-LANG=c ; export LANG ; \
-       LC_ALL=c ; export LC_ALL ; \
+       @-LANG=C ; export LANG ; \
+       LC_ALL=C ; export LC_ALL ; \
        echo $(INIT_FILES) | \
        tr ' ' '\012' | \
        sed \
@@ -1184,7 +1194,7 @@ gnulib/Makefile: gnulib/Makefile.in gnulib/Makefile.in config.status @frags@
 config.h: stamp-h ; @true
 stamp-h: config.in config.status
        CONFIG_HEADERS=config.h:config.in \
-         CONFIG_COMMANDS=default \
+         CONFIG_COMMANDS="default depdir" \
          CONFIG_FILES= \
          CONFIG_LINKS= \
          $(SHELL) config.status
@@ -1292,6 +1302,7 @@ ALLDEPFILES = \
        irix5-nat.c \
        libunwind-frame.c \
        linux-fork.c \
+       linux-tdep.c \
        m68hc11-tdep.c \
        m32r-tdep.c \
        m32r-linux-nat.c m32r-linux-tdep.c \
@@ -1334,7 +1345,7 @@ ALLDEPFILES = \
        spu-linux-nat.c spu-tdep.c \
        v850-tdep.c \
        vax-nat.c vax-tdep.c vaxbsd-nat.c vaxnbsd-tdep.c \
-       win32-nat.c \
+       windows-nat.c windows-tdep.c \
        xcoffread.c xcoffsolib.c \
        xstormy16-tdep.c \
        xtensa-tdep.c xtensa-config.c \
@@ -1370,12 +1381,6 @@ printcmd.o: $(srcdir)/printcmd.c
                $(GDB_WERROR_CFLAGS) $(COMPILE.post) $(srcdir)/printcmd.c
        $(POSTCOMPILE)
 
-# FIXME: Procfs.o gets -Wformat errors because things like pid_t don't
-# match output format strings.
-procfs.o: $(srcdir)/procfs.c
-       $(COMPILE.pre) $(INTERNAL_WARN_CFLAGS) $(COMPILE.post) $(srcdir)/procfs.c
-       $(POSTCOMPILE)
-
 # Message files.  Based on code in gcc/Makefile.in.
 
 # Rules for generating translated message descriptions.  Disabled by
@@ -1469,6 +1474,8 @@ po/$(PACKAGE).pot: force
             -e '/include.*malloc.h/d' \
             -e 's/\([^x]\)malloc/\1xmalloc/g' \
             -e 's/\([^x]\)realloc/\1xrealloc/g' \
+            -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+            -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
             -e '/^#line.*y.tab.c/d' \
          < $@.tmp > $@.new
        -rm $@.tmp
@@ -1483,6 +1490,8 @@ po/$(PACKAGE).pot: force
                -e '/include.*malloc.h/d' \
                -e 's/\([^x]\)malloc/\1xmalloc/g' \
                -e 's/\([^x]\)realloc/\1xrealloc/g' \
+               -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+               -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
                -e 's/yy_flex_xrealloc/yyxrealloc/g' \
              < $@ > $@.new && \
            rm -f $@ && \
@@ -1549,10 +1558,6 @@ cli-setshow.o: $(srcdir)/cli/cli-setshow.c
        $(COMPILE) $(srcdir)/cli/cli-setshow.c
        $(POSTCOMPILE)
 
-cli-utils.o: $(srcdir)/cli/cli-utils.c
-       $(COMPILE) $(srcdir)/cli/cli-utils.c
-       $(POSTCOMPILE)
-
 
 #
 # GDBTK sub-directory
@@ -1835,11 +1840,17 @@ python.o: $(srcdir)/python/python.c
        $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python.c
        $(POSTCOMPILE)
 
+python-cmd.o: $(srcdir)/python/python-cmd.c
+       $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-cmd.c
+       $(POSTCOMPILE)
+
 python-utils.o: $(srcdir)/python/python-utils.c
        $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-utils.c
        $(POSTCOMPILE)
 
-\f
+python-value.o: $(srcdir)/python/python-value.c
+       $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-value.c
+       $(POSTCOMPILE)
 
 #
 # Dependency tracking.  Most of this is conditional on GNU Make being
This page took 0.027386 seconds and 4 git commands to generate.