cryb-otp/bin/otpkey/Makefile.am
2018-04-26 22:57:52 +02:00

23 lines
398 B
Makefile

AM_CPPFLAGS = -I$(top_srcdir)/include
libotp = $(top_builddir)/lib/otp/libcryb-otp.la
bin_PROGRAMS = otpkey
otpkey_SOURCES = otpkey.c
otpkey_CFLAGS = \
$(CRYB_CORE_CFLAGS) \
$(CRYB_OATH_CFLAGS)
otpkey_LDADD = \
$(libotp) \
$(CRYB_CORE_LIBS) \
$(CRYB_OATH_LIBS)
dist_man1_MANS = otpkey.1
if WITH_SETUID
install-exec-hook:
chmod u+s $(DESTDIR)$(bindir)/otpkey$(EXEEXT)
endif WITH_SETUID