Removed (not needed).
[krb5dissect.git] / Makefile.am
blobedac925ab3811135d3dd5e937149ece49bdcb562
1 # Process this file with autoconf to produce a configure script.
2 # Copyright (C) 2007 Simon Josefsson.
4 # This file is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2, or (at your option)
7 # any later version.
9 # This file is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this file; see the file COPYING.  If not, write to the
16 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 # Boston, MA 02110-1301, USA.
19 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
21 SUBDIRS = gl
23 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl
24 DEFS = -DENABLE_PRINT @DEFS@
26 EXTRA_DIST = ccache.txt keytab.txt
28 bin_PROGRAMS=krb5dissect
30 krb5dissect_LDADD = gl/libgnu.la
31 krb5dissect_SOURCES=krb5dissect.c \
32         ccache.c ccache.h \
33         keytab.c keytab.h \
34         krb5dissect.ggo krb5dissect_cmd.c krb5dissect_cmd.h
36 BUILT_SOURCES = krb5dissect_cmd.c krb5dissect_cmd.h
37 DISTCLEANFILES = $(BUILT_SOURCES)
39 krb5dissect_cmd.c krb5dissect_cmd.h: krb5dissect.ggo
40         $(GENGETOPT) --unamed-opts --input $^ --file-name krb5dissect_cmd && \
41                 $(PERL) -pi -e 's/\[FILES\]\.\.\./FILE/g' krb5dissect_cmd.c
43 dist_man_MANS = krb5dissect.1
45 krb5dissect.1: krb5dissect.c krb5dissect.ggo configure.ac
46         $(HELP2MAN) --no-info \
47                 --name="display Kerberos credentials" \
48                 --output=$@ $(top_builddir)/krb5dissect$(EXEEXT)
50 ChangeLog:
51         git log --pretty --numstat --summary | git2cl > ChangeLog
53 # Debian stuff.
54 EXTRA_DIST += \
55         debian/changelog \
56         debian/compat \
57         debian/control \
58         debian/copyright \
59         debian/krb5dissect.install \
60         debian/krb5dissect.manpages \
61         debian/rules \
62         debian/watch