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 always build two versions of find, one with fts (called "find"), # one without (called "oldfind"). The oldfind binary is no longer # installed. bin_PROGRAMS = find check_PROGRAMS = oldfind find_SOURCES = ftsfind.c oldfind_SOURCES = oldfind.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 -I../intl -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) # gnulib advises we link against because we use : # $(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) *.gcno *.gcda *.gcov *.lcov clean-local: coverage-clean findutils-check-manpages: $(top_srcdir)/build-aux/man-lint.sh $(srcdir) $(man_MANS)