sugar-toolkit-gtk3/lib/sugar/Makefile.am

64 lines
1.4 KiB
Makefile
Raw Normal View History

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 \
sound.py \
2007-10-16 11:04:59 +02:00
util.py \
wm.py
pkgpyexecdir = $(pythondir)/sugar
pkgpyexec_LTLIBRARIES = _sugarext.la
_sugarext_la_CFLAGS = \
$(LIB_CFLAGS) \
$(PYTHON_INCLUDES)
_sugarext_la_LDFLAGS = -module -avoid-version
_sugarext_la_LIBADD = $(LIB_LIBS)
_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-10-16 11:50:11 +02:00
sugar-menu.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