blob: 69e64bb72c5808994a8b4430104e7044a4299e8e [file] [log] [blame]
SUBDIRS = . tests docs
INCLUDES = -I$(top_srcdir)/include
CFLAGS = $(WERROR) -DVG_LIBDIR="\"$(libdir)"\" \
-Winline -Wall -Wshadow -O -fomit-frame-pointer \
@PREFERRED_STACK_BOUNDARY@ -g \
$(INCLUDES)
valdir = $(libdir)/valgrind
val_PROGRAMS = vgskin_memcheck.so
vgskin_memcheck_so_SOURCES = \
mc_main.c \
mc_clientreqs.c \
mc_common.c \
mc_errcontext.c \
mc_from_ucode.c \
mc_translate.c \
mc_helpers.S
vgskin_memcheck_so_LDFLAGS = -shared
mcincludedir = $(includedir)/valgrind
mcinclude_HEADERS = \
memcheck.h
noinst_HEADERS = \
mc_include.h
##vgskin_memcheck.so$(EXEEXT): $(vgskin_memcheck_so_OBJECTS)
## $(CC) $(CFLAGS) $(LDFLAGS) -shared -o vgskin_memcheck.so \
## $(vgskin_memcheck_so_OBJECTS)