find/tree.c (get_pred_cost): Eliminate unused variable
[findutils.git] / find / Makefile.am
blob6cb29ba488e827ed1e03aa7687863f78b91c53b0
1 AUTOMAKE_OPTIONS = std-options
2 localedir = $(datadir)/locale
3 # noinst_PROGRAMS = regexprops
4 # regexprops_SOURCES = regexprops.c
6 noinst_LIBRARIES = libfindtools.a
7 libfindtools_a_SOURCES = finddata.c fstype.c parser.c pred.c tree.c util.c version.c
10 # We always build two versions of find, one with fts, one without.
11 # Their names depend on whether the user specified --with-fts.
13 # --with-fts            find            extra binary
14 #       yes             with fts        'oldfind', without fts
15 #        no             without fts     'ftsfind', with fts
16
17 if WITH_FTS
18 bin_PROGRAMS     = find oldfind
19 find_SOURCES     = ftsfind.c
20 oldfind_SOURCES  = find.c
21 else
22 bin_PROGRAMS      = find ftsfind
23 find_SOURCES      = find.c
24 ftsfind_SOURCES   = ftsfind.c
25 endif
27 EXTRA_DIST = defs.h $(man_MANS)
28 INCLUDES = -I../gnulib/lib -I$(top_srcdir)/lib -I$(top_srcdir)/gnulib/lib -I../intl -DLOCALEDIR=\"$(localedir)\"
29 LDADD = ./libfindtools.a ../lib/libfind.a ../gnulib/lib/libgnulib.a @INTLLIBS@ @LIB_CLOCK_GETTIME@ @FINDLIBS@
30 man_MANS = find.1
31 SUBDIRS = . testsuite
33 #$(PROGRAMS): ../lib/libfind.a
35 dist-hook: findutils-check-manpages
37 findutils-check-manpages:
38         $(top_srcdir)/build-aux/man-lint.sh $(srcdir) $(man_MANS)