36 lines
689 B
Makefile
36 lines
689 B
Makefile
# $Id$
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
|
|
|
|
noinst_HEADERS = t.h t_pam_conv.h
|
|
|
|
# tests
|
|
TESTS =
|
|
TESTS += t_openpam_ctype
|
|
TESTS += t_openpam_dispatch
|
|
TESTS += t_openpam_readword
|
|
TESTS += t_openpam_readlinev
|
|
if WITH_OATH
|
|
TESTS += t_rfc3986 t_rfc4648
|
|
endif
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
# libt - common support code
|
|
check_LIBRARIES = libt.a
|
|
libt_a_SOURCES = t_main.c t_file.c t_pam_conv.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
|