Constify some commands in cli-cmds.c
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 2f7d355c6d610d6c97588fa550ac5e0ba4cf8507..9004b350e4e37c143be6bdc71886baeb7e87b477 100644 (file)
@@ -114,7 +114,7 @@ depcomp = $(SHELL) $(srcdir)/../depcomp
 
 # Note that these are overridden by GNU make-specific code below if
 # GNU make is used.  The overrides implement dependency tracking.
-COMPILE.pre = $(CXX) $(CXX_DIALECT)
+COMPILE.pre = $(CXX) -x c++ $(CXX_DIALECT)
 COMPILE.post = -c -o $@
 COMPILE = $(COMPILE.pre) $(INTERNAL_CFLAGS) $(COMPILE.post)
 POSTCOMPILE = @true
@@ -526,18 +526,24 @@ SUBDIR_PYTHON_LDFLAGS =
 SUBDIR_PYTHON_CFLAGS =
 
 SUBDIR_UNITTESTS_SRCS = \
+       unittests/array-view-selftests.c \
+       unittests/environ-selftests.c \
        unittests/function-view-selftests.c \
        unittests/offset-type-selftests.c \
        unittests/optional-selftests.c \
        unittests/ptid-selftests.c \
-       unittests/scoped_restore-selftests.c
+       unittests/scoped_restore-selftests.c \
+       unittests/xml-utils-selftests.c
 
 SUBDIR_UNITTESTS_OBS = \
+       array-view-selftests.o \
+       environ-selftests.o \
        function-view-selftests.o \
        offset-type-selftests.o \
        optional-selftests.o \
        ptid-selftests.o \
-       scoped_restore-selftests.o
+       scoped_restore-selftests.o \
+       xml-utils-selftests.o
 
 # Opcodes currently live in one of two places.  Either they are in the
 # opcode library, typically ../opcodes, or they are in a header file
@@ -749,6 +755,7 @@ TARGET_OBS = @TARGET_OBS@
 # All target-dependent objects files that require 64-bit CORE_ADDR
 # (used with --enable-targets=all --enable-64-bit-bfd).
 ALL_64_TARGET_OBS = \
+       aarch64-fbsd-tdep.o \
        aarch64-insn.o \
        aarch64-linux-tdep.o \
        aarch64-newlib-tdep.o \
@@ -759,6 +766,7 @@ ALL_64_TARGET_OBS = \
        alpha-nbsd-tdep.o \
        alpha-obsd-tdep.o \
        alpha-tdep.o \
+       amd64.o \
        amd64-darwin-tdep.o \
        amd64-dicos-tdep.o \
        amd64-fbsd-tdep.o \
@@ -810,6 +818,7 @@ ALL_TARGET_OBS = \
        hppa-nbsd-tdep.o \
        hppa-obsd-tdep.o \
        hppa-tdep.o \
+       i386.o \
        i386-bsd-tdep.o \
        i386-cygwin-tdep.o \
        i386-darwin-tdep.o \
@@ -904,9 +913,21 @@ ALL_TARGET_OBS = \
        xtensa-linux-tdep.o \
        xtensa-tdep.o
 
-# Host-dependent makefile fragment comes in here.
-@host_makefile_frag@
-# End of host-dependent makefile fragment
+# The following native-target dependent variables are defined on
+# configure.nat.
+NAT_FILE = @NAT_FILE@
+NATDEPFILES = @NATDEPFILES@
+NAT_CDEPS = @NAT_CDEPS@
+LOADLIBES = @LOADLIBES@
+MH_CFLAGS = @MH_CFLAGS@
+XM_CLIBS = @XM_CLIBS@
+NAT_GENERATED_FILES = @NAT_GENERATED_FILES@
+HAVE_NATIVE_GCORE_HOST = @HAVE_NATIVE_GCORE_HOST@
+
+# Native-target dependent makefile fragment comes in here.
+@nat_makefile_frag@
+
+# End of native-target dependent variables.
 
 FLAGS_TO_PASS = \
        "prefix=$(prefix)" \
@@ -1016,6 +1037,7 @@ SFILES = \
        agent.c \
        annotate.c \
        arch-utils.c \
+       arch/i386.c \
        auto-load.c \
        auxv.c \
        ax-gdb.c \
@@ -1092,8 +1114,10 @@ SFILES = \
        gdb_bfd.c \
        gdb-dlfcn.c \
        gdb_obstack.c \
+       gdb_regex.c \
        gdb_usleep.c \
        gdbarch.c \
+       gdbarch-selftests.c \
        gdbtypes.c \
        gnu-v2-abi.c \
        gnu-v3-abi.c \
@@ -1146,6 +1170,7 @@ SFILES = \
        parse.c \
        printcmd.c \
        probe.c \
+       producer.c \
        proc-service.list \
        progspace.c \
        progspace-and-thread.c \
@@ -1162,7 +1187,6 @@ SFILES = \
        reverse.c \
        rust-exp.y \
        rust-lang.c \
-       selftest.c \
        selftest-arch.c \
        sentinel-frame.c \
        ser-base.c \
@@ -1221,12 +1245,14 @@ SFILES = \
        common/fileio.c \
        common/filestuff.c \
        common/format.c \
