Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet


Modified Files:
        INSTALL configure.in 


Log Message:
 * define EAPI on Windows according to the following scheme:
   - if Eet is built:
     . if the shared lib is built, EAPI must be __declspec(dllexport)
     . if the static lib is built, EAPI must be empty
   - otherwise EAPI must be __declspec(dllimport)
 * move config.h from Eet_private.h to source files so that
   EAPI is correctly defined in Eet.h
 * add notes for compilation with cegcc and mingw32ce in INSTALL
 * add support for compilation with cegcc
 * add indentation information for vi
 * remove trailing spaces

===================================================================
RCS file: /cvs/e/e17/libs/eet/INSTALL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- INSTALL     20 Jan 2007 15:20:23 -0000      1.3
+++ INSTALL     8 Mar 2008 07:28:12 -0000       1.4
@@ -2,9 +2,9 @@
 
 If you got a official release tar archive do:
     ./configure
-    
+
 ( otherwise if you got this from enlightenment cvs do: ./autogen.sh )
-    
+
 Then to compile:
     make
 
@@ -13,7 +13,29 @@
 
 NOTE: You MUST make install Eet for it to run properly.
 
-NOTE: for compilation with MinGW, fnmatch.h is probably missing.
+NOTE: For compilation with MinGW, fnmatch.h is probably missing.
       That file can be found here:
 http://www.koders.com/c/fid2B518462CB1EED3D4E31E271DB83CD1582F6EEBE.aspx
       It should be installed in the mingw include directory.
+
+NOTE: For compilation with mingw32ce, run configure with the option
+
+--host=arm-wince-mingw32ce
+
+NOTE: For compilation with cegcc, you have to do the following steps:
+
+1) After having run autogen.sh, add in config.sub file:
+
+       cegcc)
+               basic_machine=arm-unknown
+               os=-cegcc
+               ;;
+
+after the mingw32ce case
+
+2) in config.sub, add -cegcc* after -pe*. You should have a line like:
+             | -cygwin* | -pe* | -cegcc* | -psos* | -moss* | -proelf* | 
-rtems* \
+
+3) run configure with the option
+
+--host=arm-wince-cegcc
===================================================================
RCS file: /cvs/e/e17/libs/eet/configure.in,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -3 -r1.85 -r1.86
--- configure.in        2 Mar 2008 06:49:48 -0000       1.85
+++ configure.in        8 Mar 2008 07:28:12 -0000       1.86
@@ -30,17 +30,30 @@
 
 AC_FUNC_ALLOCA
 
-win32_libs=""
+WIN32_CFLAGS=""
+WIN32_LIBS=""
 create_shared_lib=""
 case "$host_os" in
        mingw|mingw32)
                PKG_CHECK_MODULES([EVIL], [evil])
                AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
-               win32_libs="-lws2_32"
+               dnl needed for correct definition of EAPI
+               AC_DEFINE(EFL_EET_BUILD, 1, [Define to mention that eet is 
built])
+               WIN32_LIBS="-lws2_32"
+               create_shared_lib="-no-undefined "
+               ;;
+       cegcc)
+               PKG_CHECK_MODULES([EVIL], [evil])
+               AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
+               dnl needed for correct definition of EAPI
+               AC_DEFINE(EFL_EET_BUILD, 1, [Define to mention that eet is 
built])
+               WIN32_CFLAGS="-mwin32"
+               WIN32_LIBS="-lws2"
                create_shared_lib="-no-undefined "
                ;;
 esac
-AC_SUBST(win32_libs)
+AC_SUBST(WIN32_CFLAGS)
+AC_SUBST(WIN32_LIBS)
 AC_SUBST(create_shared_lib)
 
 AC_CHECK_HEADER(zlib.h,, AC_MSG_ERROR("Cannot find zlib.h. Make sure your 
CFLAGS environment variable contains include lines for the location of this 
file"))



-------------------------------------------------------------------------
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