1 include $(top_srcdir)/Makefile.all.am 2 3 EXTRA_DIST = vbit-test.vgtest vbit-test.stderr.exp 4 5 dist_noinst_SCRIPTS = filter_stderr 6 7 #---------------------------------------------------------------------------- 8 # Headers 9 #---------------------------------------------------------------------------- 10 11 pkginclude_HEADERS = 12 noinst_HEADERS = vtest.h vbits.h 13 14 #---------------------------------------------------------------------------- 15 # vbit_test 16 #---------------------------------------------------------------------------- 17 18 noinst_PROGRAMS = vbit-test 19 20 if VGCONF_OS_IS_DARWIN 21 noinst_DSYMS = $(noinst_PROGRAMS) 22 endif 23 24 SOURCES = \ 25 main.c \ 26 unary.c \ 27 binary.c \ 28 ternary.c \ 29 qernary.c \ 30 util.c \ 31 vbits.c \ 32 irops.c \ 33 valgrind.c 34 35 vbit_test_SOURCES = $(SOURCES) 36 vbit_test_CPPFLAGS = $(AM_CPPFLAGS_PRI) \ 37 -I$(top_srcdir)/include \ 38 -I$(top_srcdir)/memcheck \ 39 -I$(top_srcdir)/VEX/pub 40 vbit_test_CFLAGS = $(AM_CFLAGS_PRI) -std=c99 41 vbit_test_DEPENDENCIES = 42 vbit_test_LDADD = $(top_srcdir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a 43 vbit_test_LDFLAGS = $(AM_CFLAGS_PRI) -std=c99 @LIB_UBSAN@ 44