1 ## Process this file with automake to generate Makefile.in
3 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011 Free Software Foundation, Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 pkglib_LTLIBRARIES = libgnashamf.la
23 libgnashamf_la_SOURCES = \
32 libgnashamf_la_LIBADD = \
33 $(top_builddir)/libbase/libgnashbase.la
35 libgnashamf_la_LDFLAGS = -release $(VERSION) ${AM_LDFLAGS}
38 libgnashamf_la_LDFLAGS += -no-undefined
39 libgnashamf_la_LIBADD += -lws2_32 -lintl
42 # noinst_HEADERS = amf.h amfutf8.h
45 -I$(top_srcdir)/cygnal/libamf \
46 -I$(top_srcdir)/cygnal/libnet \
47 -I$(top_srcdir)/libcore \
48 -I$(top_srcdir)/libbase \
52 AM_LDFLAGS = $(BOOST_LIBS)
66 AM_CXXFLAGS = $(PCH_FLAGS)
69 # Rebuild with GCC 4.x Mudflap support
71 @echo "Rebuilding with GCC Mudflap support"
72 $(MAKE) CXXFLAGS="$(CXXFLAGS) -fmudflap" LDFLAGS="$(LDFLAGS) -lmudflap"
77 # Remove libtool .la files
79 $(RM) $(DESTDIR)$(libdir)/gnash/libgnashamf.la