ac54af0d69
libpam and / or liboath. Doing so disables building the corresponding library and its documentation, but still builts the corresponding tools and modules and runs the unit tests. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@834 185d5e19-27fe-0310-9dcf-9bff6b9f3609
35 lines
625 B
Makefile
35 lines
625 B
Makefile
# $Id$
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
|
|
|
|
noinst_HEADERS = t.h
|
|
|
|
# tests
|
|
TESTS =
|
|
TESTS += t_openpam_ctype
|
|
TESTS += t_openpam_readword
|
|
TESTS += t_openpam_readlinev
|
|
if WITH_OATH
|
|
TESTS += t_rfc4648
|
|
endif
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
# libt - common support code
|
|
check_LIBRARIES = libt.a
|
|
libt_a_SOURCES = t_main.c t_file.c
|
|
|
|
# link with libpam and libt
|
|
LDADD = libt.a
|
|
if WITH_SYSTEM_LIBPAM
|
|
LDADD += $(SYSTEM_LIBPAM)
|
|
else
|
|
LDADD += $(top_builddir)/lib/libpam/libpam.la
|
|
endif
|
|
if WITH_OATH
|
|
if WITH_SYSTEM_LIBOATH
|
|
LDADD += $(SYSTEM_LIBOATH)
|
|
else
|
|
LDADD += $(top_builddir)/lib/liboath/liboath.la
|
|
endif
|
|
endif
|