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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2182 - (show annotations) (download)
Sat Jun 11 17:53:24 2011 UTC (12 years, 10 months ago) by persson
File size: 1224 byte(s)
* Mac OS X fix: link with CoreFoundation (for the UUID function)

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 if MAC
26 libgig_la_LDFLAGS += -framework CoreFoundation
27 endif
28 bin_PROGRAMS = rifftree dlsdump gigdump gigextract sf2dump
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 sf2dump_SOURCES = sf2dump.cpp
40 sf2dump_LDADD = libgig.la
41
42 EXTRA_DIST = helper.h

  ViewVC Help
Powered by ViewVC