git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5471 ec53bebd-3082-4978-b11e-865c3cabbd6b
21 lines
498 B
Makefile
21 lines
498 B
Makefile
# $Id$
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
CFLAGS = @CFLAGS@ $(WFLAGS)
|
|
|
|
bin_PROGRAMS = otp otpprint
|
|
otp_SOURCES = otp.c otp_locl.h
|
|
otpprint_SOURCES = otpprint.c otp_locl.h
|
|
|
|
LDADD = \
|
|
$(top_builddir)/lib/otp/libotp.la \
|
|
$(top_builddir)/lib/des/libdes.la \
|
|
$(top_builddir)/lib/roken/libroken.la \
|
|
$(DBLIB)
|
|
|
|
## XXX how should this be done?
|
|
install-exec-hook:
|
|
@if chown 0:0 $(DESTDIR)$(bindir)/otp && chmod u+s $(DESTDIR)$(bindir)/otp; then :;else \
|
|
chmod 0 $(DESTDIR)$(bindir)/otp; fi
|