Enlightenment CVS committal

Author  : barbieri
Project : e17
Module  : apps/expedite

Dir     : e17/apps/expedite/src/bin


Modified Files:
        Makefile.am main.c main.h 
Added Files:
        engine_directfb.c engine_directfb.h 


Log Message:
Add initial DirectFB support.

===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- Makefile.am 10 Nov 2007 23:23:08 -0000      1.11
+++ Makefile.am 25 Feb 2008 06:08:34 -0000      1.12
@@ -2,7 +2,7 @@
 INCLUDES = -I$(includedir) \
           -I$(top_srcdir) \
           -I$(top_srcdir)/src/bin \
-          @EVAS_CFLAGS@ @x_cflags@ @SDL_CFLAGS@ \
+          @EVAS_CFLAGS@ @x_cflags@ @SDL_CFLAGS@ @DIRECTFB_CFLAGS@ \
           -DPACKAGE_BIN_DIR=\"@[EMAIL PROTECTED]" \
           -DPACKAGE_LIB_DIR=\"@[EMAIL PROTECTED]" \
           -DPACKAGE_DATA_DIR=\"@[EMAIL PROTECTED]"
@@ -53,7 +53,7 @@
 image_blend_occlude3_very_many.c \
 poly_blend.c
 
-expedite_LDFLAGS = @EVAS_LIBS@ @SDL_LIBS@ @x_libs@ @ddraw_libs@ 
@ddraw_16_libs@ @d3d_libs@ @glew_libs@ -lm
+expedite_LDFLAGS = @EVAS_LIBS@ @SDL_LIBS@ @x_libs@ @ddraw_libs@ 
@ddraw_16_libs@ @d3d_libs@ @glew_libs@ @DIRECTFB_LIBS@ -lm
 
 if BUILD_SOFTWARE_X11
 expedite_SOURCES += \
@@ -103,5 +103,10 @@
 if BUILD_FB
 expedite_SOURCES += \
 engine_fb.c engine_fb.h
+endif
+
+if BUILD_DIRECTFB
+expedite_SOURCES += \
+engine_directfb.c engine_directfb.h
 endif
 
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/main.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- main.c      7 Dec 2007 21:41:31 -0000       1.18
+++ main.c      25 Feb 2008 06:08:34 -0000      1.19
@@ -1203,6 +1203,10 @@
    if (engine_fb_args(argc, argv))
      loop_func = engine_fb_loop;
 #endif
+#if HAVE_EVAS_DIRECTFB
+   if (engine_directfb_args(argc, argv))
+     loop_func = engine_directfb_loop;
+#endif
    if ((!loop_func) || (!profile_ok))
      {
        fprintf(stderr,
@@ -1244,6 +1248,9 @@
 #endif
 #if HAVE_EVAS_FB
                " fb"
+#endif
+#if HAVE_EVAS_DIRECTFB
+               " directfb"
 #endif
                "\n"
                "Where PROFILE can be one of:\n"
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/main.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- main.h      13 Nov 2007 06:00:33 -0000      1.10
+++ main.h      25 Feb 2008 06:08:34 -0000      1.11
@@ -44,6 +44,9 @@
 #if HAVE_EVAS_FB
 #include "engine_fb.h"
 #endif
+#if HAVE_EVAS_DIRECTFB
+#include "engine_directfb.h"
+#endif
 #include "ui.h"
 #include "about.h"
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to