2 # Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
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.
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
22 bin_PROGRAMS += fb-gnash
23 fb_gnash_SOURCES = $(GUI_SRCS) \
30 -DFAKEFB=\"$(FAKEFB)\" \
32 fb_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic
40 # Build support for AntiGrain.
42 fb_gnash_SOURCES += fb/fb_glue_agg.cpp fb/fb_glue_agg.h
43 fb_gnash_CPPFLAGS += $(AGG_CFLAGS)
44 fb_gnash_LDADD += $(AGG_LIBS)
45 endif # BUILD_AGG_RENDERER
47 # Build support for OpenVG.
49 fb_gnash_SOURCES += fb/fb_glue_ovg.cpp fb/fb_glue_ovg.h
50 fb_gnash_CPPFLAGS += \
53 fb_gnash_LDADD += $(OPENVG_LIBS) $(EGL_LIBS)
54 endif # BUILD_OVG_RENDERER
57 fb_gnash_LDADD += -lui -llog
60 # # This supports only OpenGLES 1.1 with EGL support.
61 # if BUILD_GLES1_RENDERER
62 # fb_gnash_SOURCES += fb/fb_glue_gles1.cpp fb/fb_glue_gles1.h
63 # fb_gnash_CPPFLAGS += $(GLES1_CFLAGS) $(EGL_CFLAGS)
64 # fb_gnash_LDADD += $(GLES1_LIBS) $(EGL_LIBS)
65 # endif # BUILD_GLES1_RENDERER
67 # # This supports only OpenGLES 2 with EGL support.
68 # if BUILD_GLES2_RENDERER
69 # fb_gnash_SOURCES += fb/fb_glue_gles2.cpp fb/fb_glue_gles2.h
70 # fb_gnash_CPPFLAGS += $(GLES2_CFLAGS) $(EGL_CFLAGS)
71 # fb_gnash_LDADD += $(GLES2_LIBS) $(EGL_LIBS)
72 # endif # BUILD_GLES2_RENDERER