comedilib/swig/python/Makefile.am
Ian Abbott 99958da64f swig/python: Removed test_comedi.py
It was untested, and never worked.  It would be better to replace it
with some small demo programs, similar to the C language demo programs.
2017-04-10 14:14:29 +01:00

20 lines
596 B
Makefile

if HAVE_PYTHON
pyexec_LTLIBRARIES = _comedi.la
clean-local:
$(RM) comedi_python_wrap.c comedi.py
else
pyexec_LTLIBRARIES =
clean-local:
endif
nodist__comedi_la_SOURCES = comedi_python_wrap.c
_comedi_la_CFLAGS = $(COMEDILIB_CFLAGS) $(PYTHON_INCLUDES) $(PYTHON_QUIET)
_comedi_la_LDFLAGS = -module -avoid-version $(COMEDILIB_LIBS)
pyexec_SCRIPTS = comedi.py
EXTRA_DIST = README.txt comedi_python.i setup.py
comedi_python_wrap.c comedi.py: $(srcdir)/comedi_python.i $(srcdir)/../comedi.i
$(SWIG) -python -o comedi_python_wrap.c -I$(top_srcdir)/include -I$(srcdir)/.. $(srcdir)/comedi_python.i