|
SUBDIRS = testcases |
|
|
|
|
1 |
# to prevent compile errors on some systems |
# to prevent compile errors on some systems |
2 |
AM_CXXFLAGS = -pedantic -Wreturn-type |
AM_CXXFLAGS = -pedantic -Wreturn-type |
3 |
|
|
|
# link gigextract either against libaudiofile or libsndfile |
|
|
# (if both exist on the system, prefer libsndfile) |
|
|
if HAVE_SNDFILE |
|
|
gigextract_libs = $(SNDFILE_LIBS) |
|
|
gigextract_flags = $(SNDFILE_CFLAGS) |
|
|
else |
|
|
gigextract_libs = $(AUDIOFILE_LIBS) -ldl |
|
|
gigextract_flags = $(AUDIOFILE_CFLAGS) |
|
|
endif |
|
|
|
|
4 |
libgigincludedir = $(includedir) |
libgigincludedir = $(includedir) |
5 |
libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h |
libgiginclude_HEADERS = RIFF.h DLS.h SF.h gig.h Korg.h |
6 |
|
|
7 |
lib_LTLIBRARIES = libgig.la |
pkglib_LTLIBRARIES = libgig.la |
8 |
libgig_la_SOURCES = RIFF.cpp DLS.cpp SF.cpp gig.cpp Korg.cpp |
libgig_la_SOURCES = RIFF.cpp DLS.cpp SF.cpp gig.cpp Korg.cpp |
9 |
libgig_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ |
libgig_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@ |
10 |
if WIN32 |
if WIN32 |
13 |
if MAC |
if MAC |
14 |
libgig_la_LDFLAGS += -framework CoreFoundation |
libgig_la_LDFLAGS += -framework CoreFoundation |
15 |
endif |
endif |
|
bin_PROGRAMS = rifftree dlsdump gigdump gigextract gigmerge gig2mono sf2dump korgdump korg2gig |
|
|
rifftree_SOURCES = rifftree.cpp |
|
|
rifftree_LDADD = libgig.la |
|
|
dlsdump_SOURCES = dlsdump.cpp |
|
|
dlsdump_LDADD = libgig.la |
|
|
gigdump_SOURCES = gigdump.cpp |
|
|
gigdump_LDADD = libgig.la |
|
|
gigextract_SOURCES = gigextract.cpp |
|
|
gigextract_LDADD = libgig.la $(gigextract_libs) |
|
|
gigextract_CFLAGS = $(gigextract_flags) |
|
|
gigextract_CXXFLAGS = $(gigextract_flags) |
|
|
gigmerge_SOURCES = gigmerge.cpp |
|
|
gigmerge_LDADD = libgig.la |
|
|
gig2mono_SOURCES = gig2mono.cpp |
|
|
gig2mono_LDADD = libgig.la |
|
|
sf2dump_SOURCES = sf2dump.cpp |
|
|
sf2dump_LDADD = libgig.la |
|
|
korgdump_SOURCES = korgdump.cpp |
|
|
korgdump_LDADD = libgig.la |
|
|
korg2gig_SOURCES = korg2gig.cpp |
|
|
korg2gig_LDADD = libgig.la |
|
16 |
|
|
17 |
EXTRA_DIST = helper.h |
EXTRA_DIST = helper.h |
18 |
|
|
19 |
|
SUBDIRS = . tools testcases |