2007-04-15 12:16:06 +02:00
|
|
|
sugardir = $(pkgdatadir)/shell/extensions
|
2007-04-07 00:08:54 +02:00
|
|
|
sugar_PYTHON = \
|
|
|
|
__init__.py
|
|
|
|
|
2007-04-15 12:16:06 +02:00
|
|
|
pkgpyexecdir = $(pkgdatadir)/shell/extensions
|
2007-04-07 00:08:54 +02:00
|
|
|
|
2007-04-15 12:16:06 +02:00
|
|
|
pkgpyexec_LTLIBRARIES = _extensions.la
|
2007-04-07 00:08:54 +02:00
|
|
|
|
2007-04-15 12:16:06 +02:00
|
|
|
_extensions_la_LDFLAGS = -module -avoid-version
|
2007-04-07 00:08:54 +02:00
|
|
|
|
2007-05-10 19:16:27 +02:00
|
|
|
_extensions_la_CFLAGS = \
|
|
|
|
$(PYTHON_INCLUDES) \
|
|
|
|
$(SHELL_CFLAGS) \
|
|
|
|
-I$(top_srcdir)/shell/extensions
|
2007-04-07 00:08:54 +02:00
|
|
|
|
2007-04-15 12:16:06 +02:00
|
|
|
_extensions_la_LIBADD = \
|
2007-04-07 00:08:54 +02:00
|
|
|
$(SHELL_LIBS) \
|
|
|
|
-lgstinterfaces-0.10 \
|
|
|
|
-lgstaudio-0.10
|
|
|
|
|
2007-04-15 12:16:06 +02:00
|
|
|
_extensions_la_SOURCES = \
|
2007-04-07 00:08:54 +02:00
|
|
|
$(BUILT_SOURCES) \
|
|
|
|
eggaccelerators.h \
|
|
|
|
eggaccelerators.c \
|
|
|
|
sugar-key-grabber.h \
|
|
|
|
sugar-key-grabber.c \
|
2007-04-15 12:16:06 +02:00
|
|
|
_extensionsmodule.c
|
2007-04-07 00:08:54 +02:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2007-04-15 12:16:06 +02:00
|
|
|
_extensions.c \
|
2007-04-07 00:08:54 +02:00
|
|
|
sugar-shell-marshal.c \
|
|
|
|
sugar-shell-marshal.h
|
|
|
|
|
|
|
|
stamp_files = \
|
|
|
|
stamp-sugar-shell-marshal.c \
|
|
|
|
stamp-sugar-shell-marshal.h
|
|
|
|
|
|
|
|
sugar-shell-marshal.c: stamp-sugar-shell-marshal.c
|
|
|
|
@true
|
|
|
|
stamp-sugar-shell-marshal.c: sugar-shell-marshal.list
|
|
|
|
$(GLIB_GENMARSHAL) --prefix=sugar_shell_marshal \
|
|
|
|
$(srcdir)/sugar-shell-marshal.list --header --body > \
|
|
|
|
sugar-shell-marshal.c && echo timestamp > $(@F)
|
|
|
|
|
|
|
|
sugar-shell-marshal.h: stamp-sugar-shell-marshal.h
|
|
|
|
@true
|
|
|
|
stamp-sugar-shell-marshal.h: sugar-shell-marshal.list
|
|
|
|
$(GLIB_GENMARSHAL) --prefix=sugar_shell_marshal \
|
|
|
|
$(srcdir)/sugar-shell-marshal.list --header > \
|
|
|
|
sugar-shell-marshal.h && echo timestamp > $(@F)
|
|
|
|
|
|
|
|
CLEANFILES = $(stamp_files) $(BUILT_SOURCES)
|
|
|
|
DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
|
|
|
|
MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
|
|
|
|
|
2007-05-10 18:55:29 +02:00
|
|
|
EXTRA_DIST = sugar-shell-marshal.list _extensions.override _extensions.defs
|
2007-04-07 00:08:54 +02:00
|
|
|
|
2007-04-15 12:16:06 +02:00
|
|
|
extensions.c: _extensions.defs _extensions.override
|
2007-04-07 00:08:54 +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
|