add --enable-vnodedonly configure flag; make Python optional

This commit is contained in:
Jeff Ahrenholz 2018-10-10 12:26:21 -07:00
parent b844f647e3
commit 06709de2e9
3 changed files with 31 additions and 5 deletions

View file

@ -30,6 +30,7 @@ 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:
@ -60,6 +61,9 @@ clean-local-check:
distclean-local:
-rm -rf core_netns.egg-info
endif
# endif WANT_PYTHON
# extra cruft to remove
DISTCLEANFILES = Makefile.in MANIFEST