Changeset 834 in openpam for trunk/bin/oathkey/Makefile.am


Ignore:
Timestamp:
Oct 28, 2014, 10:25:58 AM (6 years ago)
Author:
Dag-Erling Smørgrav
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/oathkey/Makefile.am

    r780 r834  
    55bin_PROGRAMS = oathkey
    66oathkey_SOURCES = oathkey.c
    7 oathkey_LDADD = $(top_builddir)/lib/liboath/liboath.la $(top_builddir)/lib/libpam/libpam.la
     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
    818
    919dist_man1_MANS = oathkey.1
Note: See TracChangeset for help on using the changeset viewer.