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

83 lines
1.8 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 \
session.py \
2007-10-16 11:04:59 +02:00
util.py \
wm.py
pkgpyexecdir = $(pythondir)/sugar
pkgpyexec_LTLIBRARIES = _sugarext.la
_sugarext_la_CFLAGS = \
$(EXT_CFLAGS) \
2007-10-16 11:04:59 +02:00
$(PYTHON_INCLUDES)
_sugarext_la_LDFLAGS = -module -avoid-version
_sugarext_la_LIBADD = $(EXT_LIBS) -lSM -lICE
2007-10-16 11:04:59 +02:00
_sugarext_la_SOURCES = \
$(BUILT_SOURCES) \
_sugarextmodule.c \
gsm-app.h \
gsm-app.c \
gsm-client.h \
gsm-client.c \
gsm-client-xsmp.h \
gsm-client-xsmp.c \
gsm-xsmp.h \
gsm-xsmp.c \
gsm-session.h \
gsm-session.c \
2007-10-16 11:04:59 +02:00
eggaccelerators.c \
eggaccelerators.h \
eggdesktopfile.h \
eggdesktopfile.c \
eggsmclient.h \
eggsmclient.c \
eggsmclient-private.h \
eggsmclient-xsmp.c \
2007-10-16 11:04:59 +02:00
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 \
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 \
2007-10-16 11:04:59 +02:00
--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