File: Makefile.am

package info (click to toggle)
oath-toolkit 2.6.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,268 kB
  • sloc: ansic: 52,602; sh: 7,618; yacc: 1,846; xml: 1,841; makefile: 573
file content (46 lines) | stat: -rw-r--r-- 1,716 bytes parent folder | download
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
46
# Copyright (C) 2012-2026 Simon Josefsson

# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of the
# License, or (at your option) any later version.

# This library 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
# Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, see
# <https://www.gnu.org/licenses/>.

AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

SUBDIRS = gl schemas include . examples tests gtk-doc man

AM_CPPFLAGS = -DPSKC_BUILDING
AM_CPPFLAGS += -I$(srcdir)/gl -I$(builddir)/gl
AM_CPPFLAGS += -I$(srcdir)/include -I$(builddir)/include
AM_CPPFLAGS += -DPSKC_SCHEMA_CATALOG=\"$(pskcschemadir)/catalog-pskc.xml\"

AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS)
AM_CFLAGS += $(XML2_CFLAGS) $(XMLSEC_CFLAGS)
AM_CFLAGS += $(CFLAG_VISIBILITY)

lib_LTLIBRARIES = libpskc.la

libpskc_la_SOURCES = internal.h libpskc.map
libpskc_la_SOURCES += global.c errors.c enums.c
libpskc_la_SOURCES += container.c parser.c validate.c build.c sign.c output.c
libpskc_la_LIBADD = gl/libgnu.la
libpskc_la_LDFLAGS = $(XML2_LIBS) $(XMLSEC_LIBS) \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined

if HAVE_LD_VERSION_SCRIPT
libpskc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libpskc.map
else
libpskc_la_LDFLAGS += -export-symbols-regex '^pskc_.*'
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libpskc.pc