Makefile.am 999 Bytes
ACLOCAL_AMFLAGS = -I m4

TESTS_ENVIRONMENT = valgrind --error-exitcode=123 --leak-check=full --quiet
TESTS = cclassTest loggerTest socketTest serverTest
check_PROGRAMS = cclassTest loggerTest socketTest serverTest

cclassTest_SOURCES = runtest.c cclassTest.c mock/class.c ../src/cclass.c
cclassTest_LDADD   = $(LIBOBJS)
cclassTest_CFLAGS  = -Wall -ggdb -O0 -finline-functions -I ../include -I .. -I .

loggerTest_SOURCES = runtest.c loggerTest.c ../src/cclass.c ../src/logger.c
loggerTest_LDADD   = $(LIBOBJS)
loggerTest_CFLAGS  = -Wall -ggdb -O0 -I ../include -I .. -I .

socketTest_SOURCES = runtest.c socketTest.c ../src/cclass.c ../src/logger.c ../src/socket.c
socketTest_LDADD   = $(LIBOBJS)
socketTest_CFLAGS  = -Wall -ggdb -O0 -I ../include -I .. -I .

serverTest_SOURCES = runtest.c serverTest.c ../src/cclass.c ../src/logger.c ../src/socket.c ../src/server.c
serverTest_LDADD   = $(LIBOBJS)
serverTest_CFLAGS  = -Wall -ggdb -O0 -I ../include -I .. -I .

EXTRA_DIST = runtest.h mock/class.h