Julian Seward 4b0b87e6fd cachegrind/tests/myprintf needs -fPIC on amd64
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3414
2005-03-23 13:11:14 +00:00

22 lines
518 B
Makefile

SUBDIRS = ${VG_ARCH} .
DIST_SUBDIRS = ${VG_ARCH_ALL} .
noinst_SCRIPTS = filter_stderr filter_cachesim_discards
EXTRA_DIST = $(noinst_SCRIPTS) \
chdir.vgtest chdir.stderr.exp \
dlclose.vgtest dlclose.stderr.exp dlclose.stdout.exp
check_PROGRAMS = \
chdir dlclose myprint.so
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
# C ones
chdir_SOURCES = chdir.c
dlclose_SOURCES = dlclose.c
dlclose_LDADD = -ldl
myprint_so_SOURCES = myprint.c
myprint_so_LDFLAGS = -shared -fPIC
myprint_so_CFLAGS = -fPIC