xref: /aosp_15_r20/external/libcap-ng/utils/Makefile.am (revision 8dd5e09d5faf27a871e8654ddaa2d2af7c696578)
1# Makefile.am --
2# Copyright 2009,2015 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. 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
24CONFIG_CLEAN_FILES = *.loT *.rej *.orig
25AUTOMAKE_OPTIONS = no-dependencies
26EXTRA_DIST = $(man_MANS)
27AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/src
28LDADD = ${top_builddir}/src/libcap-ng.la
29AM_CFLAGS = -W -Wall -Wshadow ${WFLAGS} -Wundef -D_GNU_SOURCE
30bin_PROGRAMS = pscap netcap filecap captest
31man_MANS = pscap.8 netcap.8 filecap.8 captest.8
32
33pscap_SOURCES = pscap.c
34netcap_SOURCES = netcap.c proc-llist.c proc-llist.h
35filecap_SOURCES = filecap.c
36captest_SOURCES = captest.c
37