2006-10-04 02:10:49 +02:00
|
|
|
SUBDIRS = common
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
trayicon.c
|
|
|
|
INCLUDES = \
|
|
|
|
$(PYTHON_INCLUDES)
|
|
|
|
|
2006-10-04 14:22:37 +02:00
|
|
|
if BUILD_GTKSPELL
|
2006-10-04 02:10:49 +02:00
|
|
|
gtkspelllib_LTLIBRARIES = gtkspell.la
|
|
|
|
gtkspelllibdir = $(libdir)/gajim
|
|
|
|
|
|
|
|
gtkspell_la_LIBADD = \
|
|
|
|
$(GTKSPELL_LIBS) $(PYGTK_LIBS)
|
|
|
|
|
|
|
|
gtkspell_la_SOURCES = \
|
|
|
|
gtkspellmodule.c
|
|
|
|
|
|
|
|
gtkspell_la_LDFLAGS = \
|
2006-10-04 14:22:37 +02:00
|
|
|
-module -avoid-version
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
gtkspell_la_CFLAGS = $(GTKSPELL_CFLAGS) $(PYGTK_CFLAGS)
|
2006-10-04 14:22:37 +02:00
|
|
|
endif
|
2006-10-05 17:08:07 +02:00
|
|
|
if BUILD_TRAYICON
|
2006-10-04 02:10:49 +02:00
|
|
|
trayiconlib_LTLIBRARIES = trayicon.la
|
|
|
|
trayiconlibdir = $(libdir)/gajim
|
|
|
|
trayicon_la_LIBADD = $(PYGTK_LIBS)
|
|
|
|
trayicon_la_SOURCES = \
|
|
|
|
eggtrayicon.c \
|
|
|
|
trayiconmodule.c
|
2006-10-11 14:37:08 +02:00
|
|
|
|
2006-10-04 02:10:49 +02:00
|
|
|
nodist_trayicon_la_SOURCES = \
|
|
|
|
trayicon.c
|
2006-10-11 14:37:08 +02:00
|
|
|
|
2006-10-04 02:10:49 +02:00
|
|
|
trayicon_la_LDFLAGS = \
|
2006-10-04 14:22:37 +02:00
|
|
|
-module -avoid-version
|
2006-10-04 02:10:49 +02:00
|
|
|
trayicon_la_CFLAGS = $(PYGTK_CFLAGS)
|
|
|
|
|
2006-10-05 17:08:07 +02:00
|
|
|
trayicon.c:
|
2006-10-04 02:10:49 +02:00
|
|
|
pygtk-codegen-2.0 --prefix trayicon \
|
|
|
|
--register $(PYGTK_DEFS)/gdk-types.defs \
|
|
|
|
--register $(PYGTK_DEFS)/gtk-types.defs \
|
2006-10-05 17:08:07 +02:00
|
|
|
--override $(srcdir)/trayicon.override \
|
|
|
|
$(srcdir)/trayicon.defs > $@
|
|
|
|
endif
|
2006-10-04 02:10:49 +02:00
|
|
|
gajimsrcdir = $(pkgdatadir)/src
|
2006-10-05 17:08:07 +02:00
|
|
|
gajimsrc_DATA = $(srcdir)/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
gajimsrc1dir = $(pkgdatadir)/src/common
|
|
|
|
gajimsrc1_DATA = \
|
2006-10-05 17:08:07 +02:00
|
|
|
$(srcdir)/common/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
gajimsrc2dir = $(pkgdatadir)/src/common/xmpp
|
|
|
|
gajimsrc2_DATA = \
|
2006-10-05 17:08:07 +02:00
|
|
|
$(srcdir)/common/xmpp/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
gajimsrc3dir = $(pkgdatadir)/src/common/zeroconf
|
|
|
|
gajimsrc3_DATA = \
|
2006-10-05 17:08:07 +02:00
|
|
|
$(srcdir)/common/zeroconf/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
2006-10-11 19:40:56 +02:00
|
|
|
DISTCLEANFILES =$(srcdir)/common/defs.py
|
|
|
|
|
2006-10-04 02:10:49 +02:00
|
|
|
EXTRA_DIST = $(gajimsrc_DATA) \
|
|
|
|
$(gajimsrc1_DATA) \
|
|
|
|
$(gajimsrc2_DATA) \
|
|
|
|
$(gajimsrc3_DATA) \
|
|
|
|
gtkspellmodule.c \
|
|
|
|
eggtrayicon.c \
|
|
|
|
trayiconmodule.c \
|
|
|
|
eggtrayicon.h \
|
|
|
|
trayicon.defs \
|
2006-10-11 19:40:56 +02:00
|
|
|
trayicon.override \
|
|
|
|
common/defs.py.in
|
2006-10-04 02:10:49 +02:00
|
|
|
|
2006-10-11 14:37:08 +02:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|