Remove C/C++ relevant code in Fortran specific file.
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 2156438c1b61642689bf8c33eedb3a0b460e0fdd..2aa474e598aa96fd958c4ffd2fb42f6b23c6aa47 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,6 +526,8 @@ 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 \
@@ -533,6 +535,8 @@ SUBDIR_UNITTESTS_SRCS = \
        unittests/scoped_restore-selftests.c
 
 SUBDIR_UNITTESTS_OBS = \
+       array-view-selftests.o \
+       environ-selftests.o \
        function-view-selftests.o \
        offset-type-selftests.o \
        optional-selftests.o \
@@ -749,6 +753,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 +764,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 +816,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 \
@@ -1028,6 +1035,7 @@ SFILES = \
        agent.c \
        annotate.c \
        arch-utils.c \
+       arch/i386.c \
        auto-load.c \
        auxv.c \
        ax-gdb.c \
@@ -1176,7 +1184,6 @@ SFILES = \
        reverse.c \
        rust-exp.y \
        rust-lang.c \
-       selftest.c \
        selftest-arch.c \
        sentinel-frame.c \
        ser-base.c \
@@ -1235,12 +1242,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 \
@@ -1497,6 +1506,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 \
@@ -1507,9 +1517,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 \
@@ -1522,6 +1534,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 \
@@ -1562,6 +1575,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 \
@@ -1664,6 +1678,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 \
@@ -1706,6 +1721,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 \
@@ -2481,6 +2497,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 \
This page took 0.02531 seconds and 4 git commands to generate.