+       common/job-control.c \
        common/gdb_vecs.c \
        common/new-op.c \
        common/print-utils.c \
        common/ptid.c \
        common/rsp-low.c \
        common/run-time-clock.c \
+       common/selftest.c \
        common/signals.c \
        common/signals-state-save-restore.c \
        common/vec.c \
@@ -1483,6 +1509,7 @@ HFILES_NO_SRCDIR = \
        xtensa-tdep.h \
        arch/aarch64-insn.h \
        arch/arm.h \
+       arch/i386.h \
        cli/cli-cmds.h \
        cli/cli-decode.h \
        cli/cli-script.h \
@@ -1493,9 +1520,11 @@ HFILES_NO_SRCDIR = \
        common/common-debug.h \
        common/common-defs.h \
        common/common-exceptions.h \
+       common/common-gdbthread.h \
        common/common-regcache.h \
        common/common-types.h \
        common/common-utils.h \
+       common/job-control.h \
        common/errors.h \
        common/environ.h \
        common/fileio.h \
@@ -1508,6 +1537,7 @@ HFILES_NO_SRCDIR = \
        common/gdb_termios.h \
        common/gdb_vecs.h \
        common/gdb_wait.h \
+       common/common-inferior.h \
        common/host-defs.h \
        common/print-utils.h \
        common/ptid.h \
@@ -1548,6 +1578,7 @@ HFILES_NO_SRCDIR = \
        nat/amd64-linux-siginfo.h \
        nat/gdb_ptrace.h \
        nat/gdb_thread_db.h \
+       nat/fork-inferior.h \
        nat/linux-btrace.h \
        nat/linux-namespaces.h \
        nat/linux-nat.h \
@@ -1650,6 +1681,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        common-agent.o \
        common-debug.o \
        common-exceptions.o \
+       job-control.o \
        common-regcache.o \
        common-utils.o \
        complaints.o \
@@ -1692,6 +1724,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        f-typeprint.o \
        f-valprint.o \
        fileio.o \
+       filename-seen-cache.o \
        filestuff.o \
        filesystem.o \
        findcmd.o \
@@ -1704,9 +1737,11 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        gdb_bfd.o \
        gdb-dlfcn.o \
        gdb_obstack.o \
+       gdb_regex.o \
        gdb_usleep.o \
        gdb_vecs.o \
        gdbarch.o \
+       gdbarch-selftests.o \
        gdbtypes.o \
        gnu-v2-abi.o \
        gnu-v3-abi.o \
@@ -1758,6 +1793,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        print-utils.o \
        printcmd.o \
        probe.o \
+       producer.o \
        progspace.o \
        progspace-and-thread.o \
        prologue-value.o \
@@ -2320,21 +2356,21 @@ subdir_do: force
                else true ; fi ; \
        done
 
-Makefile: Makefile.in config.status @frags@
+Makefile: Makefile.in config.status
        # Regenerate the Makefile and the tm.h / nm.h links.
        CONFIG_FILES="Makefile" \
          CONFIG_COMMANDS= \
          CONFIG_HEADERS= \
          $(SHELL) config.status
 
-$(GNULIB_BUILDDIR)/Makefile: gnulib/Makefile.in config.status @frags@
+$(GNULIB_BUILDDIR)/Makefile: gnulib/Makefile.in config.status
        @cd $(GNULIB_BUILDDIR); CONFIG_FILES="Makefile" \
          CONFIG_COMMANDS="depfiles" \
          CONFIG_HEADERS= \
          CONFIG_LINKS= \
          $(SHELL) config.status
 
-data-directory/Makefile: data-directory/Makefile.in config.status @frags@
+data-directory/Makefile: data-directory/Makefile.in config.status
        CONFIG_FILES="data-directory/Makefile" \
          CONFIG_COMMANDS="depfiles" \
          CONFIG_HEADERS= \
@@ -2465,6 +2501,8 @@ force_update:
 MAKEOVERRIDES =
 
 ALLDEPFILES = \
+       aarch64-fbsd-nat.c \
+       aarch64-fbsd-tdep.c \
        aarch64-linux-nat.c \
        aarch64-linux-tdep.c \
        aarch64-newlib-tdep.c \
@@ -2675,17 +2713,6 @@ ALLDEPFILES = \
 # Some files need explicit build rules (due to -Werror problems) or due
 # to sub-directory fun 'n' games.
 
-# FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral
-# errors.  It turns out that that is the least of monitor.c's
-# problems.  The function print_vsprintf appears to be using
-# va_arg(long) to extract CORE_ADDR parameters - something that
-# definitly will not work.  "monitor.c" needs to be rewritten so that
-# it doesn't use format strings and instead uses callbacks.
-monitor.o: $(srcdir)/monitor.c
-       $(COMPILE.pre) $(INTERNAL_CFLAGS) $(GDB_WARN_CFLAGS_NO_FORMAT) \
-               $(COMPILE.post) $(srcdir)/monitor.c
-       $(POSTCOMPILE)
-
 # Do not try to build "printcmd.c" with -Wformat-nonliteral.  It manually
 # checks format strings.
 printcmd.o: $(srcdir)/printcmd.c
This page took 0.031892 seconds and 4 git commands to generate.