mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-10 13:40:25 +00:00
following improvements: - Arch/OS/platform-specific files are now included/excluded via the preprocessor, rather than via the build system. This is more consistent (we use the pre-processor for small arch/OS/platform-specific chunks within files) and makes the build system much simpler, as the sources for all programs are the same on all platforms. - Vast amounts of cut+paste Makefile.am code has been factored out. If a new platform is implemented, you need to add 11 extra Makefile.am lines. Previously it was over 100 lines. - Vex has been autotoolised. Dependency checking now works in Vex (no more incomplete builds). Parallel builds now also work. --with-vex no longer works; it's little use and a pain to support. VEX/Makefile is still in the Vex repository and gets overwritten at configure-time; it should probably be renamed Makefile-gcc to avoid possible problems, such as accidentally committing a generated Makefile. There's a bunch of hacky copying to deal with the fact that autotools don't handle same-named files in different directories. Julian plans to rename the files to avoid this problem. - Various small Makefile.am things have been made more standard automake style, eg. the use of pkginclude/pkglib prefixes instead of rolling our own. - The existing five top-level Makefile.am include files have been consolidated into three. - Most Makefile.am files now are structured more clearly, with comment headers separating sections, declarations relating to the same things next to each other, better spacing and layout, etc. - Removed the unused exp-ptrcheck/tests/x86 directory. - Renamed some XML files. - Factored out some duplicated dSYM handling code. - Split auxprogs/ into auxprogs/ and mpi/, which allowed the resulting Makefile.am files to be much more standard. - Cleaned up m_coredump by merging a bunch of files that had been overzealously separated. The net result is 630 fewer lines of Makefile.am code, or 897 if you exclude the added Makefile.vex.am, or 997 once the hacky file copying for Vex is removed. And the build system is much simpler. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10364
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
|
|
include $(top_srcdir)/Makefile.tool-tests.am
|
|
|
|
dist_noinst_SCRIPTS = filter_stderr filter_pushfpopf filter_tronical
|
|
|
|
INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
|
|
|
|
EXTRA_DIST = \
|
|
bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
|
|
espindola2.vgtest espindola2.stderr.exp \
|
|
fpeflags.stderr.exp fpeflags.vgtest \
|
|
fxsave.vgtest fxsave.stdout.exp fxsave.stderr.exp \
|
|
$(addsuffix .stderr.exp,$(INSN_TESTS)) \
|
|
$(addsuffix .stdout.exp,$(INSN_TESTS)) \
|
|
$(addsuffix .vgtest,$(INSN_TESTS)) \
|
|
pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
|
|
pushfw_x86.vgtest pushfw_x86.stdout.exp pushfw_x86.stderr.exp \
|
|
pushpopmem.stderr.exp pushpopmem.stdout.exp pushpopmem.vgtest \
|
|
sse1_memory.stderr.exp sse1_memory.stdout.exp sse1_memory.vgtest \
|
|
sse2_memory.stderr.exp sse2_memory.stdout.exp sse2_memory.vgtest \
|
|
tronical.stderr.exp tronical.vgtest \
|
|
more_x86_fp.stderr.exp more_x86_fp.stdout.exp more_x86_fp.vgtest \
|
|
fprem.stderr.exp fprem.stdout.exp fprem.vgtest \
|
|
xor-undef-x86.stderr.exp xor-undef-x86.stdout.exp \
|
|
xor-undef-x86.vgtest
|
|
|
|
check_PROGRAMS = \
|
|
bug152022 \
|
|
espindola2 \
|
|
fpeflags \
|
|
fprem \
|
|
fxsave \
|
|
more_x86_fp \
|
|
pushfpopf \
|
|
pushfw_x86 \
|
|
pushpopmem \
|
|
sse_memory \
|
|
tronical \
|
|
xor-undef-x86
|
|
|
|
AM_CFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
|
|
AM_CXXFLAGS += @FLAG_M32@ $(FLAG_MMMX) $(FLAG_MSSE)
|
|
AM_CCASFLAGS += @FLAG_M32@
|
|
|
|
|
|
# fpeflags must use these flags -- bug only occurred with them.
|
|
fpeflags_CFLAGS = $(AM_CFLAGS) -march=i686
|
|
pushfpopf_SOURCES = pushfpopf_c.c pushfpopf_s.S
|
|
if VGCONF_OS_IS_DARWIN
|
|
pushpopmem_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic
|
|
else
|
|
pushpopmem_CFLAGS = $(AM_CFLAGS)
|
|
endif
|
|
tronical_SOURCES = tronical.S
|
|
|
|
more_x86_fp_LDADD = -lm
|