Make lash_get_pending_event_count() working.
[ladish.git] / pylash / Makefile.am
blob8e6ccffea43c27f6926d728052c00d665460f18e
2 # Copyright (C) 2007 Nedko Arnaudov <nedko@arnaudov.name>
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; version 2 of the License
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 include $(top_srcdir)/common.am
20 pkgpyexecdir = $(pythondir)
22 if BUILD_PYLASH
24 pkgpyexec_LTLIBRARIES = _lash.la
26 INCLUDES = $(PYTHON_INCLUDES)
28 _lash_la_LDFLAGS = -module -avoid-version ../liblash/liblash.la
30 _lash_la_SOURCES = lash.c lash.h lash_wrap.c
32 pkgpyexec_SCRIPTS = lash.py
34 CLEANFILES = lash_wrap.c lash.py lash.pyc zynjacku.defs
36 endif
38 EXTRA_DIST = test.py lash.i lash.py
40 lash_wrap.c lash.py: lash.i lash.h
41         swig -o lash_wrap.c -I$(top_srcdir) -python $(top_srcdir)/$(subdir)/lash.i