source: openpam/trunk/lib/liboath/Makefile.am @ 834

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: 605 bytes
Line 
1# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
2
3AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/libpam
4
5lib_LTLIBRARIES = liboath.la
6
7noinst_HEADERS = oath_impl.h
8
9liboath_la_SOURCES = \
10        oath_base32.c \
11        oath_base64.c \
12        oath_hotp.c \
13        oath_totp.c \
14        oath_key_alloc.c \
15        oath_key_create.c \
16        oath_key_dummy.c \
17        oath_key_from_file.c \
18        oath_key_from_uri.c \
19        oath_key_free.c \
20        oath_key.c \
21        oath_uri_decode.c
22
23liboath_la_LDFLAGS = -no-undefined -version-info $(LIB_MAJ)
24if WITH_SYSTEM_LIBPAM
25liboath_la_LIBADD = $(SYSTEM_LIBPAM)
26else
27liboath_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la
28endif
29liboath_la_LIBADD += $(CRYPTO_LIBS)
Note: See TracBrowser for help on using the repository browser.