blob: ffe94d9127c57d3fb757c6c509f1ed0895b58c7e [file] [log] [blame]
include $(top_srcdir)/Makefile.tool.am
SUBDIRS += hp2ps
val_PROGRAMS = vgtool_massif.so vgpreload_massif.so
vgtool_massif_so_SOURCES = ms_main.c
vgtool_massif_so_LDFLAGS = -shared
vgpreload_massif_so_SOURCES =
vgpreload_massif_so_DEPENDENCIES = \
$(LIBREPLACEMALLOC)
vgpreload_massif_so_LDFLAGS = -shared -Wl,-z,interpose,-z,initfirst \
-Wl,--whole-archive \
$(LIBREPLACEMALLOC) \
-Wl,--no-whole-archive