1 2 include $(top_srcdir)/Makefile.tool-tests.am 3 4 SUBDIRS = . 5 if VGCONF_ARCHS_INCLUDE_X86 6 SUBDIRS += x86 7 endif 8 9 DIST_SUBDIRS = x86 . 10 11 dist_noinst_SCRIPTS = filter_stderr filter_cachesim_discards 12 13 EXTRA_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 20 check_PROGRAMS = \ 21 chdir clreq dlclose myprint.so 22 23 AM_CFLAGS += $(AM_FLAG_M3264_PRI) 24 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) 25 26 # C ones 27 dlclose_LDADD = -ldl 28 if VGCONF_OS_IS_DARWIN 29 myprint_so_LDFLAGS = $(AM_CFLAGS) -dynamic -dynamiclib -all_load -fpic 30 else 31 myprint_so_LDFLAGS = $(AM_CFLAGS) -shared -fPIC 32 endif 33 myprint_so_CFLAGS = $(AM_CFLAGS) -fPIC 34