summaryrefslogtreecommitdiff
path: root/t/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 't/Makefile.am')
-rw-r--r--t/Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/t/Makefile.am b/t/Makefile.am
index 55fdb48b7e68f..2cd5d21e22462 100644
--- a/t/Makefile.am
+++ b/t/Makefile.am
@@ -1,25 +1,26 @@
-# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
+# $OpenPAM: Makefile.am 943 2019-02-20 13:23:51Z des $
if WITH_TEST
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam \
+ $(CRYB_TEST_CFLAGS)
AM_TESTS_ENVIRONMENT = \
PAM_RETURN_SO=$(abs_top_builddir)/modules/pam_return/.libs/pam_return.so
-noinst_HEADERS = t_pam_conv.h
-
# tests
TESTS =
TESTS += t_openpam_ctype
TESTS += t_openpam_dispatch
TESTS += t_openpam_readword
TESTS += t_openpam_readlinev
+TESTS += t_pam_env
check_PROGRAMS = $(TESTS)
# libt - common support code
check_LIBRARIES = libt.a
-libt_a_SOURCES = t_pam_conv.c
+libt_a_SOURCES = t_pam_conv.c t_pam_err.c
+noinst_HEADERS = t_pam_conv.h t_pam_err.h
# link with libpam and test framework
LDADD = $(CRYB_TEST_LIBS) libt.a