Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 61 lines (51 sloc) 1.636 kb
846678f @jas4711 Fix copying conditions.
jas4711 authored
1 ## Process this file with automake to produce Makefile.in
930d131 @jas4711 Update copyright years.
jas4711 authored
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
3 # 2011 Free Software Foundation, Inc.
846678f @jas4711 Fix copying conditions.
jas4711 authored
4 #
5 # This file is part of LIBTASN1.
6 #
164dcbe @jas4711 Use GPLv3 for self tests, tools, build infrastructure.
jas4711 authored
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
846678f @jas4711 Fix copying conditions.
jas4711 authored
11 #
164dcbe @jas4711 Use GPLv3 for self tests, tools, build infrastructure.
jas4711 authored
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
846678f @jas4711 Fix copying conditions.
jas4711 authored
16 #
164dcbe @jas4711 Use GPLv3 for self tests, tools, build infrastructure.
jas4711 authored
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
846678f @jas4711 Fix copying conditions.
jas4711 authored
19
7d25b6e @jas4711 Add gnulib stdint module from gnulib under lib/.
jas4711 authored
20 SUBDIRS = gllib
21
d1db3ee @jas4711 Fix warning flags.
jas4711 authored
22 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
4844b4e @jas4711 Use -fvisibility=hidden and mark public APIs explicitly.
jas4711 authored
23 AM_CPPFLAGS = -I$(builddir)/gllib -DASN1_BUILDING
a9045a7 @jas4711 Add warning flags mechanism. Fix warnings.
jas4711 authored
24
281a0d9 @jas4711 Revert.
jas4711 authored
25 include_HEADERS = libtasn1.h
c379ce7 @nmav Initial revision
nmav authored
26
288d21f @jas4711 Add pkg-config file.
jas4711 authored
27 pkgconfigdir = $(libdir)/pkgconfig
28 pkgconfig_DATA = libtasn1.pc
29
e867d4b @nmav renamed libasn1 to libtasn1
nmav authored
30 lib_LTLIBRARIES = libtasn1.la
c379ce7 @nmav Initial revision
nmav authored
31
02fe84d @jas4711 Cleanup.
jas4711 authored
32 libtasn1_la_SOURCES = \
33 ASN1.y \
34 coding.c \
35 decoding.c \
36 element.c \
37 element.h \
38 errors.c \
39 gstr.c \
40 gstr.h \
41 int.h \
42 libtasn1.h \
43 libtasn1.map \
44 parser_aux.c \
45 parser_aux.h \
46 structure.c \
ccc6cae @jas4711 asn1_check_version: Simplify.
jas4711 authored
47 structure.h \
48 version.c
02fe84d @jas4711 Cleanup.
jas4711 authored
49
ab67c9a @jas4711 Link to gnulib library.
jas4711 authored
50 libtasn1_la_LIBADD = gllib/libgnu.la
51
02fe84d @jas4711 Cleanup.
jas4711 authored
52 libtasn1_la_LDFLAGS = \
53 -no-undefined \
2474073 @jas4711 Replace ld version script with libtool -export-symbols-regex.
jas4711 authored
54 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
aa9ea00 @jas4711 Replace --export-symbols-regex with version script.
jas4711 authored
55
56 if HAVE_LD_VERSION_SCRIPT
0ce0fea @jas4711 Rename for consistency.
jas4711 authored
57 libtasn1_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libtasn1.map
4844b4e @jas4711 Use -fvisibility=hidden and mark public APIs explicitly.
jas4711 authored
58 else
4193772 @jas4711 Export libtasn1_* too, for backwards compatibility functions.
jas4711 authored
59 libtasn1_la_LDFLAGS += -export-symbols-regex '^(asn1|libtasn1_).*'
aa9ea00 @jas4711 Replace --export-symbols-regex with version script.
jas4711 authored
60 endif
Something went wrong with that request. Please try again.