Tom Hughes 8ab17244a8 Add VGP_(setup_redirects) to the platform specific layers and use
it to setup vsyscall redirects on amd64 and the _dl_sysinfo_int80
redirect on x86.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3503
2005-04-02 15:53:01 +00:00

24 lines
432 B
Makefile

include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer -g
noinst_HEADERS = \
core_platform.h \
vki_unistd.h
noinst_LIBRARIES = libplatform.a
libplatform_a_SOURCES = \
core_platform.c \
ldt.c \
syscall.S \
syscalls.c
if USE_PIE
libplatform_a_CFLAGS = $(AM_CFLAGS) -fpie
else
libplatform_a_CFLAGS = $(AM_CFLAGS)
endif