2014-06-25 10:48:32 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2009-01-13 18:33:28 +00:00
|
|
|
SUBDIRS = libcpuid cpuid_tool tests
|
2008-11-06 18:17:20 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
|
|
|
pkgconfig_DATA = libcpuid.pc
|
2016-07-10 01:27:35 +00:00
|
|
|
EXTRA_DIST = libcpuid.pc.in libcpuid_vc71.sln libcpuid_vc10.sln Readme.md
|
2008-11-12 18:26:49 +00:00
|
|
|
|
|
|
|
consistency:
|
|
|
|
$(top_srcdir)/libcpuid/check-consistency.py $(top_srcdir)/libcpuid
|
2009-01-10 18:18:13 +00:00
|
|
|
|
2016-01-17 01:49:05 +00:00
|
|
|
# "make test" is a bit hacked in order to speed up tests by bypassing the
|
|
|
|
# libtool wrapper script. The old (slower) version is available as "test-old"
|
|
|
|
|
|
|
|
test: test-fast
|
|
|
|
|
|
|
|
test-fast:
|
2016-03-10 00:44:17 +00:00
|
|
|
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
|
2016-01-17 01:49:05 +00:00
|
|
|
|
|
|
|
test-old:
|
2016-01-17 01:37:23 +00:00
|
|
|
$(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests
|
2014-09-23 12:20:27 +00:00
|
|
|
|
|
|
|
fix-tests:
|
2016-01-17 01:37:23 +00:00
|
|
|
$(top_srcdir)/tests/run_tests.py $(top_builddir)/cpuid_tool/cpuid_tool $(top_srcdir)/tests --fix
|