* target.h (struct section_table): Rename to ...
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 7400702a68f71ad9a95f147920257af9fcf58d18..89fb8725ddae69d1c63ef3d0485bb47fb7f3e9ed 100644 (file)
@@ -6,7 +6,7 @@
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
@@ -15,9 +15,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor,
-# Boston, MA 02110-1301, USA.
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@
@@ -42,8 +40,10 @@ man7dir = $(mandir)/man7
 man8dir = $(mandir)/man8
 man9dir = $(mandir)/man9
 infodir = @infodir@
-pdfdir = $(prefix)/share/doc/gdb
-htmldir = $(prefix)/html
+datarootdir = @datarootdir@
+docdir = @docdir@
+htmldir = @htmldir@
+pdfdir = @pdfdir@
 includedir = @includedir@
 
 # This can be referenced by `LIBINTL' as computed by
@@ -111,11 +111,8 @@ YLWRAP = $(srcdir)/../ylwrap
 # where to find makeinfo, preferably one designed for texinfo-2
 MAKEINFO=makeinfo
 
-# Contrary to documentation, the current directory is not
-# searched by texi2html, so specify it explicitly.
-# -macro 2007-07-26
-MAKEHTML = texi2html
-MAKEHTMLFLAGS = -menu -split_chapter -I .
+MAKEHTML = $(MAKEINFO) --html
+MAKEHTMLFLAGS =
 
 # Set this up with gcc if you have gnu ld and the loader will print out
 # line numbers for undefined references.
@@ -165,9 +162,6 @@ INTL = @LIBINTL@
 INTL_DEPS = @LIBINTL_DEP@
 INTL_CFLAGS = @INCINTL@
 
-# Where is the ICONV library?  This can be empty if libc has iconv.
-LIBICONV = @LIBICONV@
-
 # Did the user give us a --with-sysroot option?
 TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
 TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
@@ -271,11 +265,15 @@ SUBDIR_TUI_CFLAGS= \
 SUBDIR_PYTHON_OBS = \
        python.o \
        python-cmd.o \
+       python-frame.o \
+       python-function.o \
        python-utils.o \
        python-value.o
 SUBDIR_PYTHON_SRCS = \
        python/python.c \
        python/python-cmd.c \
+       python/python-frame.c \
+       python/python-function.c \
        python/python-utils.c \
        python/python-value.c
 SUBDIR_PYTHON_DEPS =
@@ -365,7 +363,8 @@ 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 -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
+GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/common -I$(srcdir)/config \
+       -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
 
 # MH_CFLAGS, if defined, has host-dependent CFLAGS from the config directory.
 GLOBAL_CFLAGS = $(MH_CFLAGS)
@@ -416,7 +415,7 @@ INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty -ldecnumber \
        -lintl -liberty $(LIBGNU)
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
        $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
-       $(LIBICONV) $(LIBEXPAT) \
+       $(LIBEXPAT) \
        $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
 CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
        $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
@@ -461,8 +460,8 @@ TARGET_OBS = @TARGET_OBS@
 ALL_64_TARGET_OBS = \
        alphabsd-tdep.o alphafbsd-tdep.o alpha-linux-tdep.o alpha-mdebug-tdep.o \
        alphanbsd-tdep.o alphaobsd-tdep.o alpha-osf1-tdep.o alpha-tdep.o \
-       amd64fbsd-tdep.o amd64-linux-tdep.o amd64nbsd-tdep.o amd64obsd-tdep.o \
-       amd64-sol2-tdep.o amd64-tdep.o \
+       amd64fbsd-tdep.o amd64-dicos-tdep.o amd64-linux-tdep.o amd64nbsd-tdep.o \
+       amd64obsd-tdep.o amd64-sol2-tdep.o amd64-tdep.o \
        ia64-linux-tdep.o ia64-tdep.o \
        mips64obsd-tdep.o \
        sparc64fbsd-tdep.o sparc64-linux-tdep.o sparc64nbsd-tdep.o \
@@ -474,6 +473,7 @@ ALL_TARGET_OBS = \
        arm-tdep.o arm-wince-tdep.o \
        avr-tdep.o \
        cris-tdep.o \
+       dicos-tdep.o \
        frv-linux-tdep.o frv-tdep.o \
        h8300-tdep.o \
        hppabsd-tdep.o hppanbsd-tdep.o hppaobsd-tdep.o \
@@ -483,6 +483,8 @@ ALL_TARGET_OBS = \
        i386-sol2-tdep.o i386-tdep.o i387-tdep.o \
        i386-dicos-tdep.o \
        iq2000-tdep.o \
+       linux-tdep.o \
+       lm32-tdep.o \
        m32c-tdep.o \
        m32r-linux-tdep.o m32r-tdep.o \
        m68hc11-tdep.o \
@@ -518,7 +520,8 @@ ALL_TARGET_OBS = \
        prologue-value.o \
        symfile-mem.o \
        corelow.o \
-       windows-tdep.o
+       windows-tdep.o \
+       linux-record.o
 
 # Host-dependent makefile fragment comes in here.
 @host_makefile_frag@
@@ -528,6 +531,9 @@ FLAGS_TO_PASS = \
        "prefix=$(prefix)" \
        "exec_prefix=$(exec_prefix)" \
        "infodir=$(infodir)" \
+       "datarootdir=$(datarootdir)" \
+       "docdir=$(docdir)" \
+       "htmldir=$(htmldir)" \
        "pdfdir=$(pdfdir)" \
        "libdir=$(libdir)" \
        "mandir=$(mandir)" \
@@ -660,7 +666,8 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
        valarith.c valops.c valprint.c value.c varobj.c vec.c \
        wrapper.c \
        xml-tdesc.c xml-support.c \
