Files
ftmemsim-valgrind/coregrind/m_replacemalloc/Makefile.am
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

28 lines
620 B
Makefile

include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
AM_CFLAGS = $(WERROR) -Wmissing-prototypes -Winline -Wall -Wshadow -O -g
EXTRA_DIST = \
README_REPLACEMALLOC.txt
noinst_LIBRARIES = \
libreplacemalloc_core.a \
libreplacemalloc_toolpreload.a
libreplacemalloc_core_a_SOURCES = \
replacemalloc_core.c
if USE_PIE
libreplacemalloc_core_a_CFLAGS = $(AM_CFLAGS) -fpie
else
libreplacemalloc_core_a_CFLAGS = $(AM_CFLAGS)
endif
libreplacemalloc_toolpreload_a_SOURCES = \
vg_replace_malloc.c
libreplacemalloc_toolpreload_a_CFLAGS = \
$(AM_CFLAGS) -fpic -fno-omit-frame-pointer