drd/tests/tsan_thread_wrappers_pthread.h: Fix MyThread::ThreadBody()
[valgrind.git] / cachegrind / tests / Makefile.am
blobf2f8902941b819038bc9e310768d4ff51fe7b30a
2 include $(top_srcdir)/Makefile.tool-tests.am
4 SUBDIRS = .
5 if VGCONF_ARCHS_INCLUDE_X86
6 SUBDIRS += x86
7 endif
9 DIST_SUBDIRS = x86 .
11 dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards
13 # Note that test.c is not compiled. It just serves as input for cg_annotate in
14 # ann1 and ann2.
15 EXTRA_DIST = \
16         cgout-test \
17         ann1.post.exp ann1.stderr.exp ann1.vgtest \
18         ann2.post.exp ann2.stderr.exp ann2.vgtest \
19         chdir.vgtest chdir.stderr.exp \
20         clreq.vgtest clreq.stderr.exp \
21         dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
22         notpower2.vgtest notpower2.stderr.exp \
23         test.c \
24         wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
26 check_PROGRAMS = \
27         chdir clreq dlclose myprint.so
29 AM_CFLAGS   += $(AM_FLAG_M3264_PRI)
30 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
32 # C ones
33 dlclose_LDADD           = -ldl
34 if VGCONF_OS_IS_DARWIN
35 myprint_so_LDFLAGS      = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic
36 else
37 myprint_so_LDFLAGS      = $(AM_CFLAGS) -shared -fPIC
38 endif
39 myprint_so_CFLAGS       = $(AM_CFLAGS) -fPIC