• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2include $(top_srcdir)/Makefile.tool-tests.am
3
4SUBDIRS = .
5if VGCONF_ARCHS_INCLUDE_X86
6SUBDIRS += x86
7endif
8
9DIST_SUBDIRS = x86 .
10
11dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards
12
13EXTRA_DIST = \
14	chdir.vgtest chdir.stderr.exp \
15	clreq.vgtest clreq.stderr.exp \
16	dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp \
17	notpower2.vgtest notpower2.stderr.exp \
18	wrap5.vgtest wrap5.stderr.exp wrap5.stdout.exp
19
20check_PROGRAMS = \
21	chdir clreq dlclose myprint.so
22
23AM_CFLAGS   += $(AM_FLAG_M3264_PRI)
24AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
25
26# C ones
27dlclose_LDADD		= -ldl
28if VGCONF_OS_IS_DARWIN
29myprint_so_LDFLAGS	= $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic
30else
31myprint_so_LDFLAGS	= $(AM_CFLAGS) -shared -fPIC
32endif
33myprint_so_SOURCES	= myprint.c	# Only needed for automake-1.7.
34myprint_so_CFLAGS	= $(AM_CFLAGS) -fPIC
35