Last change
on this file since 834 was
834,
checked in by Dag-Erling Smørgrav, 6 years ago
|
Add configure options to build as much as possible using the system
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.
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Id
|
File size:
625 bytes
|
Line | |
---|
1 | # $Id: Makefile.am 834 2014-10-28 10:25:58Z des $ |
---|
2 | |
---|
3 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam |
---|
4 | |
---|
5 | noinst_HEADERS = t.h |
---|
6 | |
---|
7 | # tests |
---|
8 | TESTS = |
---|
9 | TESTS += t_openpam_ctype |
---|
10 | TESTS += t_openpam_readword |
---|
11 | TESTS += t_openpam_readlinev |
---|
12 | if WITH_OATH |
---|
13 | TESTS += t_rfc4648 |
---|
14 | endif |
---|
15 | check_PROGRAMS = $(TESTS) |
---|
16 | |
---|
17 | # libt - common support code |
---|
18 | check_LIBRARIES = libt.a |
---|
19 | libt_a_SOURCES = t_main.c t_file.c |
---|
20 | |
---|
21 | # link with libpam and libt |
---|
22 | LDADD = libt.a |
---|
23 | if WITH_SYSTEM_LIBPAM |
---|
24 | LDADD += $(SYSTEM_LIBPAM) |
---|
25 | else |
---|
26 | LDADD += $(top_builddir)/lib/libpam/libpam.la |
---|
27 | endif |
---|
28 | if WITH_OATH |
---|
29 | if WITH_SYSTEM_LIBOATH |
---|
30 | LDADD += $(SYSTEM_LIBOATH) |
---|
31 | else |
---|
32 | LDADD += $(top_builddir)/lib/liboath/liboath.la |
---|
33 | endif |
---|
34 | endif |
---|
Note: See
TracBrowser
for help on using the repository browser.