source: openpam/trunk/t/Makefile.am @ 938

Last change on this file since 938 was 938, checked in by Dag-Erling Smørgrav, 4 years ago

Switch from $Id$ to $OpenPAM$.

  • Property svn:eol-style set to native
  • Property svn:keywords set to OpenPAM=%I
File size: 645 bytes
Line 
1# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
2
3if WITH_TEST
4
5AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
6
7AM_TESTS_ENVIRONMENT = \
8        PAM_RETURN_SO=$(abs_top_builddir)/modules/pam_return/.libs/pam_return.so
9
10noinst_HEADERS = t_pam_conv.h
11
12# tests
13TESTS =
14TESTS += t_openpam_ctype
15TESTS += t_openpam_dispatch
16TESTS += t_openpam_readword
17TESTS += t_openpam_readlinev
18check_PROGRAMS = $(TESTS)
19
20# libt - common support code
21check_LIBRARIES = libt.a
22libt_a_SOURCES = t_pam_conv.c
23
24# link with libpam and test framework
25LDADD = $(CRYB_TEST_LIBS) libt.a
26if WITH_SYSTEM_LIBPAM
27LDADD += $(SYSTEM_LIBPAM)
28else
29LDADD += $(top_builddir)/lib/libpam/libpam.la
30endif
31
32endif
Note: See TracBrowser for help on using the repository browser.