don't add (LIBLTDL) to LDFLAGS, libltdl is part of libgnashbase.
[gnash.git] / gui / aos4 / aos4.am
blob781c217a392e7430b9b4baa7d9cb18a06a6da90a
1
2 #   Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
3
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
18 EXTRA_DIST += aos4/aos4_ogl_glue.cpp aos4/aos4_ogl_glue.h
21 # Build the AOS4 gui
23 if BUILD_AMIGAOS4_GUI
24 bin_PROGRAMS += aos4-gnash
25 aos4_gnash_CPPFLAGS = -DGUI_AOS4 -DGUI_CONFIG=\"AOS4\" \
26          $(AM_CPPFLAGS) $(AOS4_CFLAGS) 
27 aos4_gnash_SOURCES = $(GUI_SRCS) \
28     aos4/aos4_gnash_prefs.cpp \
29     aos4/aos4_gnash_prefs.h \
30     aos4/gui_aos4.cpp \
31     aos4/aos4.cpp \
32     aos4/aos4sup.h \
33     aos4/aos4_glue.h 
34 aos4_gnash_LDFLAGS = -export-dynamic 
35 #aos4_gnash_DEPENDENCIES = .configline
36 aos4_gnash_LDADD = \
37         $(top_builddir)/librender/libgnashrender.la \
38         $(MYSQL_LIBS) \
39         $(GNASH_LIBS) \
40         $(AM_LDFLAGS) \
41         $(AOS4_LIBS)
43 # if BUILD_OGL_RENDERER
44 # aos4_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
45 #       $(OPENGL_LIBS)
46 # aos4_gnash_SOURCES += aos4/aos4_ogl_glue.cpp aos4/aos4_ogl_glue.h 
47 # endif
49 if BUILD_AGG_RENDERER
50 aos4_gnash_CPPFLAGS += $(AGG_CFLAGS)
51 aos4_gnash_LDADD += $(AGG_LIBS)
52 aos4_gnash_SOURCES += aos4/aos4_agg_glue.cpp aos4/aos4_agg_glue.h 
53 endif
55 if BUILD_CAIRO_RENDERER
56 aos4_gnash_CPPFLAGS += $(CAIRO_CFLAGS)
57 aos4_gnash_LDADD += $(CAIRO_LIBS) 
58 aos4_gnash_SOURCES += aos4/aos4_cairo_glue.cpp aos4/aos4_cairo_glue.h 
59 endif
60 endif