include Makefile.am.common

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5588 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-18 11:10:02 +00:00
parent 3bde7db284
commit 80bfea9891
5 changed files with 14 additions and 52 deletions

View File

@@ -1,10 +1,9 @@
# $Id$
AUTOMAKE_OPTIONS = foreign no-dependencies
CFLAGS = @CFLAGS@ $(WFLAGS)
include $(top_srcdir)/Makefile.am.common
bin_PROGRAMS = otp otpprint
bin_SUIDS = otp
otp_SOURCES = otp.c otp_locl.h
otpprint_SOURCES = otpprint.c otp_locl.h
@@ -13,8 +12,3 @@ LDADD = \
$(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