Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F1841980
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Nov 23, 11:04 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018602
Default Alt Text
(1 KB)
Attached To
Mode
rR Resource Agents
Attached
Detach File
Event Timeline
Log In to Comment