1 |
bin_PROGRAMS = rifftree gigdump dlsdump gigextract |
SUBDIRS = testcases |
|
|
|
|
# set the include path found by configure |
|
|
INCLUDES= $(all_includes) |
|
2 |
|
|
3 |
# to prevent compile errors on some systems |
# to prevent compile errors on some systems |
4 |
AM_CXXFLAGS = -pedantic |
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 |
|
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 Korg.h |
18 |
|
|
19 |
|
lib_LTLIBRARIES = libgig.la |
20 |
|
libgig_la_SOURCES = RIFF.cpp DLS.cpp SF.cpp gig.cpp Korg.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 |
|
if MAC |
26 |
|
libgig_la_LDFLAGS += -framework CoreFoundation |
27 |
|
endif |
28 |
|
bin_PROGRAMS = rifftree dlsdump gigdump gigextract gigmerge gig2mono sf2dump korgdump korg2gig |
29 |
|
rifftree_SOURCES = rifftree.cpp |
30 |
|
rifftree_LDADD = libgig.la |
31 |
|
dlsdump_SOURCES = dlsdump.cpp |
32 |
|
dlsdump_LDADD = libgig.la |
33 |
|
gigdump_SOURCES = gigdump.cpp |
34 |
|
gigdump_LDADD = libgig.la |
35 |
|
gigextract_SOURCES = gigextract.cpp |
36 |
|
gigextract_LDADD = libgig.la $(gigextract_libs) |
37 |
|
gigextract_CFLAGS = $(gigextract_flags) |
38 |
|
gigextract_CXXFLAGS = $(gigextract_flags) |
39 |
|
gigmerge_SOURCES = gigmerge.cpp |
40 |
|
gigmerge_LDADD = libgig.la |
41 |
|
gig2mono_SOURCES = gig2mono.cpp |
42 |
|
gig2mono_LDADD = libgig.la |
43 |
|
sf2dump_SOURCES = sf2dump.cpp |
44 |
|
sf2dump_LDADD = libgig.la |
45 |
|
korgdump_SOURCES = korgdump.cpp |
46 |
|
korgdump_LDADD = libgig.la |
47 |
|
korg2gig_SOURCES = korg2gig.cpp |
48 |
|
korg2gig_LDADD = libgig.la |
49 |
|
|
50 |
applnkApplicationdir = $(kde_appsdir)/Application |
EXTRA_DIST = helper.h |
|
gigextract_SOURCES = gigextract.cpp |
|
|
gigextract_LDADD = $(top_builddir)/src/libgig.a -ldl |
|