gdb/cp-name-parser.y: Eliminate make_empty, use cplus_demangle_fill_component
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 415cca3f39a332877e69d7e9f60e8e30b50fa6d1..08187427cd3eabfc1f65d084e077b5b6057d0fb5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1989-2016 Free Software Foundation, Inc.
+# Copyright (C) 1989-2017 Free Software Foundation, Inc.
 
 # This file is part of GDB.
 
@@ -460,6 +460,9 @@ SUBDIR_PYTHON_OBS = \
        py-param.o \
        py-prettyprint.o \
        py-progspace.o \
+       py-record.o \
+       py-record-btrace.o \
+       py-record-full.o \
        py-signalevent.o \
        py-stopevent.o \
        py-symbol.o \
@@ -500,6 +503,9 @@ SUBDIR_PYTHON_SRCS = \
        python/py-param.c \
        python/py-prettyprint.c \
        python/py-progspace.c \
+       python/py-record.c \
+       python/py-record-btrace.c \
+       python/py-record-full.c \
        python/py-signalevent.c \
        python/py-stopevent.c \
        python/py-symbol.c \
@@ -517,6 +523,12 @@ SUBDIR_PYTHON_DEPS =
 SUBDIR_PYTHON_LDFLAGS =
 SUBDIR_PYTHON_CFLAGS =
 
+SUBDIR_UNITTESTS_SRCS = \
+       unittests/function-view-selftests.c
+
+SUBDIR_UNITTESTS_OBS = \
+       function-view-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
 # in INCLUDE_DIR.
@@ -817,6 +829,7 @@ ALL_TARGET_OBS = \
        mep-tdep.o \
        microblaze-linux-tdep.o \
        microblaze-tdep.o \
+       mips-fbsd-tdep.o \
        mips-linux-tdep.o \
        mips-nbsd-tdep.o \
        mips-sde-tdep.o \
@@ -873,7 +886,6 @@ ALL_TARGET_OBS = \
        tilegx-tdep.o \
        v850-tdep.o \
        vax-nbsd-tdep.o \
-       vax-obsd-tdep.o \
        vax-tdep.o \
        windows-tdep.o \
        xcoffread.o \
@@ -1039,6 +1051,7 @@ SFILES = \
        dfp.c \
        dictionary.c \
        disasm.c \
+       disasm-selftests.c \
        doublest.c \
        dtrace-probe.c \
        dummy-frame.c \
@@ -1048,7 +1061,6 @@ SFILES = \
        dwarf2loc.c \
        dwarf2read.c \
        elfread.c \
-       environ.c \
        eval.c \
        event-loop.c \
        event-top.c \
@@ -1140,6 +1152,7 @@ SFILES = \
        rust-exp.y \
        rust-lang.c \
        selftest.c \
+       selftest-arch.c \
        sentinel-frame.c \
        ser-base.c \
        ser-event.c \
@@ -1193,6 +1206,7 @@ SFILES = \
        common/common-regcache.c \
        common/common-utils.c \
        common/errors.c \
+       common/environ.c \
        common/fileio.c \
        common/filestuff.c \
        common/format.c \
@@ -1271,7 +1285,6 @@ HFILES_NO_SRCDIR = \
        dwarf2-frame-tailcall.h \
        dwarf2expr.h \
        dwarf2loc.h \
-       environ.h \
        event-loop.h \
        event-top.h \
        exceptions.h \
@@ -1296,7 +1309,6 @@ HFILES_NO_SRCDIR = \
        gdb_expat.h \
        gdb_obstack.h \
        gdb_proc_service.h \
-       gdb_ptrace.h \
        gdb_regex.h \
        gdb_select.h \
        gdb-stabs.h \
@@ -1397,6 +1409,7 @@ HFILES_NO_SRCDIR = \
        rs6000-tdep.h \
        s390-linux-tdep.h \
        score-tdep.h \
+       selftest-arch.h \
        sentinel-frame.h \
        ser-base.h \
        ser-event.h \
@@ -1472,6 +1485,7 @@ HFILES_NO_SRCDIR = \
        common/common-types.h \
        common/common-utils.h \
        common/errors.h \
+       common/environ.h \
        common/fileio.h \
        common/format.h \
        common/gdb_assert.h \
@@ -1519,6 +1533,7 @@ HFILES_NO_SRCDIR = \
        nat/aarch64-linux.h \
        nat/aarch64-linux-hw-point.h \
        nat/amd64-linux-siginfo.h \
+       nat/gdb_ptrace.h \
        nat/gdb_thread_db.h \
        nat/linux-btrace.h \
        nat/linux-namespaces.h \
@@ -1643,6 +1658,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        dfp.o \
        dictionary.o \
        disasm.o \
+       disasm-selftests.o \
        doublest.o \
        dummy-frame.o \
        dwarf2-frame.o \
@@ -1744,6 +1760,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
        run-time-clock.o \
        rust-lang.o \
        selftest.o \
+       selftest-arch.o \
        sentinel-frame.o \
        ser-event.o \
        serial.o \
@@ -1898,6 +1915,10 @@ all: gdb$(EXEEXT) $(CONFIG_ALL)
        $(COMPILE) $<
        $(POSTCOMPILE)
 
+%.o: ${srcdir}/unittests/%.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
+
 # Specify an explicit rule for gdb/common/agent.c, to avoid a clash with the
 # object file generate by gdb/agent.c.
 common-agent.o: $(srcdir)/common/agent.c
@@ -1988,8 +2009,8 @@ CHECK_HEADERS = $(HFILES_NO_SRCDIR)
 check-headers:
        @echo Checking headers.
        for i in $(CHECK_HEADERS) ; do \
-               $(CC) -x c -c -fsyntax-only $(INTERNAL_CFLAGS) \
-                       -include defs.h $(srcdir)/$$i ; \
+               $(CXX) $(CXX_DIALECT) -x c++-header -c -fsyntax-only \
+               $(INTERNAL_CFLAGS) -include defs.h $(srcdir)/$$i ; \
        done
 .PHONY: check-headers
 
@@ -2541,6 +2562,8 @@ ALLDEPFILES = \
        microblaze-linux-tdep.c \
        microblaze-tdep.c \
        mingw-hdep.c \
+       mips-fbsd-nat.c \
+       mips-fbsd-tdep.c \
        mips-linux-nat.c \
        mips-linux-tdep.c \
        mips-nbsd-nat.c \
@@ -2909,4 +2932,7 @@ endif
 # Dependencies.
 -include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))
 
+# Disable implicit make rules.
+include $(srcdir)/disable-implicit-rules.mk
+
 ### end of the gdb Makefile.in.
This page took 0.027099 seconds and 4 git commands to generate.