C++ify gdb/common/environ.c
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 255e694839986f2188dbb416b1fdc2a9fc21468a..b27f6982d4afdc30deb969911021e2a32a69ea05 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
@@ -453,6 +453,7 @@ SUBDIR_PYTHON_OBS = \
        py-inferior.o \
        py-infevents.o \
        py-infthread.o \
+       py-instruction.o \
        py-lazy-string.o \
        py-linetable.o \
        py-newobjfileevent.o \
@@ -496,6 +497,7 @@ SUBDIR_PYTHON_SRCS = \
        python/py-inferior.c \
        python/py-infevents.c \
        python/py-infthread.c \
+       python/py-instruction.c \
        python/py-lazy-string.c \
        python/py-linetable.c \
        python/py-newobjfileevent.c \
@@ -524,16 +526,20 @@ SUBDIR_PYTHON_LDFLAGS =
 SUBDIR_PYTHON_CFLAGS =
 
 SUBDIR_UNITTESTS_SRCS = \
+       unittests/environ-selftests.c \
        unittests/function-view-selftests.c \
        unittests/offset-type-selftests.c \
        unittests/optional-selftests.c \
-       unittests/ptid-selftests.c
+       unittests/ptid-selftests.c \
+       unittests/scoped_restore-selftests.c
 
 SUBDIR_UNITTESTS_OBS = \
+       environ-selftests.o \
        function-view-selftests.o \
        offset-type-selftests.o \
        optional-selftests.o \
-       ptid-selftests.o
+       ptid-selftests.o \
+       scoped_restore-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
@@ -900,9 +906,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)" \
@@ -1088,8 +1106,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 \
@@ -1144,6 +1164,7 @@ SFILES = \
        probe.c \
        proc-service.list \
        progspace.c \
+       progspace-and-thread.c \
        prologue-value.c \
        psymtab.c \
        record.c \
@@ -1216,6 +1237,7 @@ 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 \
@@ -1399,6 +1421,7 @@ HFILES_NO_SRCDIR = \
        proc-utils.h \
        procfs.h \
        progspace.h \
+       progspace-and-thread.h \
        prologue-value.h \
        psympriv.h \
        psymtab.h \
@@ -1487,9 +1510,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 \
@@ -1502,6 +1527,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 \
@@ -1542,6 +1568,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 \
@@ -1644,6 +1671,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 \
@@ -1698,9 +1726,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 \
@@ -1753,6 +1783,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        printcmd.o \
        probe.o \
        progspace.o \
+       progspace-and-thread.o \
        prologue-value.o \
        psymtab.o \
        ptid.o \
@@ -2313,21 +2344,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= \
This page took 0.026927 seconds and 4 git commands to generate.