2007-10-16 17:18:43 +02:00
|
|
|
SUBDIRS = activity bundle clipboard graphics presence datastore
|
2007-10-16 11:04:59 +02:00
|
|
|
|
|
|
|
sugardir = $(pythondir)/sugar
|
|
|
|
sugar_PYTHON = \
|
|
|
|
env.py \
|
|
|
|
network.py \
|
|
|
|
profile.py \
|
|
|
|
util.py \
|
|
|
|
wm.py
|
|
|
|
|
|
|
|
pkgpyexecdir = $(pythondir)/sugar
|
|
|
|
|
|
|
|
pkgpyexec_LTLIBRARIES = _sugarext.la
|
|
|
|
|
|
|
|
_sugarext_la_CFLAGS = \
|
2008-02-06 10:20:33 +01:00
|
|
|
$(EXT_CFLAGS) \
|
2007-10-16 11:04:59 +02:00
|
|
|
$(PYTHON_INCLUDES)
|
|
|
|
|
|
|
|
_sugarext_la_LDFLAGS = -module -avoid-version
|
2008-02-06 10:20:33 +01:00
|
|
|
_sugarext_la_LIBADD = $(EXT_LIBS)
|
2007-10-16 11:04:59 +02:00
|
|
|
|
|
|
|
_sugarext_la_SOURCES = \
|
|
|
|
$(BUILT_SOURCES) \
|
|
|
|
_sugarextmodule.c \
|
|
|
|
eggaccelerators.c \
|
|
|
|
eggaccelerators.h \
|
|
|
|
sexy-icon-entry.h \
|
|
|
|
sexy-icon-entry.c \
|
|
|
|
sugar-address-entry.c \
|
|
|
|
sugar-address-entry.h \
|
|
|
|
sugar-key-grabber.c \
|
|
|
|
sugar-key-grabber.h \
|
|
|
|
sugar-menu.h \
|
2007-11-04 16:20:54 +01:00
|
|
|
sugar-menu.c \
|
|
|
|
sugar-preview.h \
|
|
|
|
sugar-preview.c
|
2007-10-16 11:04:59 +02:00
|
|
|
|
2007-10-16 11:24:10 +02:00
|
|
|
BUILT_SOURCES = \
|
2007-10-16 11:04:59 +02:00
|
|
|
_sugarext.c \
|
|
|
|
sugar-marshal.c \
|
|
|
|
sugar-marshal.h
|
|
|
|
|
|
|
|
_sugarext.c: _sugarext.defs _sugarext.override
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
2007-10-16 11:24:10 +02:00
|
|
|
sugar-marshal.c: sugar-marshal.list
|
2007-10-16 11:04:59 +02:00
|
|
|
$(GLIB_GENMARSHAL) --prefix=sugar_marshal \
|
2007-10-16 11:24:10 +02:00
|
|
|
$(srcdir)/sugar-marshal.list --header --body > sugar-marshal.c
|
2007-10-16 11:04:59 +02:00
|
|
|
|
2007-10-16 11:24:10 +02:00
|
|
|
sugar-marshal.h: sugar-marshal.list
|
2007-10-16 11:04:59 +02:00
|
|
|
$(GLIB_GENMARSHAL) --prefix=sugar_marshal \
|
2007-10-16 11:24:10 +02:00
|
|
|
$(srcdir)/sugar-marshal.list --header > sugar-marshal.h
|
2007-10-16 11:04:59 +02:00
|
|
|
|
2007-10-16 11:24:10 +02:00
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
2007-10-16 11:04:59 +02:00
|
|
|
EXTRA_DIST = sugar-marshal.list _sugarext.defs _sugarext.override
|