daemon: Use autoconf to build the vnoded, vcmd, and netns programs.
This commit is contained in:
parent
b41523216f
commit
cb93153007
2 changed files with 1 additions and 7 deletions
|
@ -34,18 +34,13 @@ libnetns_a_SOURCES = netnsmodule.c vcmdmodule.c
|
|||
libnetns.a:
|
||||
SBINDIR=@SBINDIR@ LDFLAGS="$(LDFLAGS) @libev_LIBS@" CFLAGS="$(CFLAGS) @libev_CFLAGS@" $(PYTHON) setup.py build
|
||||
|
||||
install: install-exec-hook
|
||||
|
||||
# Python libraries install
|
||||
install-exec-hook:
|
||||
install-exec-local:
|
||||
SBINDIR=${DESTDIR}/@SBINDIR@ $(PYTHON) setup.py install --prefix=${DESTDIR}/${pyprefix} --install-purelib=${DESTDIR}/${pythondir} --install-platlib=${DESTDIR}/${pyexecdir} --no-compile
|
||||
#python setup.py install --prefix=${DESTDIR}${PYTHON_PREFIX}
|
||||
|
||||
# Python libraries uninstall
|
||||
uninstall-hook:
|
||||
rm -f ${sbindir}/vnoded
|
||||
rm -f ${sbindir}/vcmd
|
||||
rm -f ${sbindir}/netns
|
||||
rm -f ${pyexecdir}/core_python_netns-1.0-py${PYTHON_VERSION}.egg-info
|
||||
rm -f ${pyexecdir}/netns.so
|
||||
rm -f ${pyexecdir}/vcmd.so
|
||||
|
|
|
@ -20,7 +20,6 @@ setup(name = "core-python-netns",
|
|||
version = "1.0",
|
||||
description = "Extension modules to support virtual nodes using " \
|
||||
"Linux network namespaces",
|
||||
data_files = [("sbin", ('vcmd', 'vnoded', 'netns')), ],
|
||||
ext_modules = [netns, vcmd],
|
||||
url = "http://www.nrl.navy.mil/itd/ncs/products/core",
|
||||
author = "Boeing Research & Technology",
|
||||
|
|
Loading…
Reference in a new issue