author | Michael Krelin <hacker@klever.net> | 2006-08-11 16:01:56 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-08-11 16:01:56 (UTC) |
commit | 0c21a7a0d5b84dc6726462f0fbe51b8c32433262 (patch) (unidiff) | |
tree | 9df6334cb1a61efebe68f7bcef9aa119a823626a /tools/Makefile.am | |
parent | 9bcc235e575a95989a5903394c127accbeef2e0f (diff) | |
download | midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.zip midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.tar.gz midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.tar.bz2 |
initial commit into repository0.0
-rw-r--r-- | tools/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am new file mode 100644 index 0000000..811c4f8 --- a/dev/null +++ b/tools/Makefile.am | |||
@@ -0,0 +1,31 @@ | |||
1 | bin_PROGRAMS = midi2f0 midifilter mididump | ||
2 | |||
3 | INCLUDES = -I${top_srcdir}/include ${KONFORKA_CFLAGS} | ||
4 | LIBS += ${top_builddir}/lib/libmidillo.la ${KONFORKA_LIBS} | ||
5 | |||
6 | midi2f0_SOURCES = midi2f0.cc \ | ||
7 | COPYING.cc | ||
8 | midi2f0_DEPENDENCIES = ${top_builddir}/lib/libmidillo.la | ||
9 | |||
10 | midifilter_SOURCES = midifilter.cc \ | ||
11 | COPYING.cc \ | ||
12 | filters.list \ | ||
13 | enflesh_filters_list.sh | ||
14 | midifilter_DEPENDENCIES = ${top_builddir}/lib/libmidillo.la | ||
15 | ${srcdir}/midifilter.cc: filters_enumeration.cc filters_definition.cc | ||
16 | filters_enumeration.cc filters_definition.cc: enflesh_filters_list.sh filters.list | ||
17 | sh $^ \ | ||
18 | filters_enumeration.cc filters_definition.cc | ||
19 | |||
20 | mididump_SOURCES = mididump.cc \ | ||
21 | COPYING.cc | ||
22 | mididump_DEPENDENCIES = ${top_builddir}/lib/libmidillo.la | ||
23 | |||
24 | clean-local: | ||
25 | rm -f filters_enumeration.cc filters_definition.cc | ||
26 | |||
27 | |||
28 | COPYING.cc: ${top_srcdir}/COPYING | ||
29 | echo "const char * COPYING =" >$@ || (rm $@;exit 1) | ||
30 | sed 's/"/\\"/g' $< | sed 's/^/\"/' | sed 's/$$/\\n\"/' >>$@ || (rm $@;exit 1) | ||
31 | echo ";" >>$@ || (rm $@;exit 1) | ||