Debian Codegraph @

src/Makefile.am

raw
1 # Makefile.am --
2 # Copyright 2009,2015,2020 Red Hat Inc.
3 # All Rights Reserved.
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with this program; see the file COPYING.LIB. If not, write to the
17 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor
18 # Boston, MA 02110-1335, USA.
19 #
20 # Authors:
21 # Steve Grubb <[email protected]>
22 #
23
24 SUBDIRS = test
25 pkgconfigdir = $(libdir)/pkgconfig
26 pkgconfig_DATA = libcap-ng.pc
27 DISTCLEANFILES = $(pkgconfig_DATA)
28 CLEANFILES = $(BUILT_SOURCES)
29 CONFIG_CLEAN_FILES = *.loT *.rej *.orig
30 AM_CFLAGS = -fPIC -DPIC -W -Wall -Wshadow ${WFLAGS} -Wundef -D_GNU_SOURCE
31 AM_CPPFLAGS = -I. -I${top_srcdir}
32 lib_LTLIBRARIES = libcap-ng.la
33 if BUILD_LIBDROP_AMBIENT
34 lib_LTLIBRARIES += libdrop_ambient.la
35 endif
36 include_HEADERS = cap-ng.h
37 noinst_HEADERS = captab.h
38 libcap_ng_la_SOURCES = cap-ng.c lookup_table.c
39 libcap_ng_la_LIBADD =
40 libcap_ng_la_DEPENDENCIES = $(libcap_ng_la_SOURCES) ../config.h
41 libcap_ng_la_LDFLAGS = -Wl,-z,relro -Wl,-z,nodelete
42 libdrop_ambient_la_SOURCES = libdrop_ambient.c