njn | dbebecc | 2009-07-14 01:39:54 +0000 | [diff] [blame] | 1 | include $(top_srcdir)/Makefile.tool.am |
| 2 | |
njn | 7375de3 | 2009-08-05 08:08:18 +0000 | [diff] [blame] | 3 | EXTRA_DIST = docs/bbv-manual.xml |
| 4 | |
njn | dbebecc | 2009-07-14 01:39:54 +0000 | [diff] [blame] | 5 | #---------------------------------------------------------------------------- |
| 6 | # exp-bbv-<platform> |
| 7 | #---------------------------------------------------------------------------- |
| 8 | |
| 9 | noinst_PROGRAMS = exp-bbv-@VGCONF_ARCH_PRI@-@VGCONF_OS@ |
| 10 | if VGCONF_HAVE_PLATFORM_SEC |
| 11 | noinst_PROGRAMS += exp-bbv-@VGCONF_ARCH_SEC@-@VGCONF_OS@ |
| 12 | endif |
| 13 | |
| 14 | BBV_SOURCES_COMMON = bbv_main.c |
| 15 | |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 16 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \ |
| 17 | $(BBV_SOURCES_COMMON) |
njn | dbebecc | 2009-07-14 01:39:54 +0000 | [diff] [blame] | 18 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \ |
| 19 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 20 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \ |
| 21 | $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 22 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \ |
| 23 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) |
| 24 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \ |
| 25 | $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@) |
| 26 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \ |
| 27 | $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 28 | exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \ |
sewardj | d364580 | 2010-06-13 22:13:58 +0000 | [diff] [blame] | 29 | $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \ |
njn | ea2d6fd | 2010-07-01 00:20:20 +0000 | [diff] [blame] | 30 | @VALT_LOAD_ADDRESS_PRI@ \ |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 31 | $(LINK) \ |
| 32 | $(exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \ |
| 33 | $(exp_bbv_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS) |
| 34 | |
njn | dbebecc | 2009-07-14 01:39:54 +0000 | [diff] [blame] | 35 | if VGCONF_HAVE_PLATFORM_SEC |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 36 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \ |
| 37 | $(BBV_SOURCES_COMMON) |
njn | dbebecc | 2009-07-14 01:39:54 +0000 | [diff] [blame] | 38 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \ |
| 39 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 40 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \ |
| 41 | $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 42 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \ |
| 43 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) |
| 44 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \ |
| 45 | $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@) |
| 46 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \ |
| 47 | $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 48 | exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \ |
sewardj | d364580 | 2010-06-13 22:13:58 +0000 | [diff] [blame] | 49 | $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \ |
njn | ea2d6fd | 2010-07-01 00:20:20 +0000 | [diff] [blame] | 50 | @VALT_LOAD_ADDRESS_SEC@ \ |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 51 | $(LINK) \ |
| 52 | $(exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \ |
| 53 | $(exp_bbv_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS) |
njn | dbebecc | 2009-07-14 01:39:54 +0000 | [diff] [blame] | 54 | endif |