diff --git a/netns/Makefile.am b/netns/Makefile.am index 3fdc0cb6..91aaa605 100644 --- a/netns/Makefile.am +++ b/netns/Makefile.am @@ -27,43 +27,6 @@ vcmd_LDADD = @libev_LIBS@ vcmd_SOURCES = $(SRC_COMMON) $(SRC_VCMD) netns_SOURCES = $(SRC_NETNS) -# this triggers automake to run setup.py for building the Python libraries -# actual library names are netns.so and vcmd.so -# SOURCES line prevents 'make dist' from looking for a 'libnetns.c' file -#if WANT_PYTHON -#noinst_LIBRARIES = libnetns.a -#libnetns_a_SOURCES = netnsmodule.c vcmdmodule.c -#libnetns.a: -# LDFLAGS="$(LDFLAGS) @libev_LIBS@" CFLAGS="$(CFLAGS) @libev_CFLAGS@" $(PYTHON) setup.py build_ext -# -## Python libraries install -#install-exec-local: -# $(PYTHON) $(SETUPPY) $(SETUPPYFLAGS) install \ -# --root=/$(DESTDIR) \ -# --prefix=$(prefix) \ -# --install-lib=$(pythondir) \ -# --single-version-externally-managed \ -# --no-compile -# -## Python libraries uninstall -#uninstall-hook: -# rm -rf core_netns.egg-info -# rm -rf $(DESTDIR)/$(pythondir)/core_netns-$(PACKAGE_VERSION)-py$(PYTHON_VERSION).egg-info -# rm -f $(DESTDIR)/$(bindir)/{vnoded,vcmd,netns} -# rm -f $(DESTDIR)/$(pythondir)/{netns.so,vcmd.so} -# -## Python libraries cleanup -#clean-local: clean-local-check -#.PHONY: clean-local-check -#clean-local-check: -# -rm -rf build -# -#distclean-local: -# -rm -rf core_netns.egg-info -# -#endif -# endif WANT_PYTHON - # extra cruft to remove DISTCLEANFILES = Makefile.in MANIFEST