/[svn]/libgig/trunk/src/Makefile.am
ViewVC logotype

Contents of /libgig/trunk/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2133 - (show annotations) (download)
Tue Sep 28 19:41:13 2010 UTC (13 years, 6 months ago) by persson
File size: 1165 byte(s)
* minor Makefile fix for parallel make

1 SUBDIRS = testcases
2
3 # to prevent compile errors on some systems
4 AM_CXXFLAGS = -pedantic -Wreturn-type
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

  ViewVC Help
Powered by ViewVC