Makefile.am 858 B

12345678910111213141516171819202122232425
  1. ACLOCAL_AMFLAGS = -I m4
  2. SUBDIRS = libcpuid cpuid_tool tests
  3. pkgconfigdir = $(libdir)/pkgconfig
  4. pkgconfig_DATA = libcpuid.pc
  5. EXTRA_DIST = libcpuid.pc.in libcpuid_vc71.sln libcpuid_vc10.sln Readme.md
  6. consistency:
  7. $(top_srcdir)/libcpuid/check-consistency.py $(top_srcdir)/libcpuid
  8. # "make test" is a bit hacked in order to speed up tests by bypassing the
  9. # libtool wrapper script. The old (slower) version is available as "test-old"
  10. test: test-fast
  11. test-fast:
  12. LD_PRELOAD=$(top_builddir)/libcpuid/.libs/libcpuid.so $(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/.libs/cpuid_tool --show-test-fast-warning $(top_srcdir)/tests
  13. test-old:
  14. $(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests
  15. fix-tests:
  16. $(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests --fix