1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
# Copyright (C) 2012-2018 Marc Ferland
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
TESTS = basic file pwstream bruteforce dictionary reduce plaintext_password plaintext
check_PROGRAMS = basic \
file \
pwstream \
bruteforce \
dictionary \
reduce \
plaintext_password \
plaintext
AM_CPPFLAGS = -Wall -Wextra -DDATADIR='"$(top_srcdir)/data/"' @CPPFLAGS@
# basic functions test
basic_SOURCES = check_basic.c
basic_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
basic_LDADD = $(top_builddir)/lib/libzc.la @CHECK_LIBS@
# zc_file related functions
file_SOURCES = check_file.c
file_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
file_LDADD = $(top_builddir)/lib/libzc.la @CHECK_LIBS@
# zc_crk_bforce related functions
bruteforce_SOURCES = check_bruteforce.c
bruteforce_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
bruteforce_LDADD = $(top_builddir)/lib/libzc.la @CHECK_LIBS@
# zc_crk_dict related functions
dictionary_SOURCES = check_dictionary.c
dictionary_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
dictionary_LDADD = $(top_builddir)/lib/libzc.la @CHECK_LIBS@
# pwstream related functions
pwstream_SOURCES = check_pwstream.c
pwstream_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
pwstream_LDADD = $(top_builddir)/lib/pwstream.lo @CHECK_LIBS@ -lm
# reduce related functions
reduce_SOURCES = check_reduce.c
reduce_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
reduce_LDADD = $(top_builddir)/lib/zc_crk_ptext.lo $(top_builddir)/lib/libzc.lo @CHECK_LIBS@
# plaintext password functions
plaintext_password_SOURCES = check_plaintext_password.c
plaintext_password_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
plaintext_password_LDADD = $(top_builddir)/lib/libzc.la @CHECK_LIBS@
# plaintext related functions
plaintext_SOURCES = check_plaintext.c
plaintext_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/lib
plaintext_LDADD = $(top_builddir)/lib/libzc.la @CHECK_LIBS@
|