+#
+# GNUMakefile for util-vserver Python bindings
+#
+# Steve Muir <smuir@cs.princeton.edu>
+# Mark Huang <mlhuang@cs.princeton.edu>
+# 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 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