diff options
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 708c28ee7..9c0cc3a05 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,26 @@ include $(top_srcdir)/Makefile.tool-tests.am +if HAS_ISA_2_05 +ISA_2_05_FLAG = -DHAS_ISA_2_05 +else +ISA_2_05_FLAG = +endif + +if HAS_ISA_2_06 +ISA_2_06_FLAG = -DHAS_ISA_2_06 +else +ISA_2_06_FLAG = +endif + +if HAS_ISA_2_07 +ISA_2_07_FLAG = -DHAS_ISA_2_07 +else +ISA_2_07_FLAG = +endif + +min_power_isa_FLAGS = $(ISA_2_05_FLAG) $(ISA_2_06_FLAG) $(ISA_2_07_FLAG) + dist_noinst_SCRIPTS = \ check_headers_and_includes \ check_makefile_consistency \ @@ -29,7 +49,8 @@ check_PROGRAMS = \ s390x_features \ mips_features \ power_insn_available \ - is_ppc64_BE + is_ppc64_BE \ + min_power_isa AM_CFLAGS += $(AM_FLAG_M3264_PRI) AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) @@ -40,3 +61,4 @@ else x86_amd64_features_CFLAGS = $(AM_CFLAGS) endif +min_power_isa_CFLAGS = $(min_power_isa_FLAGS) |