File: Makefile.am

package info (click to toggle)
mimetic 0.9.8-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,168 kB
  • sloc: sh: 12,245; cpp: 11,327; makefile: 123
file content (28 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
EXTRA_DIST=file.bin small.bin test.msg test3.msg
INCLUDES=-I$(top_srcdir)
LDADD=../mimetic/libmimetic.la

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 t.contentdisposition.h t.contentdisposition.cxx

all-local: cutee runtest
	@for f in $(EXTRA_DIST); do \
		if [ ! -e $$f ]; then \
			ln -s $(srcdir)/$$f  ; \
		fi ; \
	done
	./runtest

clean-local: touch-autocutee.mk runtest-clean
	rm -f tests.out

noinst_PROGRAMS=cutee
cutee_SOURCES=cutee.cxx cutee.h
cutee_LDADD=

touch-autocutee.mk:
	touch autocutee.mk

autocutee.mk: cutee Makefile.am $(test_files)
	./cutee -k -o autocutee.mk $(addprefix $(srcdir)/, $(test_files))

include autocutee.mk