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 \
|
|
|
|
profile.py \
|
2006-08-12 23:35:52 +02:00
|
|
|
util.py
|
2007-05-21 17:36:08 +02:00
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
$(LIB_CFLAGS) \
|
|
|
|
$(LIB_BINDINGS_CFLAGS) \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/lib
|
|
|
|
|
|
|
|
pkgpyexecdir = $(pythondir)/sugar
|
|
|
|
|
|
|
|
pkgpyexec_LTLIBRARIES = _sugarext.la
|
|
|
|
|
|
|
|
_sugarext_la_LDFLAGS = -module -avoid-version
|
|
|
|
_sugarext_la_LIBADD = \
|
|
|
|
$(LIB_BINDINGS_LIBS) \
|
|
|
|
$(LIB_LIBS) \
|
|
|
|
$(top_builddir)/lib/libsugar.la
|
|
|
|
|
|
|
|
_sugarext_la_SOURCES = \
|
|
|
|
_sugarextmodule.c
|
|
|
|
|
|
|
|
nodist__sugarext_la_SOURCES = _sugarext.c
|
|
|
|
|
|
|
|
_sugarext.c: _sugarext.defs _sugarext.override
|
|
|
|
|
|
|
|
CLEANFILES = _sugarext.c
|
|
|
|
EXTRA_DIST = _sugarext.override _sugarext.defs
|
|
|
|
|
|
|
|
.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
|