X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2FMakefile;h=5007d346c30ec7a6b87c7d1aa733f5b07bbf97ac;hb=5a7d89b238734a86c5da88766305c5483098d599;hp=32d624a1d54661ff95f6b4b6a01460428e89e182;hpb=f3bf699064b2ecfbd8b5c1c310ea6c3081893310;p=util-vserver.git diff --git a/python/Makefile b/python/Makefile index 32d624a..5007d34 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.11 2006/03/01 22:03:38 mlhuang 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