Home | History | Annotate | Download | only in exp-dhat
      1 include $(top_srcdir)/Makefile.tool.am
      2 
      3 #SUBDIRS += perf
      4 
      5 EXTRA_DIST = docs/dh-manual.xml
      6 
      7 #----------------------------------------------------------------------------
      8 # Headers, etc
      9 #----------------------------------------------------------------------------
     10 
     11 #bin_SCRIPTS = dh_print
     12 
     13 #----------------------------------------------------------------------------
     14 # exp_dhat-<platform>
     15 #----------------------------------------------------------------------------
     16 
     17 noinst_PROGRAMS  = exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@
     18 if VGCONF_HAVE_PLATFORM_SEC
     19 noinst_PROGRAMS += exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@
     20 endif
     21 
     22 EXP_DHAT_SOURCES_COMMON = dh_main.c
     23 
     24 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES      = \
     25 	$(EXP_DHAT_SOURCES_COMMON)
     26 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS     = \
     27 	$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
     28 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS       = \
     29 	$(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
     30 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
     31 	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
     32 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD        = \
     33 	$(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
     34 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS      = \
     35 	$(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
     36 exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
     37 	$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
     38 	@VALT_LOAD_ADDRESS_PRI@ \
     39 	$(LINK) \
     40 	$(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
     41 	$(exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
     42 
     43 if VGCONF_HAVE_PLATFORM_SEC
     44 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES      = \
     45 	$(EXP_DHAT_SOURCES_COMMON)
     46 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS     = \
     47 	$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
     48 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS       = \
     49 	$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
     50 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
     51 	$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
     52 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD        = \
     53 	$(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
     54 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS      = \
     55 	$(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
     56 exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
     57 	$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
     58 	@VALT_LOAD_ADDRESS_SEC@ \
     59 	$(LINK) \
     60 	$(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
     61 	$(exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
     62 endif
     63 
     64 #----------------------------------------------------------------------------
     65 # vgpreload_exp_dhat-<platform>.so
     66 #----------------------------------------------------------------------------
     67 
     68 noinst_PROGRAMS += vgpreload_exp-dhat-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so
     69 if VGCONF_HAVE_PLATFORM_SEC
     70 noinst_PROGRAMS += vgpreload_exp-dhat-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so
     71 endif
     72 
     73 if VGCONF_OS_IS_DARWIN
     74 noinst_DSYMS = $(noinst_PROGRAMS)
     75 endif
     76 
     77 vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES      = 
     78 vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS     = \
     79 	$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
     80 vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS       = \
     81 	$(AM_CFLAGS_PSO_@VGCONF_PLATFORM_PRI_CAPS@)
     82 vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \
     83 	$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_PRI_CAPS@)
     84 vgpreload_exp_dhat_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS      = \
     85 	$(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) \
     86 	$(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
     87 
     88 if VGCONF_HAVE_PLATFORM_SEC
     89 vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES      = 
     90 vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CPPFLAGS     = \
     91 	$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
     92 vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS       = \
     93 	$(AM_CFLAGS_PSO_@VGCONF_PLATFORM_SEC_CAPS@)
     94 vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_DEPENDENCIES = \
     95 	$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_SEC_CAPS@)
     96 vgpreload_exp_dhat_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS      = \
     97 	$(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) \
     98 	$(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
     99 endif
    100 
    101