1## Process this file with automake to produce Makefile.in
2# Makefile(.in) for scorealign using Autotools (but not libtool).
3# Written by Richard Ash following Gary Vaughan's Autobook
4
5# tell aclocal that extra macros can be found in autotools/m4/
6ACLOCAL_AMFLAGS = -I autotools/m4
7
8# define the output library (link with -lscorealign)
9lib_LIBRARIES = libscorealign.a
10
11# define the source files to use
12libscorealign_a_SOURCES = audiomixerreader.cpp \
13	audioreader.cpp \
14	comp_chroma.cpp \
15	curvefit.cpp \
16	gen_chroma.cpp \
17	hillclimb.cpp \
18	regression.cpp \
19	sautils.cpp \
20	scorealign.cpp \
21	scorealign-glue.cpp \
22	fft3/FFT3.cpp \
23	audiomixerreader.h \
24	audioreader.h \
25	comp_chroma.h \
26	curvefit.h \
27	gen_chroma.h \
28	hillclimb.h \
29	regression.h \
30	sautils.h \
31	fft3/FFT3.h
32
33# and the header files for the library. At the moment these go into the include
34# directory directly, it would be much better to have them in a subdirectory
35# but that would mean re-organising them here (a subdirectory called scorealign to
36# keep headers in, add -I$(srcdir)/scorealign/ to AM_CXXFLAGS, change the paths
37# to the headers here and change the name of the variable to nobase_include_...
38include_HEADERS = scorealign-glue.h \
39	scorealign.h \
40	ScoreAlignParams.h
41
42override CXXFLAGS += -I../portsmf
43
44# files that only really viscous cleans remove
45MAINTAINERCLEANFILES = Makefile.in
46
47# other distributed files in case users don't have a complete set of auto*
48AUX_DIST = $(ac_aux_dir)/config.guess \
49   $(ac_aux_dir)/config.sub \
50   $(ac_aux_dir)/install-sh \
51   $(ac_aux_dir)/mdate-sh \
52   $(ac_aux_dir)/missing \
53   $(ac_aux_dir)/mkinstalldirs \
54   $(MAINTAINERCLEANFILES)
55
56# Documentation files that should be both distributed and installed in the doc
57# directory,
58dist_doc_DATA = README.txt license.txt
59