cleared out netns make for building python wrappers

This commit is contained in:
bharnden 2019-06-07 21:49:15 -07:00
parent 8ce6703875
commit 5bf53f1ad8

View file

@ -27,43 +27,6 @@ vcmd_LDADD = @libev_LIBS@
vcmd_SOURCES = $(SRC_COMMON) $(SRC_VCMD) vcmd_SOURCES = $(SRC_COMMON) $(SRC_VCMD)
netns_SOURCES = $(SRC_NETNS) 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 # extra cruft to remove
DISTCLEANFILES = Makefile.in MANIFEST DISTCLEANFILES = Makefile.in MANIFEST