2007-05-23 12:37:15 +02:00
|
|
|
SUBDIRS = activity clipboard graphics objects presence datastore
|
2006-05-12 08:34:20 +02:00
|
|
|
|
|
|
|
sugardir = $(pythondir)/sugar
|
2007-04-15 15:06:04 +02:00
|
|
|
sugar_PYTHON = \
|
|
|
|
__init__.py \
|
|
|
|
date.py \
|
|
|
|
env.py \
|
|
|
|
logger.py \
|
|
|
|
ltihooks.py \
|
2007-06-05 13:53:07 +02:00
|
|
|
network.py \
|
2007-04-15 15:06:04 +02:00
|
|
|
profile.py \
|
2007-06-01 20:38:30 +02:00
|
|
|
util.py \
|
2007-06-01 21:21:30 +02:00
|
|
|
wm.py
|
2007-05-21 17:36:08 +02:00
|
|
|
|
|
|
|
pkgpyexecdir = $(pythondir)/sugar
|
|
|
|
|
2007-07-27 20:15:31 +02:00
|
|
|
pkgpyexec_LTLIBRARIES = _sugarext.la _sugaruiext.la
|
2007-05-21 17:36:08 +02:00
|
|
|
|
2007-08-11 01:00:53 +02:00
|
|
|
_sugarext_la_CFLAGS = \
|
|
|
|
$(LIB_CFLAGS) \
|
|
|
|
$(LIB_BINDINGS_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/lib
|
|
|
|
|
2007-05-21 17:36:08 +02:00
|
|
|
_sugarext_la_LDFLAGS = -module -avoid-version
|
2007-07-27 20:15:31 +02:00
|
|
|
_sugarext_la_LIBADD = \
|
|
|
|
$(LIB_BINDINGS_LIBS) \
|
2007-05-21 17:36:08 +02:00
|
|
|
$(top_builddir)/lib/libsugar.la
|
|
|
|
|
|
|
|
_sugarext_la_SOURCES = \
|
|
|
|
_sugarextmodule.c
|
|
|
|
|
|
|
|
nodist__sugarext_la_SOURCES = _sugarext.c
|
|
|
|
|
|
|
|
_sugarext.c: _sugarext.defs _sugarext.override
|
|
|
|
|
2007-08-11 01:00:53 +02:00
|
|
|
_sugaruiext_la_CFLAGS = \
|
|
|
|
$(LIBUI_CFLAGS) \
|
|
|
|
$(LIBUI_BINDINGS_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/lib/ui
|
|
|
|
|
2007-07-27 20:15:31 +02:00
|
|
|
_sugaruiext_la_LDFLAGS = -module -avoid-version
|
|
|
|
_sugaruiext_la_LIBADD = \
|
2007-08-11 01:00:53 +02:00
|
|
|
$(LIBUI_BINDINGS_LIBS) \
|
|
|
|
$(LIBUI_LIBS) \
|
2007-07-27 20:15:31 +02:00
|
|
|
$(top_builddir)/lib/ui/libsugarui.la
|
|
|
|
|
|
|
|
_sugaruiext_la_SOURCES = \
|
|
|
|
_sugaruiextmodule.c
|
|
|
|
|
|
|
|
nodist__sugaruiext_la_SOURCES = _sugaruiext.c
|
|
|
|
|
|
|
|
_sugaruiext.c: _sugaruiext.defs _sugaruiext.override
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
_sugarext.c \
|
|
|
|
_sugaruiext.c
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
_sugarext.override \
|
|
|
|
_sugarext.defs \
|
|
|
|
_sugaruiext.defs \
|
|
|
|
_sugaruiext.override
|
2007-05-21 17:36:08 +02:00
|
|
|
|
|
|
|
.defs.c:
|
|
|
|
(cd $(srcdir)\
|
|
|
|
&& $(PYGTK_CODEGEN) \
|
|
|
|
--register $(PYGTK_DEFSDIR)/gdk-types.defs \
|
|
|
|
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
|
|
|
|
--override $*.override \
|
|
|
|
--prefix py$* $*.defs) > gen-$*.c \
|
|
|
|
&& cp gen-$*.c $*.c \
|
|
|
|
&& rm -f gen-$*.c
|