1 include $(top_srcdir)/Makefile.tool.am 2 3 EXTRA_DIST = docs/lk-manual.xml 4 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@ 12 endif 13 14 LACKEY_SOURCES_COMMON = lk_main.c 15 16 lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \ 17 $(LACKEY_SOURCES_COMMON) 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@) 28 lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \ 29 $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \ 30 @VALT_LOAD_ADDRESS_PRI@ \ 31 $(LINK) \ 32 $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \ 33 $(lackey_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS) 34 35 if VGCONF_HAVE_PLATFORM_SEC 36 lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \ 37 $(LACKEY_SOURCES_COMMON) 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@) 48 lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \ 49 $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \ 50 @VALT_LOAD_ADDRESS_SEC@ \ 51 $(LINK) \ 52 $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \ 53 $(lackey_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS) 54 endif 55 56