Nicholas Nethercote eb32bc7045 Modularised the malloc/free stuff into two modules: m_mallocfree for the
malloc/free implementation, and m_replacemalloc with the stuff for the tools
that replace malloc with their own version.  Previously these two areas of
functionality were mixed up somewhat.




git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3648
2005-05-10 02:47:21 +00:00

20 lines
481 B
Makefile

include $(top_srcdir)/Makefile.tool.am
val_PROGRAMS = vgtool_helgrind.so vgpreload_helgrind.so
vgtool_helgrind_so_SOURCES = hg_main.c
vgtool_helgrind_so_LDFLAGS = -shared
vgpreload_helgrind_so_SOURCES =
vgpreload_helgrind_so_DEPENDENCIES = \
$(LIBREPLACEMALLOC)
vgpreload_helgrind_so_LDFLAGS = -shared -Wl,-z,interpose,-z,initfirst \
-Wl,--whole-archive \
$(LIBREPLACEMALLOC) \
-Wl,--no-whole-archive
hgincludedir = $(includedir)/valgrind
hginclude_HEADERS = helgrind.h