summaryrefslogtreecommitdiff
path: root/pkcs11/Makefile.am
blob: ee160fa0e0f7a304a675af6374025b84e980c3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## Process this file with automake to produce Makefile.in
# Copyright (C) 2007 Free Software Foundation
#
# Author: Simon Josefsson
#
# This file is part of GNUTLS-PKCS11.
#
# GNUTLS-PKCS11 is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# GNUTLS-PKCS11 is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNUTLS-PKCS11; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.

AM_CPPFLAGS = -I$(top_srcdir)/lgl -I$(top_builddir)/lgl			\
	-I$(top_srcdir)/lib -I../includes -I$(top_srcdir)/includes

lib_LTLIBRARIES = libgnutls-pkcs11.la

libgnutls_pkcs11_la_SOURCES = gnutls_pkcs11.c pkcs11.h
libgnutls_pkcs11_la_LDFLAGS = -no-undefined \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libgnutls_pkcs11_la_LIBADD = ../lib/libgnutls.la

# XXX Move into configure.ac a'la --with-pkcs11-library=scute.
libgnutls_pkcs11_la_LDFLAGS += -L/usr/local/lib -R/usr/local/lib
libgnutls_pkcs11_la_LIBADD += -lscute

p11-api.texi: gnutls_pkcs11.c
	@echo "" > $@
	@for i in $<; do \
		echo -n "Creating documentation for file $$i... " && \
		$(top_srcdir)/doc/scripts/gdoc -texinfo $$i >> $@ && \
		echo "ok"; \
	done

dist-hook: p11-api.texi