1include $(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 =
12noinst_HEADERS = vtest.h vbits.h
13
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)
36vbit_test_CPPFLAGS     = $(AM_CPPFLAGS_PRI) \
37                         -I$(top_srcdir)/include  \
38                         -I$(top_srcdir)/memcheck \
39                         -I$(top_srcdir)/VEX/pub
40vbit_test_CFLAGS       = $(AM_CFLAGS_PRI) -std=c99
41vbit_test_DEPENDENCIES =
42vbit_test_LDADD        =
43vbit_test_LDFLAGS      = $(AM_CFLAGS_PRI) -std=c99 @LIB_UBSAN@
44