2013-10-28 22:50:05 +01:00
|
|
|
|
|
|
|
|
AM_CFLAGS = -I../libpcp -Wall -g
|
2013-11-02 11:02:36 +01:00
|
|
|
check_PROGRAMS = col invalidkeys pwhashes
|
2013-10-28 22:50:05 +01:00
|
|
|
|
|
|
|
|
col_LDADD = ../libpcp/.libs/libpcp1.a
|
|
|
|
|
col_SOURCES = collisions.c
|
|
|
|
|
|
|
|
|
|
invalidkeys_LDADD = ../libpcp/.libs/libpcp1.a ../src/keyprint.o
|
|
|
|
|
invalidkeys_SOURCES = invalidkeys.c
|
2013-11-02 11:02:36 +01:00
|
|
|
|
|
|
|
|
pwhashes_LDADD = ../libpcp/.libs/libpcp1.a
|
|
|
|
|
pwhashes_SOURCES = pwhashes.c
|
|
|
|
|
|
2013-10-28 22:50:05 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/src
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test: check
|
2013-11-02 11:02:36 +01:00
|
|
|
rm -f test* v* stresstest/*
|
|
|
|
|
./unittests.pl unittests.cfg $(CHECK)
|
|
|
|
|
@echo "To run a single test only, type: 'make test CHECK=testname'"
|
2013-10-28 22:50:05 +01:00
|
|
|
|
|
|
|
|
stresstest: check
|
|
|
|
|
./unittests.pl stresstests.cfg
|