blob: e21d52d5c3385ce4e580422cd8283149b480ddae [file] [log] [blame]
sewardj01262142006-01-04 01:20:28 +00001
njn53044572009-02-19 09:52:05 +00002include $(top_srcdir)/Makefile.tool-tests.am
sewardj01262142006-01-04 01:20:28 +00003
tomef567322005-11-11 14:33:43 +00004SUBDIRS = .
njn7fd6d382009-01-22 21:56:32 +00005if VGCONF_ARCHS_INCLUDE_X86
tomef567322005-11-11 14:33:43 +00006SUBDIRS += x86
7endif
tomef567322005-11-11 14:33:43 +00008
njna6dbb3f2009-01-22 01:13:16 +00009DIST_SUBDIRS = x86 .
nethercote6a674352004-10-19 19:07:32 +000010
njn8b68b642009-06-24 00:37:09 +000011dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards
njn254d542432002-09-23 16:09:39 +000012
njn8b68b642009-06-24 00:37:09 +000013EXTRA_DIST = \
sewardjea5cf542003-07-16 19:03:10 +000014 chdir.vgtest chdir.stderr.exp \
njna5ad9ba2005-11-10 15:20:37 +000015 clreq.vgtest clreq.stderr.exp \
sewardje80ac002006-01-22 01:08:40 +000016 dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
weidendo144b76c2009-01-26 22:56:14 +000017 notpower2.vgtest notpower2.stderr.exp \
sewardje80ac002006-01-22 01:08:40 +000018 wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
njn254d542432002-09-23 16:09:39 +000019
daywalkerc42d8bc2003-04-17 17:00:43 +000020check_PROGRAMS = \
njncc874b52009-01-08 06:07:05 +000021 chdir clreq dlclose myprint.so
njn25e49d8e72002-09-23 09:36:25 +000022
njn07891f92009-02-22 23:38:10 +000023AM_CFLAGS += $(AM_FLAG_M3264_PRI)
24AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
25
njn25e49d8e72002-09-23 09:36:25 +000026# C ones
njn25e49d8e72002-09-23 09:36:25 +000027dlclose_LDADD = -ldl
njnf76d27a2009-05-28 01:53:07 +000028if VGCONF_OS_IS_DARWIN
29myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic
30else
31myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC
32endif
njn53044572009-02-19 09:52:05 +000033myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC