1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
SUBDIRS = \
examples
defsdir = $(datadir)/pygtk/2.0/defs/exo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR)
defs_DATA = exo.defs
pyexodir = $(pythondir)
pyexo_PYTHON = pyexo.py
exomoduledir = $(pyexecdir)/exo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR)/exo
exomodule_PYTHON = __init__.py
exobindingsdir = $(pyexecdir)/exo-$(LIBEXO_VERSION_MAJOR).$(LIBEXO_VERSION_MINOR)
exobindings_LTLIBRARIES = _exo.la
_exo_la_CFLAGS = \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(LIBXFCE4UTIL_CFLAGS) \
$(PYGTK_CFLAGS) \
$(PYTHON_INCLUDES)
_exo_la_LDFLAGS = \
-avoid-version \
-export-symbols-regex init_exo \
-module \
-no-undefined
_exo_la_LIBADD = \
$(top_builddir)/exo/libexo-$(LIBEXO_VERSION_API).la \
$(GTK_LIBS) \
$(LIBXFCE4UTIL_LIBS)
_exo_la_SOURCES = \
exomodule.c \
pyexo.h \
pyexobinding.c
nodist__exo_la_SOURCES = \
exo.c
BUILT_SOURCES = \
exo.c
exo.c: $(defs_DATA) $(srcdir)/exo.override Makefile
.defs.c:
$(AM_V_GEN) (cd $(srcdir) \
&& $(PYGOBJECT_CODEGEN) \
--register $(PYGTK_DEFSDIR)/pango-types.defs \
--register $(PYGTK_DEFSDIR)/atk-types.defs \
--register $(PYGTK_DEFSDIR)/gdk-types.defs \
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
--override $*.override \
--prefix $* $*.defs) > xgen-$*.c \
&& cp xgen-$*.c $*.c \
&& rm -f xgen-$*.c
EXTRA_DIST = \
$(defs_DATA) \
$(exomodule_DATA) \
$(pyexo_PYTHON) \
abicheck.sh \
exo.override
CLEANFILES = \
actual-abi \
exo.c \
expected-abi
if HAVE_GNUC_VISIBILITY
TESTS = \
abicheck.sh
endif
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|