mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. The format of the copyright year number range in Texinfo files is "YEAR1--YEAR2" now, i.e., with 2x '-'. * tests/sample-test: Adjust to use the single most recent year. * All other files: Update copyright years via the above make run.
52 lines
2.1 KiB
Makefile
52 lines
2.1 KiB
Makefile
## Copyright (C) 1996-2022 Free Software Foundation, Inc.
|
|
|
|
## This program is free software: you can redistribute it and/or modify
|
|
## it under the terms of the GNU General Public License as published by
|
|
## the Free Software Foundation, either version 3 of the License, or
|
|
## (at your option) any later version.
|
|
##
|
|
## This program is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
##
|
|
## You should have received a copy of the GNU General Public License
|
|
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
AUTOMAKE_OPTIONS = std-options
|
|
AM_CFLAGS = $(WARN_CFLAGS)
|
|
localedir = $(datadir)/locale
|
|
|
|
noinst_LIBRARIES = libfindtools.a
|
|
libfindtools_a_SOURCES = finddata.c fstype.c parser.c pred.c exec.c tree.c util.c sharefile.c print.c
|
|
|
|
# We only build the version of find with fts (called "find"),
|
|
# i.e., no longer the one called "oldfind".
|
|
bin_PROGRAMS = find
|
|
find_SOURCES = ftsfind.c
|
|
man_MANS = find.1
|
|
|
|
EXTRA_DIST = defs.h sharefile.h print.h $(man_MANS)
|
|
AM_CPPFLAGS = -I../gl/lib -I$(top_srcdir)/lib -I$(top_srcdir)/gl/lib -DLOCALEDIR=\"$(localedir)\"
|
|
LDADD = libfindtools.a ../lib/libfind.a ../gl/lib/libgnulib.a $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_SELINUX) $(LIB_CLOSE) $(MODF_LIBM) $(FINDLIBS) $(GETHOSTNAME_LIB) $(LIB_EACCESS) $(LIB_SETLOCALE_NULL) $(LIB_MBRTOWC)
|
|
# gnulib advises we link against <first> because we use <second>:
|
|
# $(GETHOSTNAME_LIB) uname
|
|
# $(LIB_CLOCK_GETTIME) (some indirect dependency)
|
|
# $(LIB_EACCESS) faccessat
|
|
# $(LIB_SELINUX) selinux-h
|
|
# $(MODF_LIBM) modf
|
|
|
|
SUBDIRS = . testsuite
|
|
|
|
dist-hook: findutils-check-manpages
|
|
|
|
# Clean coverage files generated by running binaries built with
|
|
# gcc -fprofile-arcs -ftest-coverage
|
|
coverage-clean:
|
|
rm -f *.gcno *.gcda *.gcov *.lcov
|
|
|
|
clean-local: coverage-clean
|
|
|
|
findutils-check-manpages:
|
|
$(top_srcdir)/build-aux/man-lint.sh $(srcdir) $(man_MANS)
|