Tom Hughes ccae44d317 Get rid of all the duplicated settings of AM_CFLAGS in the makefiles
for the various core modules and use a single global setting so that
the flags are actually consistent everywhere.

Also get rid of most the USE_PIE blocks in the makefiles by having
configure pass expand a variable in the new global AM_CFLAGS to one
of "-fpie" or "" depending on whether PIE is in use.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3760
2005-05-17 16:11:40 +00:00

20 lines
398 B
Makefile

include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
EXTRA_DIST = \
README_REPLACEMALLOC.txt
noinst_LIBRARIES = \
libreplacemalloc_core.a \
libreplacemalloc_toolpreload.a
libreplacemalloc_core_a_SOURCES = \
replacemalloc_core.c
libreplacemalloc_toolpreload_a_SOURCES = \
vg_replace_malloc.c
libreplacemalloc_toolpreload_a_CFLAGS = \
$(PIC_AM_CFLAGS)