Files
libite/test/Makefile.am
T
2021-10-03 12:22:33 +02:00

42 lines
1.2 KiB
Makefile

# Ignore warnings about unused result, in e.g. write()
AM_CFLAGS = -W -Wall -Wextra -Wno-unused-result
AM_CPPFLAGS = -D_GNU_SOURCE
AM_LDFLAGS = -L../src/ ../src/libite.la -static
EXTRA_DIST = check.h data/fexist/dir/.placeholder data/fexist/executable
EXTRA_DIST += data/fexist/link data/fexist/regular data/lfile/fstab
EXTRA_DIST += data/lfile/group data/lfile/passwd data/lfile/protocols
EXTRA_DIST += data/lfile/services data/which/executable
EXTRA_DIST += data/which/executable-link data/which/regular
CLEANFILES = *~ *.trs *.log
TESTS_ENVIRONMENT = ([ -d data ] || ln -sf $(srcdir)/data) &&
clean-local:
-find -type l -name data -exec rm {} \;
TESTS =
TESTS += chomp
TESTS += copyfile
TESTS += dir
TESTS += fexist
TESTS += fisdir
TESTS += fopenf
TESTS += fsendfile
TESTS += lfile
TESTS += makepath
TESTS += pidfile
TESTS += printhdr
TESTS += progress
TESTS += rsync
TESTS += str
TESTS += strmatch
TESTS += systemf
TESTS += touch
TESTS += tempfile
TESTS += which
TESTS += yorn
check_PROGRAMS = $(TESTS)