From ad2fb7ce2495afc4a1da3a61fac249677661ee71 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Sat, 27 Feb 1999 18:44:24 +0000 Subject: [PATCH] add Makefile.am git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5432 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/otp/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 appl/otp/Makefile.am diff --git a/appl/otp/Makefile.am b/appl/otp/Makefile.am new file mode 100644 index 000000000..11e10d655 --- /dev/null +++ b/appl/otp/Makefile.am @@ -0,0 +1,20 @@ +# $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 $(bindir)/otp && chmod u+s $(bindir)/otp; then :;else \ + chmod 0 /usr/heimdal/bin/otp; fi