2017-03-05 00:02:49 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
|
2017-03-07 15:20:23 +00:00
|
|
|
libotp = $(top_builddir)/lib/otp/libcryb-otp.la
|
|
|
|
|
2017-03-05 00:02:49 +00:00
|
|
|
bin_PROGRAMS = otpkey
|
|
|
|
|
|
|
|
otpkey_SOURCES = otpkey.c
|
2017-03-07 15:20:23 +00:00
|
|
|
|
|
|
|
otpkey_CFLAGS = \
|
2018-04-26 20:57:52 +00:00
|
|
|
$(CRYB_CORE_CFLAGS) \
|
|
|
|
$(CRYB_OATH_CFLAGS)
|
2017-03-07 15:20:23 +00:00
|
|
|
|
2018-04-26 20:57:52 +00:00
|
|
|
otpkey_LDADD = \
|
|
|
|
$(libotp) \
|
|
|
|
$(CRYB_CORE_LIBS) \
|
|
|
|
$(CRYB_OATH_LIBS)
|
2017-03-07 15:20:23 +00:00
|
|
|
|
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
|