Page MenuHomeClusterLabs Projects

No OneTemporary

diff --git a/contrib/askant/Makefile b/contrib/askant/Makefile
new file mode 100644
index 000000000..cd8064085
--- /dev/null
+++ b/contrib/askant/Makefile
@@ -0,0 +1,24 @@
+include ../../make/defines.mk
+
+all: build
+
+include $(OBJDIR)/make/clean.mk
+
+CFLAGS += -I$(SRCDIR)/gfs2/libgfs2
+CFLAGS += -I$(SRCDIR)/gfs2/include
+
+LDFLAGS += -L$(OBJDIR)/gfs2/libgfs2 -lgfs2
+
+build:
+ CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./setup.py build
+
+install:
+ ./setup.py install --root $(DESTDIR)
+
+uninstall:
+ @echo UNINSTALL TARGET UNSUPPORTED
+
+clean:
+ ./setup.py clean
+ rm askant/*.pyc
+ rm -rf build
diff --git a/contrib/askant/setup.py b/contrib/askant/setup.py
index 78daff24c..3c971bc00 100755
--- a/contrib/askant/setup.py
+++ b/contrib/askant/setup.py
@@ -1,18 +1,15 @@
#!/usr/bin/env python
from distutils.core import setup, Extension
from askant import about
setup(name="askant",
version=about.version,
description="File system performance analysis tool",
author="Andrew Price",
author_email="andy@andrewprice.me.uk",
url="http://andrewprice.me.uk/projects/askant",
packages = ['askant','askant.fs'],
ext_modules = [Extension("askant.fs.gfs2",
- sources = ["fsplugins/gfs2/gfs2module.c","fsplugins/gfs2/gfs2.c"],
- libraries = ["gfs2"],
- include_dirs=['../gfs2/libgfs2', '../gfs2/include', '../make'],
- library_dirs=['../gfs2/libgfs2'])],
+ sources = ["fsplugins/gfs2/gfs2module.c","fsplugins/gfs2/gfs2.c"])],
scripts = ['scripts/askant'])

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 11:04 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018602
Default Alt Text
(1 KB)

Event Timeline