blob: c79d1a3bb1b4bb7d4c04b411eb9e59a9e56dd42a [file] [log] [blame]
## Process this file with automake to produce Makefile.in
##---------------------------------------------------------------------------
## These test core error checking, eg. "silly values" for malloc/calloc,
## pthread errors (and suppressions), signal handling errors, invalid fds for
## blocking syscalls, etc.
##---------------------------------------------------------------------------
noinst_SCRIPTS = filter_stderr
EXTRA_DIST = \
$(noinst_SCRIPTS) \
erringfds.stderr.exp erringfds.stderr.exp.hd erringfds.stdout.exp \
erringfds.vgtest \
malloc3.stderr.exp malloc3.stderr.exp.hd malloc3.stdout.exp \
malloc3.vgtest \
pth_atfork1.stderr.exp pth_atfork1.stderr.exp.hd \
pth_atfork1.stdout.exp pth_atfork1.vgtest \
pth_cancel2.stderr.exp pth_cancel2.stderr.exp.hd pth_cancel2.vgtest \
pth_cvsimple.stderr.exp pth_cvsimple.stderr.exp.hd \
pth_cvsimple.stdout.exp pth_cvsimple.vgtest \
pth_empty.stderr.exp pth_empty.stderr.exp.hd pth_empty.vgtest \
pth_mutexspeed.stderr.exp pth_mutexspeed.stderr.exp.hd \
pth_mutexspeed.stdout.exp pth_mutexspeed.vgtest \
pth_once.stderr.exp pth_once.stderr.exp.hd pth_once.stdout.exp \
pth_once.vgtest \
sigkill.stderr.exp sigkill.stderr.exp.hd sigkill.vgtest
noinst_PROGRAMS = \
erringfds malloc3 sigkill \
pth_atfork1 pth_cancel2 pth_cvsimple pth_empty \
pth_mutexspeed pth_once
CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
CXXFLAGS = $(CFLAGS)
# C ones
erringfds_SOURCES = erringfds.c
malloc3_SOURCES = malloc3.c
sigkill_SOURCES = sigkill.c
# Pthread ones
pth_atfork1_SOURCES = pth_atfork1.c
pth_atfork1_LDADD = -lpthread
pth_cancel2_SOURCES = pth_cancel2.c
pth_cancel2_LDADD = -lpthread
pth_cvsimple_SOURCES = pth_cvsimple.c
pth_cvsimple_LDADD = -lpthread
pth_empty_SOURCES = pth_empty.c
pth_empty_LDADD = -lpthread
pth_mutexspeed_SOURCES = pth_mutexspeed.c
pth_mutexspeed_LDADD = -lpthread
pth_once_SOURCES = pth_once.c
pth_once_LDADD = -lpthread