* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 8cb27b5895961fdf5ece38f67855de3b3171d204..01d98ee1a8d3c0138f494c5706e045fca16f43ab 100644 (file)
@@ -956,6 +956,34 @@ check: force
          $(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
        else true; fi
 
+# The idea is to parallelize testing of multilibs, for example:
+#   make -j3 check//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
+# will run 3 concurrent sessions of check, eventually testing all 10
+# combinations.  GNU make is required for the % pattern to work, as is
+# a shell that expands alternations within braces.  If GNU make is not
+# used, this rule will harmlessly fail to match.
+check//%: force
+       @if [ -f testsuite/config.status ]; then \
+         rootme=`pwd`; export rootme; \
+         rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
+         target=`echo "$@" | sed 's,//.*,,'`; \
+         variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
+         vardots=`echo "$$variant" | sed 's,/,.,g'`; \
+         testdir=testsuite.$$vardots; \
+         if [ ! -f $$testdir/Makefile ]; then \
+           (cd testsuite && find . -name config.status) | \
+           sed s,/config.status$$,, | sort | while read subdir; do \
+             $(SHELL) $(srcdir)/../mkinstalldirs $$testdir/$$subdir && \
+             (cd $$testdir/$$subdir && \
+              $(SHELL) $$rootme/testsuite/$$subdir/config.status \
+                --recheck && \
+              $(SHELL) ./config.status); done; \
+         else :; fi && cd $$testdir && \
+         $(MAKE) $(TARGET_FLAGS_TO_PASS) \
+           RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
+           "$$target"; \
+       else true; fi
+
 info dvi install-info clean-info html install-html: force
        @$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
 
@@ -1332,6 +1360,7 @@ ALLDEPFILES = \
        hppa-tdep.c hppa-hpux-tdep.c \
        hppah-nat.c hpread.c \
        hppa-linux-tdep.c hppa-linux-nat.c \
+       hppabsd-nat.c hppabsd-tdep.c \
        i386-tdep.c i386v-nat.c i386-linux-nat.c \
        i386v4-nat.c i386ly-tdep.c i386-cygwin-tdep.c \
        i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
@@ -1536,7 +1565,7 @@ alpha-tdep.o: alpha-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
 amd64bsd-nat.o: amd64bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
        $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h)
 amd64fbsd-nat.o: amd64fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
-       $(gdb_assert_h) $(gregset_h) $(amd64_tdep_h) $(amd64_nat_h)
+       $(gdb_assert_h) $(amd64_tdep_h) $(amd64_nat_h)
 amd64fbsd-tdep.o: amd64fbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
        $(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
        $(amd64_tdep_h) $(solib_svr4_h)
@@ -1570,7 +1599,7 @@ annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) \
 arch-utils.o: arch-utils.c $(defs_h) $(arch_utils_h) $(buildsym_h) \
        $(gdbcmd_h) $(inferior_h) $(gdb_string_h) $(regcache_h) \
        $(gdb_assert_h) $(sim_regno_h) $(osabi_h) $(version_h) \
-       $(floatformat_h)
+       $(floatformat_h) $(gdbcore_h)
 arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
        $(gdb_string_h) $(regcache_h) $(arm_tdep_h) $(gregset_h)
 arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
@@ -1836,7 +1865,7 @@ hppah-nat.o: hppah-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
 hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
        $(osabi_h) $(gdb_string_h) $(frame_h) $(frame_unwind_h) \
        $(trad_frame_h) $(symtab_h) $(objfiles_h) $(inferior_h) $(infcall_h) \
-       $(hppa_tdep_h)
+       $(observer_h) $(hppa_tdep_h)
 hppa-tdep.o: hppa-tdep.c $(defs_h) $(frame_h) $(bfd_h) $(inferior_h) \
        $(regcache_h) $(completer_h) $(osabi_h) $(gdb_assert_h) \
        $(arch_utils_h) $(symtab_h) $(dis_asm_h) $(trad_frame_h) \
@@ -1848,6 +1877,11 @@ hppa-linux-tdep.o: hppa-linux-tdep.c $(defs_h) $(gdbcore_h) $(osabi_h) \
        $(elf_common_h) $(value_h)
 hppa-linux-nat.o: hppa-linux-nat.c $(defs_h) $(gdbcore_h) $(regcache_h) \
        $(gdb_string_h) $(inferior_h)
+hppabsd-nat.o: hppabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
+       $(hppa_tdep_h)
+hppabsd-tdep.o: hppabsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
+       $(regcache_h) $(regset_h) $(gdb_assert_h) $(gdb_string_h) \
+       $(hppa_tdep_h) $(solib_svr4_h)
 hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
        $(syms_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
        $(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
This page took 0.024368 seconds and 4 git commands to generate.