2008-12-03 23:46:55 +01:00
|
|
|
SUBDIRS = osx
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
trayicon.c
|
|
|
|
INCLUDES = \
|
|
|
|
$(PYTHON_INCLUDES)
|
2007-11-14 20:47:52 +01:00
|
|
|
export MACOSX_DEPLOYMENT_TARGET=10.4
|
2006-10-04 02:10:49 +02:00
|
|
|
|
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
|
2008-01-28 19:40:26 +01:00
|
|
|
gajimsrc_PYTHON = $(srcdir)/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
gajimsrc1dir = $(pkgdatadir)/src/common
|
2008-01-28 19:40:26 +01:00
|
|
|
gajimsrc1_PYTHON = \
|
2006-10-05 17:08:07 +02:00
|
|
|
$(srcdir)/common/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
gajimsrc2dir = $(pkgdatadir)/src/common/xmpp
|
2008-01-28 19:40:26 +01:00
|
|
|
gajimsrc2_PYTHON = \
|
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
|
2008-01-28 19:40:26 +01:00
|
|
|
gajimsrc3_PYTHON = \
|
2006-10-05 17:08:07 +02:00
|
|
|
$(srcdir)/common/zeroconf/*.py
|
2006-10-04 02:10:49 +02:00
|
|
|
|
2006-10-13 10:17:43 +02:00
|
|
|
DISTCLEANFILES =
|
2006-10-11 19:40:56 +02:00
|
|
|
|
2008-01-28 19:40:26 +01:00
|
|
|
EXTRA_DIST = $(gajimsrc_PYTHON) \
|
|
|
|
$(gajimsrc1_PYTHON) \
|
|
|
|
$(gajimsrc2_PYTHON) \
|
|
|
|
$(gajimsrc3_PYTHON) \
|
2006-10-04 02:10:49 +02:00
|
|
|
gtkspellmodule.c \
|
|
|
|
eggtrayicon.c \
|
|
|
|
trayiconmodule.c \
|
|
|
|
eggtrayicon.h \
|
|
|
|
trayicon.defs \
|
2006-10-13 10:17:43 +02:00
|
|
|
trayicon.override
|
2006-10-04 02:10:49 +02:00
|
|
|
|
2008-04-14 17:19:09 +02:00
|
|
|
dist-hook:
|
|
|
|
rm -f $(distdir)/ipython_view.py
|
|
|
|
|
2006-10-11 14:37:08 +02:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|