2012-04-01 20:34:59 +00:00
|
|
|
# $Id$
|
|
|
|
|
2013-03-05 17:49:06 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
|
2012-04-01 20:34:59 +00:00
|
|
|
|
2012-04-05 15:41:44 +00:00
|
|
|
noinst_HEADERS = t.h
|
|
|
|
|
2012-04-01 20:34:59 +00:00
|
|
|
# tests
|
2012-09-18 11:35:13 +00:00
|
|
|
TESTS =
|
2014-02-26 16:22:32 +00:00
|
|
|
TESTS += t_openpam_ctype
|
2012-09-18 11:35:13 +00:00
|
|
|
TESTS += t_openpam_readword
|
|
|
|
TESTS += t_openpam_readlinev
|
2013-03-05 18:54:22 +00:00
|
|
|
if WITH_OATH
|
|
|
|
TESTS += t_rfc4648
|
|
|
|
endif
|
2012-04-01 20:34:59 +00:00
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
|
|
|
# libt - common support code
|
|
|
|
check_LIBRARIES = libt.a
|
2012-09-18 11:35:13 +00:00
|
|
|
libt_a_SOURCES = t_main.c t_file.c
|
2012-04-01 20:34:59 +00:00
|
|
|
|
|
|
|
# link with libpam and libt
|
2013-03-05 17:49:06 +00:00
|
|
|
LDADD = libt.a $(top_builddir)/lib/libpam/libpam.la
|
2013-03-05 18:54:22 +00:00
|
|
|
if WITH_OATH
|
|
|
|
LDADD += $(top_builddir)/lib/liboath/liboath.la
|
|
|
|
endif
|