X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2FMakefile;h=555dbe8cb6ba433fa9c740ea8e832a629c4f7297;hb=1893f1cc48048c86a01fe5aec36380d22f1d67f8;hp=32d624a1d54661ff95f6b4b6a01460428e89e182;hpb=f3bf699064b2ecfbd8b5c1c310ea6c3081893310;p=util-vserver.git diff --git a/python/Makefile b/python/Makefile index 32d624a..555dbe8 100644 --- a/python/Makefile +++ b/python/Makefile @@ -1,15 +1,36 @@ +# +# GNUMakefile for util-vserver Python bindings +# +# Steve Muir +# Mark Huang +# Copyright (C) 2005 The Trustees of Princeton University +# +# $Id: Makefile,v 1.9 2005/11/01 21:54:00 smuir Exp $ +# + INCLUDES := -I.. -I../lib LIBS = -L../lib -lvserver -PY_MODS := vserver.py +PY_MODS := vserver.py cpulimit.py bwlimit.py PY_EXT_MODS := vduimpl.so vserverimpl.so +LT_LINK = ../libtool --tag=CC --mode=link + + + all: py-build +# XXX - compatibility with util-vserver specfile +INSTALL_ROOT ?= $(DESTDIR) + install: py-install - ln -s /usr/lib/util-vserver/util-vserver-vars \ - $(INSTALL_ROOT)/usr/lib/python2.3/site-packages/util_vserver_vars.py --include pybuild.mk +clean: py-clean + + + +UTIL_PYTHON ?= $(wildcard ../../util-python*) + +include $(UTIL_PYTHON)/pybuild.mk -.PHONY: all install +.PHONY: all install clean