• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 <sgrubb@redhat.com>
22#
23
24SUBDIRS = test
25pkgconfigdir = $(libdir)/pkgconfig
26pkgconfig_DATA = libcap-ng.pc
27DISTCLEANFILES = $(pkgconfig_DATA)
28CLEANFILES = $(BUILT_SOURCES)
29CONFIG_CLEAN_FILES = *.loT *.rej *.orig
30AM_CFLAGS = -fPIC -DPIC -W -Wall -Wshadow ${WFLAGS} -Wundef -D_GNU_SOURCE
31AM_CPPFLAGS = -I. -I${top_srcdir}
32lib_LTLIBRARIES = libcap-ng.la
33if BUILD_LIBDROP_AMBIENT
34  lib_LTLIBRARIES += libdrop_ambient.la
35endif
36include_HEADERS = cap-ng.h
37noinst_HEADERS = captab.h
38libcap_ng_la_SOURCES = cap-ng.c lookup_table.c
39libcap_ng_la_LIBADD =
40libcap_ng_la_DEPENDENCIES = $(libcap_ng_la_SOURCES) ../config.h
41libcap_ng_la_LDFLAGS = -Wl,-z,relro
42libdrop_ambient_la_SOURCES = libdrop_ambient.c
43
44