releasing version 0.9.5-1
[debian/mimetic.git] / test / Makefile.am
1 EXTRA_DIST=file.bin small.bin test.msg test3.msg
2 INCLUDES=-I$(top_srcdir)
3 LDADD=../mimetic/libmimetic.la
4
5 test_files=t.version.h t.tokenizer.h t.base64.h t.qp.h t.circular_buffer.h t.file.h t.mimemessage.h t.composite.h t.tokenizer.cxx t.base64.cxx t.qp.cxx t.circular_buffer.cxx t.composite.cxx t.directory.h t.fieldparam.h t.fieldparam.cxx t.strutils.h t.rfc822.h t.rfc822.cxx t.tree.h t.parser.h t.contenttype.h t.contenttype.cxx t.utils.h t.codec.h t.codec.cxx t.find_bm.h t.find_bm.cxx
6
7 all-local: cutee runtest
8         @for f in $(EXTRA_DIST); do \
9                 if [ ! -e $$f ]; then \
10                         ln -s $(srcdir)/$$f  ; \
11                 fi ; \
12         done
13         ./runtest
14
15 clean-local: touch-autocutee.mk runtest-clean
16         rm -f tests.out
17
18 noinst_PROGRAMS=cutee
19 cutee_SOURCES=cutee.cxx cutee.h
20 cutee_LDADD=
21
22 touch-autocutee.mk:
23         touch autocutee.mk
24
25 autocutee.mk: cutee Makefile.am $(test_files)
26         ./cutee -k -o autocutee.mk $(addprefix $(srcdir)/, $(test_files))
27
28 include autocutee.mk