1 |
bin_PROGRAMS = rifftree gigdump dlsdump gigextract |
SUBDIRS = testcases |
2 |
|
|
3 |
# set the include path found by configure |
# to prevent compile errors on some systems |
4 |
INCLUDES= $(all_includes) |
AM_CXXFLAGS = -pedantic -Wreturn-type |
|
|
|
|
# the library search path. |
|
|
rifftree_SOURCES = rifftree.cpp |
|
|
lib_LIBRARIES = libgig.a |
|
|
libgig_a_SOURCES = RIFF.cpp RIFF.h DLS.cpp DLS.h gig.cpp gig.h |
|
|
rifftree_LDADD = $(top_builddir)/src/libgig.a |
|
|
gigdump_SOURCES = gigdump.cpp |
|
|
gigdump_LDADD = $(top_builddir)/src/libgig.a |
|
|
|
|
|
|
|
|
dlsdump_SOURCES = dlsdump.cpp |
|
|
dlsdump_LDADD = $(top_builddir)/src/libgig.a |
|
|
|
|
|
|
|
|
applnkApplicationdir = $(kde_appsdir)/Application |
|
|
gigextract_SOURCES = gigextract.cpp |
|
|
gigextract_LDADD = $(top_builddir)/src/libgig.a -ldl |
|
5 |
|
|
6 |
|
# link gigextract either against libaudiofile or libsndfile |
7 |
|
# (if both exist on the system, prefer libsndfile) |
8 |
|
if HAVE_SNDFILE |
9 |
|
gigextract_libs = $(SNDFILE_LIBS) |
10 |
|
gigextract_flags = $(SNDFILE_CFLAGS) |
11 |
|
else |
12 |
|
gigextract_libs = $(AUDIOFILE_LIBS) -ldl |
13 |
|
gigextract_flags = $(AUDIOFILE_CFLAGS) |
14 |
|
endif |
15 |
|
|
16 |
|
libgigincludedir = $(includedir) |
17 |
|
libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h |
18 |
|
|
19 |
|
lib_LTLIBRARIES = libgig.la |
20 |
|
libgig_la_SOURCES = RIFF.cpp DLS.cpp SF.cpp gig.cpp |
21 |
|
libgig_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ |
22 |
|
if WIN32 |
23 |
|
libgig_la_LIBADD = -lrpcrt4 |
24 |
|
endif |
25 |
|
|
26 |
|
bin_PROGRAMS = rifftree dlsdump gigdump gigextract sf2dump |
27 |
|
rifftree_SOURCES = rifftree.cpp |
28 |
|
rifftree_LDADD = libgig.la |
29 |
|
dlsdump_SOURCES = dlsdump.cpp |
30 |
|
dlsdump_LDADD = libgig.la |
31 |
|
gigdump_SOURCES = gigdump.cpp |
32 |
|
gigdump_LDADD = libgig.la |
33 |
|
gigextract_SOURCES = gigextract.cpp |
34 |
|
gigextract_LDADD = libgig.la $(gigextract_libs) |
35 |
|
gigextract_CFLAGS = $(gigextract_flags) |
36 |
|
gigextract_CXXFLAGS = $(gigextract_flags) |
37 |
|
sf2dump_SOURCES = sf2dump.cpp |
38 |
|
sf2dump_LDADD = libgig.la |
39 |
|
|
40 |
|
EXTRA_DIST = helper.h |