X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2FMakefile;h=555dbe8cb6ba433fa9c740ea8e832a629c4f7297;hb=fa9834b19bf59b9bbc3c3e29ac3e6965eefb571d;hp=35b5f43c48e055f62caa14bc3276eb539d77a9e1;hpb=92f57cb4fbf6f941f0e1a93b8a6ef5fbd1c8c226;p=util-vserver.git diff --git a/python/Makefile b/python/Makefile index 35b5f43..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 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