blob: 39ada21fddc6715948f8a6f14700959285edb780 [file] [log] [blame]
nethercote4388a402004-09-01 23:20:49 +00001include $(top_srcdir)/Makefile.tool.am
sewardjde4a1d02002-03-22 01:27:54 +00002
njn7375de32009-08-05 08:08:18 +00003EXTRA_DIST = docs/lk-manual.xml
4
njn8b68b642009-06-24 00:37:09 +00005#----------------------------------------------------------------------------
6# lackey-<platform>
7#----------------------------------------------------------------------------
8
9noinst_PROGRAMS = lackey-@VGCONF_ARCH_PRI@-@VGCONF_OS@
10if VGCONF_HAVE_PLATFORM_SEC
11noinst_PROGRAMS += lackey-@VGCONF_ARCH_SEC@-@VGCONF_OS@
njnf76d27a2009-05-28 01:53:07 +000012endif
sewardjde4a1d02002-03-22 01:27:54 +000013
tomfb7bcde2005-11-07 15:24:38 +000014LACKEY_SOURCES_COMMON = lk_main.c
15
sewardj9e6428a2010-06-02 00:31:34 +000016lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
17 $(LACKEY_SOURCES_COMMON)
njn8b68b642009-06-24 00:37:09 +000018lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
19 $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
20lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
21 $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
22lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
23 $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
24lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
25 $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
26lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
27 $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
sewardj9e6428a2010-06-02 00:31:34 +000028lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
sewardjd3645802010-06-13 22:13:58 +000029 $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
njnea2d6fd2010-07-01 00:20:20 +000030 @VALT_LOAD_ADDRESS_PRI@ \
sewardj9e6428a2010-06-02 00:31:34 +000031 $(LINK) \
32 $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
33 $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
34
njn8b68b642009-06-24 00:37:09 +000035if VGCONF_HAVE_PLATFORM_SEC
sewardj9e6428a2010-06-02 00:31:34 +000036lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
37 $(LACKEY_SOURCES_COMMON)
njn8b68b642009-06-24 00:37:09 +000038lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
39 $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
40lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
41 $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
42lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
43 $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
44lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
45 $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
46lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
47 $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
sewardj9e6428a2010-06-02 00:31:34 +000048lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
sewardjd3645802010-06-13 22:13:58 +000049 $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
njnea2d6fd2010-07-01 00:20:20 +000050 @VALT_LOAD_ADDRESS_SEC@ \
sewardj9e6428a2010-06-02 00:31:34 +000051 $(LINK) \
52 $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
53 $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
njn8b68b642009-06-24 00:37:09 +000054endif
tomfb7bcde2005-11-07 15:24:38 +000055