1
## Process this file with automake to generate Makefile.in
3
# Copyright (C) 2005, 2006, 2007, 2008 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
20
SUBDIRS = asobj parser vm
22
# noinst_LTLIBRARIES = libserver.la
23
pkglib_LTLIBRARIES = libgnashserver.la
24
# noinst_SCRIPTS = gen-files.sh
26
# TODO: use a conditional to optionally link ?
27
FREETYPE_SOURCES = FreetypeGlyphsProvider.h FreetypeGlyphsProvider.cpp
29
# Only enable if we're configured with --enable-mp3
31
-I$(top_srcdir)/backend \
32
-I$(top_srcdir)/server/swf \
33
-I$(top_srcdir)/server/asobj \
34
-I$(top_srcdir)/server/parser \
35
-I$(top_srcdir)/libltdl \
36
-I$(top_srcdir)/server/vm \
37
-I$(top_srcdir)/libbase \
38
-I$(top_srcdir)/libgeometry \
39
-I$(top_srcdir)/libmedia \
47
$(FONTCONFIG_CFLAGS) \
50
libgnashserver_la_SOURCES = \
51
BitmapMovieInstance.cpp \
54
URLAccessManager.cpp \
64
edit_text_character.cpp \
67
DropShadowFilter.cpp \
68
ConvolutionFilter.cpp \
69
ColorMatrixFilter.cpp \
70
GradientGlowFilter.cpp \
72
GradientBevelFilter.cpp \
73
parser/filter_factory.cpp \
74
generic_character.cpp \
81
swf/TagLoadersTable.cpp \
83
swf/DefineFontAlignZonesTag.cpp \
84
swf/PlaceObject2Tag.cpp \
85
swf/RemoveObjectTag.cpp \
86
swf/StartSoundTag.cpp \
88
video_stream_instance.cpp \
91
button_character_instance.cpp \
97
LoadVariablesThread.cpp \
106
$(FREETYPE_SOURCES) \
127
BitmapMovieInstance.h \
129
button_character_instance.h \
136
edit_text_character.h \
142
GradientBevelFilter.h \
144
GradientGlowFilter.h \
146
ConvolutionFilter.h \
147
ColorMatrixFilter.h \
148
parser/filter_factory.h \
151
generic_character.h \
154
LoadVariablesThread.h \
156
mouse_button_state.h \
168
swf/TagLoadersTable.h \
171
swf/DefineFontAlignZonesTag.h \
172
swf/PlaceObject2Tag.h \
173
swf/RemoveObjectTag.h \
174
swf/DisplayListTag.h \
176
swf/DoInitActionTag.h \
177
swf/SetBackgroundColorTag.h \
178
swf/StartSoundTag.h \
185
video_stream_instance.h \
188
libgnashserver_la_LIBADD = \
189
$(top_builddir)/libbase/libgnashbase.la \
190
$(top_builddir)/libmedia/libgnashmedia.la \
191
$(top_builddir)/server/asobj/libgnashasobjs.la \
192
$(top_builddir)/server/parser/libgnashparser.la \
193
$(top_builddir)/server/vm/libgnashvm.la \
202
AM_CPPFLAGS += $(GSTREAMER_CFLAGS) \
203
-I$(top_srcdir)/libmedia/gst
204
libgnashserver_la_LIBADD += $(GSTREAMER_LIBS)
208
AM_CPPFLAGS += $(FFMPEG_CFLAGS) \
209
-I$(top_srcdir)/libmedia/ffmpeg
212
# Enable building the Flash debugger
214
libgnashserver_la_SOURCES += debugger.cpp
217
#libserver_la_LIBDADD = #@DL_LIB@ # $(LIBLTDL)
218
libgnashserver_la_LDFLAGS = -release $(VERSION) -export-dynamic #-no-undefined
220
# Rebuild with GCC 4.x Mudflap support
222
@echo "Rebuilding with GCC Mudflap support"
223
$(MAKE) CXXFLAGS="$(CXXFLAGS) -fmudflap" LDFLAGS="$(LDFLAGS) -lmudflap"