Makefile.am revision 7554cc8ab387055023430e2dc156736620e4e48a
1noinst_SCRIPTS = filter_cpuid filter_stderr gen_insn_test.pl 2 3CLEANFILES = $(addsuffix .c,$(INSN_TESTS)) 4INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext \ 5 insn_sse insn_sse2 insn_sse3 6 7EXTRA_DIST = $(noinst_SCRIPTS) \ 8 badseg.stderr.exp badseg.stdout.exp badseg.vgtest \ 9 bt_everything.stderr.exp bt_everything.stdout.exp bt_everything.vgtest \ 10 bt_literal.stderr.exp bt_literal.stdout.exp bt_literal.vgtest \ 11 bug125959-x86.stderr.exp bug125959-x86.stdout.exp bug125959-x86.vgtest \ 12 bug132813-x86.stderr.exp bug132813-x86.stdout.exp bug132813-x86.vgtest \ 13 cpuid.stderr.exp cpuid.stdout.exp cpuid.vgtest \ 14 cmpxchg8b.stderr.exp cmpxchg8b.stdout.exp cmpxchg8b.vgtest \ 15 faultstatus.disabled faultstatus.stderr.exp \ 16 fcmovnu.vgtest fcmovnu.stderr.exp fcmovnu.stdout.exp \ 17 fpu_lazy_eflags.stderr.exp fpu_lazy_eflags.stdout.exp \ 18 fpu_lazy_eflags.vgtest \ 19 fxtract.stdout.exp fxtract.stderr.exp fxtract.vgtest \ 20 getseg.stdout.exp getseg.stderr.exp getseg.vgtest \ 21 incdec_alt.stdout.exp incdec_alt.stderr.exp incdec_alt.vgtest \ 22 int.stderr.exp int.stdout.exp int.disabled \ 23 $(addsuffix .stderr.exp,$(INSN_TESTS)) \ 24 $(addsuffix .stdout.exp,$(INSN_TESTS)) \ 25 $(addsuffix .vgtest,$(INSN_TESTS)) \ 26 lahf.stdout.exp lahf.stderr.exp lahf.vgtest \ 27 looper.stderr.exp looper.stdout.exp looper.vgtest \ 28 movx.stderr.exp movx.stdout.exp movx.vgtest \ 29 pushpopseg.stderr.exp pushpopseg.stdout.exp pushpopseg.vgtest \ 30 sbbmisc.stderr.exp sbbmisc.stdout.exp sbbmisc.vgtest \ 31 seg_override.stderr.exp seg_override.stdout.exp seg_override.vgtest \ 32 sigcontext.stdout.exp sigcontext.stderr.exp sigcontext.vgtest \ 33 smc1.stderr.exp smc1.stdout.exp smc1.vgtest \ 34 yield.stderr.exp yield.stdout.exp yield.disabled 35 36check_PROGRAMS = \ 37 badseg bt_everything bt_literal \ 38 bug125959-x86 \ 39 bug132813-x86 \ 40 cmpxchg8b cpuid \ 41 faultstatus fcmovnu fpu_lazy_eflags fxtract \ 42 getseg incdec_alt $(INSN_TESTS) \ 43 lahf looper movx int pushpopseg sbbmisc \ 44 seg_override sigcontext smc1 yield 45 46AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow \ 47 @FLAG_M32@ -g -I$(top_srcdir)/include \ 48 $(FLAG_MMMX) $(FLAG_MSSE) 49AM_CXXFLAGS = $(AM_CFLAGS) 50AM_CCASFLAGS = @FLAG_M32@ 51 52# generic C ones 53cpuid_SOURCES = cpuid_c.c cpuid_s.s 54# fpu_lazy_eflags must use these flags -- the bug only occurred with them 55fpu_lazy_eflags_CFLAGS = @FLAG_M32@ -O2 -march=pentiumpro 56fxtract_LDADD = -lm 57insn_basic_SOURCES = insn_basic.def 58insn_basic_LDADD = -lm 59insn_fpu_SOURCES = insn_fpu.def 60insn_fpu_LDADD = -lm 61insn_cmov_SOURCES = insn_cmov.def 62insn_cmov_LDADD = -lm 63insn_mmx_SOURCES = insn_mmx.def 64insn_mmx_LDADD = -lm 65insn_mmxext_SOURCES = insn_mmxext.def 66insn_mmxext_LDADD = -lm 67insn_sse_SOURCES = insn_sse.def 68insn_sse_LDADD = -lm 69insn_sse2_SOURCES = insn_sse2.def 70insn_sse2_LDADD = -lm 71insn_sse3_SOURCES = insn_sse3.def 72insn_sse3_LDADD = -lm 73yield_CFLAGS = $(AM_CFLAGS) -D__$(VG_ARCH)__ 74yield_LDADD = -lpthread 75 76.def.c: $(srcdir)/gen_insn_test.pl 77 $(PERL) $(srcdir)/gen_insn_test.pl < $< > $@ 78