florian | bb913cd | 2012-08-28 16:50:39 +0000 | [diff] [blame] | 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 = |
florian | d9867dc | 2012-09-17 18:54:44 +0000 | [diff] [blame] | 12 | noinst_HEADERS = vtest.h vbits.h |
florian | bb913cd | 2012-08-28 16:50:39 +0000 | [diff] [blame] | 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) |
florian | 26a790a | 2014-12-03 22:53:00 +0000 | [diff] [blame] | 36 | vbit_test_CPPFLAGS = $(AM_CPPFLAGS_PRI) \ |
florian | bb913cd | 2012-08-28 16:50:39 +0000 | [diff] [blame] | 37 | -I$(top_srcdir)/include \ |
| 38 | -I$(top_srcdir)/memcheck \ |
| 39 | -I$(top_srcdir)/VEX/pub |
florian | 26a790a | 2014-12-03 22:53:00 +0000 | [diff] [blame] | 40 | vbit_test_CFLAGS = $(AM_CFLAGS_PRI) -std=c99 |
florian | bb913cd | 2012-08-28 16:50:39 +0000 | [diff] [blame] | 41 | vbit_test_DEPENDENCIES = |
Elliott Hughes | a0664b9 | 2017-04-18 17:46:52 -0700 | [diff] [blame^] | 42 | vbit_test_LDADD = $(top_builddir)/VEX/libvex-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a |
florian | bb1a787 | 2015-03-10 16:13:59 +0000 | [diff] [blame] | 43 | vbit_test_LDFLAGS = $(AM_CFLAGS_PRI) -std=c99 @LIB_UBSAN@ |