Fix dangling/unused bindings in `(gnutls)'.
[gnutls.git] / libextra / openpgp / Makefile.am
blob512aeb65ae9f78457557a8f4e06f1640ece717cf
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
4 # Author: Nikos Mavrogiannopoulos
6 # This file is part of GNUTLS-EXTRA.
8 # GNUTLS-EXTRA is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 3 of the
11 # License, or (at your option) any later version.
13 # GNUTLS-EXTRA is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GNUTLS-EXTRA; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 # 02110-1301, USA.
23 AM_CPPFLAGS = -I$(top_srcdir)/lgl -I$(top_builddir)/lgl \
24         -I$(top_srcdir)/crypto -I$(top_srcdir)/lib      \
25         -I$(top_srcdir)/includes -I../../includes       \
26         -I$(top_srcdir)/libextra/opencdk
28 if ENABLE_MINITASN1
29 AM_CPPFLAGS += -I$(top_srcdir)/lib/minitasn1
30 else
31 AM_CPPFLAGS += $(LIBTASN1_CFLAGS)
32 endif
34 noinst_LTLIBRARIES = libgnutls_openpgp.la
36 COBJECTS = pgp.c pgpverify.c extras.c compat.c privkey.c
38 libgnutls_openpgp_la_SOURCES = $(COBJECTS) openpgp.h gnutls_openpgp.h
40 EXTRA_DIST = pgp-api.texi
42 pgp-api.texi: $(COBJECTS)
43         @echo "" > pgp-api.texi
44         @for i in ../gnutls_openpgp.c $(COBJECTS); do \
45                 echo -n "Creating documentation for file $$i... " && \
46                 $(top_srcdir)/doc/scripts/gdoc -texinfo $$i >> pgp-api.texi && \
47                 echo "ok"; \
48         done
50 dist-hook: pgp-api.texi