cryb-otp/bin/otpkey/Makefile.am

24 lines
398 B
Text
Raw Normal View History

2017-03-05 00:02:49 +00:00
AM_CPPFLAGS = -I$(top_srcdir)/include
libotp = $(top_builddir)/lib/otp/libcryb-otp.la
2017-03-05 00:02:49 +00:00
bin_PROGRAMS = otpkey
otpkey_SOURCES = otpkey.c
otpkey_CFLAGS = \
2018-04-26 20:57:52 +00:00
$(CRYB_CORE_CFLAGS) \
$(CRYB_OATH_CFLAGS)
2018-04-26 20:57:52 +00:00
otpkey_LDADD = \
$(libotp) \
$(CRYB_CORE_LIBS) \
$(CRYB_OATH_LIBS)
2017-03-05 00:02:49 +00:00
dist_man1_MANS = otpkey.1
if WITH_SETUID
install-exec-hook:
chmod u+s $(DESTDIR)$(bindir)/otpkey$(EXEEXT)
endif WITH_SETUID