Imported Upstream version 2.8.4
[platform/upstream/man-db.git] / lib / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ##
3 ## Copyright (C) 1994, 1995 Graeme Wilford.
4 ## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Colin Watson.
5 ##
6 ## This file is part of man-db.
7 ##
8 ## man-db is free software; you can redistribute it and/or modify it
9 ## under the terms of the GNU General Public License as published by
10 ## the Free Software Foundation; either version 2 of the License, or
11 ## (at your option) any later version.
12 ##
13 ## man-db 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
16 ## GNU General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU General Public License
19 ## along with man-db; if not, write to the Free Software Foundation,
20 ## Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21
22 pkglib_LTLIBRARIES = libman.la
23 dist_noinst_DATA = README
24
25 AM_CFLAGS = $(WARN_CFLAGS)
26
27 libman_la_CPPFLAGS = \
28         -I$(top_builddir)/include \
29         -I$(top_srcdir)/gl/lib \
30         -I$(top_builddir)/gl/lib \
31         -DLOCALEDIR=\"$(localedir)\" \
32         $(libpipeline_CFLAGS) \
33         $(libseccomp_CFLAGS)
34
35 libman_la_SOURCES = \
36         appendstr.c \
37         cleanup.c \
38         cleanup.h \
39         debug.c \
40         decompress.c \
41         decompress.h \
42         encodings.c \
43         encodings.h \
44         hashtable.c \
45         hashtable.h \
46         linelength.c \
47         linelength.h \
48         lower.c \
49         lower.h \
50         orderfiles.c \
51         orderfiles.h \
52         pathsearch.c \
53         pathsearch.h \
54         sandbox.c \
55         sandbox.h \
56         security.c \
57         security.h \
58         tempfile.c \
59         util.c \
60         wordfnmatch.c \
61         wordfnmatch.h \
62         xchown.c \
63         xchown.h \
64         xregcomp.c \
65         xregcomp.h
66
67 libman_la_LIBADD = ../gl/lib/libgnu.la $(LTLIBOBJS) \
68         $(LIBCOMPRESS) @LTLIBINTL@
69
70 libman_la_LDFLAGS = \
71         -avoid-version -release $(VERSION) -rpath $(pkglibdir) \
72         -no-undefined \
73         $(libpipeline_LIBS) \
74         $(libseccomp_LIBS)