Changeset 527

Show
Ignore:
Timestamp:
06/15/06 14:42:02
Author:
pvanhoof
Message:

Added two platform targets

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configure.ac

    r503 r527  
    111111[case "${with_platform}" in 
    112112  gnome-desktop) PLATFORMDIR=libtinymail-gnome-desktop ;; 
     113  olpc) PLATFORMDIR=libtinymail-olpc ;; 
     114  maemo) PLATFORMDIR=libtinymail-maemo ;; 
    113115  *) PLATFORMDIR=${with_platform} 
    114116esac], [PLATFORMDIR=libtinymail-gnome-desktop 
     
    173175AC_SUBST(LIBTINYMAIL_GNOME_DESKTOP_LIBS) 
    174176 
     177 
     178dnl ### libtinymail-olpc, a platform library implementation for the One Laptop Per Child device ## 
     179if test x$PLATFORMDIR = xlibtinymail-olpc; then 
     180 PKG_CHECK_MODULES(LIBTINYMAIL_OLPC, gconf-2.0 glib-2.0 >= 2.8 gobject-2.0 gconf-2.0 gtk+-2.0) 
     181else 
     182 LIBTINYMAIL_OLPC_CFLAGS= 
     183 LIBTINYMAIL_OLPC_LIBS= 
     184fi 
     185AC_SUBST(LIBTINYMAIL_OLPC_CFLAGS) 
     186AC_SUBST(LIBTINYMAIL_OLPC_LIBS) 
     187               
     188 
     189dnl ### libtinymail-olpc, a platform library implementation for the maemo platform ## 
     190if test x$PLATFORMDIR = xlibtinymail-maemo; then 
     191 PKG_CHECK_MODULES(LIBTINYMAIL_MAEMO, gconf-2.0 glib-2.0 >= 2.8 gobject-2.0 gconf-2.0 gtk+-2.0) 
     192else 
     193 LIBTINYMAIL_MAEMO_CFLAGS= 
     194 LIBTINYMAIL_MAEMO_LIBS= 
     195fi 
     196AC_SUBST(LIBTINYMAIL_OLPC_MAEMO) 
     197AC_SUBST(LIBTINYMAIL_OLPC_MAEMO) 
     198 
    175199AC_SUBST(extraplatpkgs) 
    176200AC_SUBST(extragtkpkgs) 
     
    195219if test x$build_pytinymail = xtrue; then 
    196220  AM_PATH_PYTHON(2.3) 
    197   AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) 
     221  dnl AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) 
    198222  AC_PATH_PROG(PYGTK_CODEGEN, pygtk-codegen-2.0, no) 
    199223  if test "x$PYGTK_CODEGEN" = xno; then 
     
    239263libtinymail-gnome-desktop/Makefile 
    240264libtinymail-gnome-desktop/libtinymail-gnome-desktop.pc 
     265libtinymail-olpc/Makefile 
     266libtinymail-olpc/libtinymail-olpc.pc 
     267libtinymail-maemo/Makefile 
     268libtinymail-maemo/libtinymail-maemo.pc 
    241269libtinymail-test/Makefile 
    242270tinymail/Makefile 
  • trunk/tinymail/Makefile.am

    r379 r527  
    55        -I$(top_srcdir)/libtinymailui-gtk               \ 
    66        -I$(top_srcdir)/libtinymail-camel               \ 
    7         -I$(top_srcdir)/libtinymail-gnome-desktop     \ 
     7        -I$(top_srcdir)/$(PLATFORMDIR)                \ 
    88        -DASYNC_HEADERS 
    99 
     
    3030        $(top_builddir)/libtinymailui-gtk/libtinymailui-gtk-$(API_VERSION).la   \ 
    3131        $(top_builddir)/libtinymail-camel/libtinymail-camel-$(API_VERSION).la   \ 
    32         $(top_builddir)/libtinymail-gnome-desktop/libtinymail-gnome-desktop-$(API_VERSION).la 
     32        $(top_builddir)/$(PLATFORMDIR)/$(PLATFORMDIR)-$(API_VERSION).la