add Makefile.am

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5432 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-02-27 18:44:24 +00:00
parent 97b3141975
commit ad2fb7ce24

20
appl/otp/Makefile.am Normal file
View File

@@ -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