blob: c2fe77f953e4390824b9dc5892142e58ba5278cc [file] [log] [blame]
florianbb913cd2012-08-28 16:50:39 +00001include $(top_srcdir)/Makefile.all.am
2
3EXTRA_DIST = vbit-test.vgtest vbit-test.stderr.exp
4
5dist_noinst_SCRIPTS = filter_stderr
6
7#----------------------------------------------------------------------------
8# Headers
9#----------------------------------------------------------------------------
10
11pkginclude_HEADERS =
floriand9867dc2012-09-17 18:54:44 +000012noinst_HEADERS = vtest.h vbits.h
florianbb913cd2012-08-28 16:50:39 +000013
14#----------------------------------------------------------------------------
15# vbit_test
16#----------------------------------------------------------------------------
17
18noinst_PROGRAMS = vbit-test
19
20if VGCONF_OS_IS_DARWIN
21noinst_DSYMS = $(noinst_PROGRAMS)
22endif
23
24SOURCES = \
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
35vbit_test_SOURCES = $(SOURCES)
florian26a790a2014-12-03 22:53:00 +000036vbit_test_CPPFLAGS = $(AM_CPPFLAGS_PRI) \
florianbb913cd2012-08-28 16:50:39 +000037 -I$(top_srcdir)/include \
38 -I$(top_srcdir)/memcheck \
39 -I$(top_srcdir)/VEX/pub
florian26a790a2014-12-03 22:53:00 +000040vbit_test_CFLAGS = $(AM_CFLAGS_PRI) -std=c99
florianbb913cd2012-08-28 16:50:39 +000041vbit_test_DEPENDENCIES =
Elliott Hughesa0664b92017-04-18 17:46:52 -070042vbit_test_LDADD = $(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
florianbb1a7872015-03-10 16:13:59 +000043vbit_test_LDFLAGS = $(AM_CFLAGS_PRI) -std=c99 @LIB_UBSAN@