source: openpam/trunk/bin/oathkey/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: 474 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
5bin_PROGRAMS = oathkey
6oathkey_SOURCES = oathkey.c
7oathkey_LDADD =
8if WITH_SYSTEM_LIBOATH
9oathkey_LDADD += $(SYSTEM_LIBOATH)
10else
11oathkey_LDADD += $(top_builddir)/lib/liboath/liboath.la
12endif
13if WITH_SYSTEM_LIBPAM
14oathkey_LDADD += $(SYSTEM_LIBPAM)
15else
16oathkey_LDADD += $(top_builddir)/lib/libpam/libpam.la
17endif
18
19dist_man1_MANS = oathkey.1
20
21install-exec-hook:
22        chmod u+s $(DESTDIR)$(bindir)/oathkey
Note: See TracBrowser for help on using the repository browser.