Update with current status
[gnash.git] / gui / qt / qtopia3.am
blobec9cc278dc19a393331d12856aaa8e93d069aee3
1
2 #   Copyright (C) 2007, 2008, 2009, 2010, 2011 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
19 # Build the QTOPIA gui
20
21 if BUILD_QTOPIA3_GUI
22 bin_PROGRAMS += qtopia-gnash
24 qtopia_gnash_CPPFLAGS = -DGUI_QTOPIA -DGUI_CONFIG=\"QTOPIA\" \
25          $(AM_CPPFLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
26 qtopia_gnash_SOURCES = $(GUI_SRCS) qt/gui_kde.cpp
27 qtopia_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
28 #qtopia_gnash_DEPENDENCIES = .configline
29 qtopia_gnash_LDADD = \
30         $(GNASH_LIBS) \
31         $(AM_LDFLAGS)
32 if BUILD_OGL_RENDERER
33 qtopia_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
34 qtopia_gnash_LDADD += $(top_builddir)/librender/libgnashogl.la \
35         $(KDE_LIBS) $(QTOPIA_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
36 qtopia_gnash_SOURCES += qt/kde_glue_opengl.cpp qt/kde_glue_opengl.h qt/kde_glue.h \
37                 qt/kde.cpp qt/kdesup.h qt/kde_glue.h
38 endif
39 if BUILD_AGG_RENDERER
40 qtopia_gnash_CPPFLAGS += $(AGG_CFLAGS)
41 qtopia_gnash_LDADD += $(top_builddir)/librender/libgnashagg.la \
42         $(KDE_LIBS) $(QTOPIA_LIBS) $(QT_LIBS) $(AGG_LIBS)
43 qtopia_gnash_SOURCES += qt/kde_glue_agg.cpp qt/kde_glue_agg.h \
44                 qt/kde.cpp qt/kdesup.h qt/kde_glue.h
45 endif
46 endif