-       inferior.c
+       inferior.c gdb_usleep.c \
+       record.c
 
 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 
@@ -730,7 +737,8 @@ 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 windows-tdep.h
+sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
+gdb_usleep.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
@@ -811,7 +819,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        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 \
-       inferior.o osdata.o
+       inferior.o osdata.o gdb_usleep.o record.o
 
 TSOBS = inflow.o
 
@@ -1031,7 +1039,7 @@ init.c: $(INIT_FILES)
            -e '/^[a-z0-9A-Z_]*_[SU].[co]$$/d' \
            -e '/[a-z0-9A-Z_]*-exp.tab.[co]$$/d' \
            -e 's/\.[co]$$/.c/' \
-           -e 's,signals\.c,signals/signals\.c,' \
+           -e 's,signals\.c,common/signals\.c,' \
            -e 's|^\([^  /][^     ]*\)|$(srcdir)/\1|g' | \
        while read f; do \
            sed -n -e 's/^_initialize_\([a-z_0-9A-Z]*\).*/\1/p' $$f 2>/dev/null; \
@@ -1102,9 +1110,10 @@ gdb1$(EXEEXT): gdb$(EXEEXT)
 # TAGS depends on all the files that go into it so you can rebuild TAGS
 # with `make TAGS' and not have to say `rm TAGS' first.
 
+GDB_NM_FILE = @GDB_NM_FILE@
 TAGS: $(DEPFILES) $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
        @echo Making TAGS
-       @etags $(srcdir)/$(NAT_FILE) \
+       @etags $(srcdir)/$(GDB_NM_FILE) \
        `(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
                echo $(srcdir)/$$i ; \
        done ; for i in $(TAGFILES_WITH_SRCDIR); do \
@@ -1122,6 +1131,7 @@ clean mostlyclean: $(CONFIG_CLEAN)
        rm -f gdb[0-9]$(EXEEXT)
        rm -f test-cp-name-parser$(EXEEXT)
        rm -f xml-builtin.c stamp-xml
+       rm -f $(DEPDIR)/*
 
 .PHONY: clean-tui
 clean-tui:
@@ -1270,6 +1280,7 @@ ALLDEPFILES = \
        amd64bsd-nat.c amd64fbsd-nat.c amd64fbsd-tdep.c \
        amd64nbsd-nat.c amd64nbsd-tdep.c \
        amd64obsd-nat.c amd64obsd-tdep.c \
+       amd64-dicos-tdep.c \
        amd64-linux-nat.c amd64-linux-tdep.c \
        amd64-sol2-tdep.c \
        arm-linux-nat.c arm-linux-tdep.c arm-tdep.c \
@@ -1277,7 +1288,8 @@ ALLDEPFILES = \
        avr-tdep.c \
        bsd-uthread.c bsd-kvm.c \
        core-regset.c corelow.c \
-       dcache.c exec.c \
+       dcache.c dicos-tdep.c \
+       exec.c \
        fbsd-nat.c \
        fork-child.c \
        glibc-tdep.c \
@@ -1301,6 +1313,9 @@ ALLDEPFILES = \
        irix5-nat.c \
        libunwind-frame.c \
        linux-fork.c \
+       linux-tdep.c \
+       linux-record.c \
+       lm32-tdep.c \
        m68hc11-tdep.c \
        m32r-tdep.c \
        m32r-linux-nat.c m32r-linux-tdep.c \
@@ -1333,11 +1348,10 @@ ALLDEPFILES = \
        sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
        sol2-tdep.c \
        solib-irix.c solib-svr4.c solib-sunos.c \
-       sparc-linux-nat.c \
-       sparc-linux-tdep.c sparc-nat.c sparc-sol2-nat.c sparc-sol2-tdep.c \
-       sparc-tdep.c sparc-sol2-nat.c sparc-sol2-tdep.c sparc64-linux-nat.c \
-       sparc64-linux-tdep.c sparc64-nat.c sparc64-sol2-tdep.c \
-       sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
+       sparc-linux-nat.c sparc-linux-tdep.c \
+       sparc-sol2-nat.c sparc-sol2-tdep.c sparc64-sol2-tdep.c \
+       sparc-nat.c sparc-tdep.c sparc64-linux-nat.c sparc64-linux-tdep.c \
+       sparc64-nat.c sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
        sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
        sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
        spu-linux-nat.c spu-tdep.c \
@@ -1738,13 +1752,13 @@ mi-common.o: $(srcdir)/mi/mi-common.c
        $(POSTCOMPILE)
 
 #
-# gdb/signals/ dependencies
+# gdb/common/ dependencies
 #
 # Need to explicitly specify the compile rule as make will do nothing
 # or try to compile the object file into the sub-directory.
 
-signals.o: $(srcdir)/signals/signals.c
-       $(COMPILE) $(srcdir)/signals/signals.c
+signals.o: $(srcdir)/common/signals.c
+       $(COMPILE) $(srcdir)/common/signals.c
        $(POSTCOMPILE)
 
 #
@@ -1842,6 +1856,14 @@ python-cmd.o: $(srcdir)/python/python-cmd.c
        $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-cmd.c
        $(POSTCOMPILE)
 
+python-frame.o: $(srcdir)/python/python-frame.c
+       $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-frame.c
+       $(POSTCOMPILE)
+
+python-function.o: $(srcdir)/python/python-function.c
+       $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-function.c
+       $(POSTCOMPILE)
+
 python-utils.o: $(srcdir)/python/python-utils.c
        $(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-utils.c
        $(POSTCOMPILE)
This page took 0.030356 seconds and 4 git commands to generate.