Enlightenment CVS committal Author : doursse Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: Edje.h Edje_Edit.h Makefile.am Log Message: fix autotools stuff for Windows =================================================================== RCS file: /cvs/e/e17/libs/edje/src/lib/Edje.h,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- Edje.h 17 Apr 2008 10:22:57 -0000 1.53 +++ Edje.h 31 May 2008 06:10:58 -0000 1.54 @@ -4,14 +4,19 @@ #include <Evas.h> #ifdef EAPI -#undef EAPI +# undef EAPI #endif -#ifdef _MSC_VER -# ifdef BUILDING_DLL -# define EAPI __declspec(dllexport) + +#ifdef _WIN32 +# ifdef EFL_EDJE_BUILD +# ifdef DLL_EXPORT +# define EAPI __declspec(dllexport) +# else +# define EAPI +# endif /* ! DLL_EXPORT */ # else # define EAPI __declspec(dllimport) -# endif +# endif /* ! EFL_EDJE_BUILD */ #else # ifdef __GNUC__ # if __GNUC__ >= 4 =================================================================== RCS file: /cvs/e/e17/libs/edje/src/lib/Edje_Edit.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- Edje_Edit.h 1 Apr 2008 21:33:17 -0000 1.24 +++ Edje_Edit.h 31 May 2008 06:10:58 -0000 1.25 @@ -4,14 +4,19 @@ #include <Evas.h> #ifdef EAPI -#undef EAPI +# undef EAPI #endif -#ifdef _MSC_VER -# ifdef BUILDING_DLL -# define EAPI __declspec(dllexport) + +#ifdef _WIN32 +# ifdef EFL_EDJE_BUILD +# ifdef DLL_EXPORT +# define EAPI __declspec(dllexport) +# else +# define EAPI +# endif /* ! DLL_EXPORT */ # else # define EAPI __declspec(dllimport) -# endif +# endif /* ! EFL_EDJE_BUILD */ #else # ifdef __GNUC__ # if __GNUC__ >= 4 =================================================================== RCS file: /cvs/e/e17/libs/edje/src/lib/Makefile.am,v retrieving revision 1.42 retrieving revision 1.43 diff -u -3 -r1.42 -r1.43 --- Makefile.am 30 May 2008 11:20:49 -0000 1.42 +++ Makefile.am 31 May 2008 06:10:58 -0000 1.43 @@ -41,7 +41,7 @@ edje_edit.c \ edje_script_only.c -libedje_la_LIBADD = -lm @EDJE_LIBS@ +libedje_la_CFLAGS = @WIN32_CFLAGS@ +libedje_la_LIBADD = @EDJE_LIBS@ -lm libedje_la_DEPENDENCIES = $(top_builddir)/config.h -libedje_la_LDFLAGS = @create_shared_lib@ -version-info @version_info@ - +libedje_la_LDFLAGS = @lt_no_undefined@ @lt_enable_auto_import@ -version-info @version_info@ ------------------------------------------------------------------------- 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