| 1 |
|
| 2 |
AM_CPPFLAGS = $(PYTHON_CPPFLAGS) \ |
| 3 |
-I$(top_srcdir)/tcl/c++/include -I$(top_srcdir)/tcl/include \ |
| 4 |
-I$(top_srcdir)/c++/swig/pygensio/include |
| 5 |
|
| 6 |
pythonlibdir=$(PYTHON_INSTALL_LIB_DIR) |
| 7 |
pythonlib_LTLIBRARIES = _pygensiotcl.la |
| 8 |
|
| 9 |
pygensiotcl_wrap.cc pygensiotcl.py: \ |
| 10 |
$(top_srcdir)/c++/swig/include/gensio_base.i \ |
| 11 |
$(top_srcdir)/c++/swig/pygensio/pygensio.i \ |
| 12 |
$(top_srcdir)/tcl/c++/swig/pygensio/pygensiotcl.i \ |
| 13 |
$(top_srcdir)/c++/include/gensio |
| 14 |
$(SWIG) $(DEFS) -Wall -python $(PYTHON_SWIG_FLAGS) \ |
| 15 |
-o pygensiotcl_wrap.cc -c++ \ |
| 16 |
-I$(top_srcdir)/tcl/c++/include \ |
| 17 |
-I$(top_srcdir)/c++/swig/include \ |
| 18 |
-I$(top_srcdir)/c++/swig/pygensio -I$(top_srcdir)/c++/include \ |
| 19 |
-I$(top_srcdir)/include -I$(top_builddir)/include \ |
| 20 |
$(top_srcdir)/tcl/c++/swig/pygensio/pygensiotcl.i |
| 21 |
|
| 22 |
EXTRA_DIST = pygensiotcl.i |
| 23 |
|
| 24 |
nodist__pygensiotcl_la_SOURCES = pygensiotcl_wrap.cc |
| 25 |
_pygensiotcl_la_LIBADD = $(top_builddir)/c++/lib/libgensiocpp.la \ |
| 26 |
$(top_builddir)/lib/libgensio.la \ |
| 27 |
$(top_builddir)/lib/libgensioosh.la \ |
| 28 |
$(top_builddir)/tcl/libgensiotcl.la \ |
| 29 |
$(OPENSSL_LIBS) $(PYTHON_UNDEF_LIBS) $(TCL_LIBS) |
| 30 |
_pygensiotcl_la_LDFLAGS = -module -avoid-version $(OPENSSL_LDFLAGS) \ |
| 31 |
$(PYTHON_UNDEF_FLAG) $(PYTHON_EXT_EXT_SET) |
| 32 |
|
| 33 |
clean-local: |
| 34 |
rm -rf __pycache__ pygensiotcl_wrap.cc pygensiotcl_wrap.h \ |
| 35 |
pygensiotcl.py |
| 36 |
|
| 37 |
install-exec-local: _pygensiotcl.la pygensiotcl.py |
| 38 |
$(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR) |
| 39 |
$(INSTALL_DATA) pygensiotcl.py "$(DESTDIR)$(PYTHON_INSTALL_DIR)" |
| 40 |
|
| 41 |
uninstall-local: |
| 42 |
$(LIBTOOL) --mode=uninstall \ |
| 43 |
rm -f "$(DESTDIR)$(PYTHON_INSTALL_LIB_DIR)/_pygensiotcl.$(PYTHON_EXT_EXT)" |
| 44 |
rm -f "$(DESTDIR)$(PYTHON_INSTALL_DIR)/pygensiotcl.py" |