2 # Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2016
3 # Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 AUTOMAKE_OPTIONS = foreign
20 pkglib_LTLIBRARIES = libgnashsound.la
22 libgnashsound_la_SOURCES = \
26 StreamingSoundData.cpp \
27 StreamingSoundData.h \
44 libgnashsound_la_SOURCES += \
45 sdl/sound_handler_sdl.cpp \
46 sdl/sound_handler_sdl.h \
51 libgnashsound_la_SOURCES += \
52 aos4/sound_handler_ahi.cpp \
53 aos4/sound_handler_ahi.h \
58 libgnashsound_la_SOURCES += \
59 mkit/sound_handler_mkit.cpp \
60 mkit/sound_handler_mkit.h \
68 libgnashsound_la_CPPFLAGS = \
69 -I$(top_srcdir)/libbase \
70 -I$(top_srcdir)/libmedia \
71 -I$(top_srcdir)/libcore \
78 libgnashsound_la_LIBADD = $(top_builddir)/libmedia/libgnashmedia.la
80 libgnashsound_la_LIBADD =
83 libgnashsound_la_LIBADD += \
84 $(top_builddir)/libbase/libgnashbase.la \
90 libgnashsound_la_LIBADD += -lmedia
93 libgnashsound_la_LDFLAGS = -release $(VERSION)
96 libgnashsound_la_LDFLAGS += -no-undefined
97 libgnashsound_la_LIBADD += -lintl
100 AM_CXXFLAGS = $(CROSS_CXXFLAGS)
101 AM_LDFLAGS = $(CROSS_LDFLAGS)
104 AM_CXXFLAGS += $(PCH_FLAGS)
107 # Remove libtool .la files
109 $(RM) $(DESTDIR)$(libdir)/gnash/libgnashsound.la
112 $(RM) $(DESTDIR)$(libdir)/gnash/libgnashsound-*.so