summaryrefslogtreecommitdiff
path: root/xargs/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xargs/Makefile.am')
-rw-r--r--xargs/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/xargs/Makefile.am b/xargs/Makefile.am
new file mode 100644
index 0000000..e002334
--- /dev/null
+++ b/xargs/Makefile.am
@@ -0,0 +1,23 @@
+AUTOMAKE_OPTIONS = std-options
+AM_CFLAGS = $(WARN_CFLAGS)
+localedir = $(datadir)/locale
+bin_PROGRAMS = xargs
+man_MANS = xargs.1
+AM_CPPFLAGS = -I.. -I../gl/lib -I$(top_srcdir)/gl/lib -I$(top_srcdir)/lib -I../intl -DLOCALEDIR=\"$(localedir)\"
+LDADD = ../lib/libfind.a ../gl/lib/libgnulib.a $(LIB_CLOSE) $(LIBINTL)
+EXTRA_DIST = $(man_MANS)
+SUBDIRS = . testsuite
+
+$(PROGRAMS): ../lib/libfind.a ../gl/lib/libgnulib.a
+
+dist-hook: findutils-check-manpages
+
+findutils-check-manpages:
+ $(top_srcdir)/build-aux/man-lint.sh $(srcdir) $(man_MANS)
+
+# 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