nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 1 | include $(top_srcdir)/Makefile.tool.am |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 2 | |
njn | 7375de3 | 2009-08-05 08:08:18 +0000 | [diff] [blame] | 3 | EXTRA_DIST = docs/lk-manual.xml |
| 4 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 5 | #---------------------------------------------------------------------------- |
| 6 | # lackey-<platform> |
| 7 | #---------------------------------------------------------------------------- |
| 8 | |
| 9 | noinst_PROGRAMS = lackey-@VGCONF_ARCH_PRI@-@VGCONF_OS@ |
| 10 | if VGCONF_HAVE_PLATFORM_SEC |
| 11 | noinst_PROGRAMS += lackey-@VGCONF_ARCH_SEC@-@VGCONF_OS@ |
njn | f76d27a | 2009-05-28 01:53:07 +0000 | [diff] [blame] | 12 | endif |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 13 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 14 | LACKEY_SOURCES_COMMON = lk_main.c |
| 15 | |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 16 | lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \ |
| 17 | $(LACKEY_SOURCES_COMMON) |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 18 | lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \ |
| 19 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 20 | lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \ |
| 21 | $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 22 | lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \ |
| 23 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) |
| 24 | lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \ |
| 25 | $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@) |
| 26 | lackey_@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 | lackey_@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 | $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \ |
| 33 | $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS) |
| 34 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 35 | if VGCONF_HAVE_PLATFORM_SEC |
sewardj | 9e6428a | 2010-06-02 00:31:34 +0000 | [diff] [blame] | 36 | lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \ |
| 37 | $(LACKEY_SOURCES_COMMON) |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 38 | lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \ |
| 39 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 40 | lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \ |
| 41 | $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 42 | lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \ |
| 43 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) |
| 44 | lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \ |
| 45 | $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@) |
| 46 | lackey_@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 | lackey_@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 | $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \ |
| 53 | $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS) |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 54 | endif |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 55 | |