]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/file/tests/Makefile.am
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / file / tests / Makefile.am
1 check_PROGRAMS = test
2 test_LDADD = $(top_builddir)/src/libmagic.la
3 test_CPPFLAGS = -I$(top_srcdir)/src
4
5 EXTRA_DIST = \
6         gedcom.magic gedcom.testfile gedcom.result
7
8 T = $(top_srcdir)/tests
9 check-local:
10         MAGIC=$(top_builddir)/magic/magic ./test
11         for i in $T/*.testfile; do MAGIC=$T/$${i%%.testfile}.magic $(top_builddir)/tests/test $T/$$i $T/$${i%%.testfile}.result; done