source: openpam/trunk/modules/pam_oath/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: 596 bytes
Line 
1# $Id: Makefile.am 834 2014-10-28 10:25:58Z des $
2
3if CUSTOM_MODULES_DIR
4moduledir = $(OPENPAM_MODULES_DIR)
5else
6moduledir = $(libdir)
7endif
8AM_CPPFLAGS = -I$(top_srcdir)/include
9
10module_LTLIBRARIES = pam_oath.la
11
12pam_oath_la_SOURCES = pam_oath.c
13pam_oath_la_LDFLAGS = -no-undefined -module -version-info $(LIB_MAJ) \
14        -export-symbols-regex '^pam_sm_'
15pam_oath_la_LIBADD =
16if WITH_SYSTEM_LIBOATH
17pam_oath_la_LIBADD += $(SYSTEM_LIBOATH)
18else
19pam_oath_la_LIBADD += $(top_builddir)/lib/liboath/liboath.la
20endif
21if WITH_SYSTEM_LIBPAM
22pam_oath_la_LIBADD += $(SYSTEM_LIBPAM)
23else
24pam_oath_la_LIBADD += $(top_builddir)/lib/libpam/libpam.la
25endif
Note: See TracBrowser for help on using the repository browser.