aboutsummaryrefslogtreecommitdiffstats
path: root/python/Makefile
diff options
context:
space:
mode:
authorDavid McNab <david@rebirthing.co.nz>2003-12-13 02:05:46 +0000
committerDavid McNab <david@rebirthing.co.nz>2003-12-13 02:05:46 +0000
commit7a19cafc5d0fb8786a61fdadba1a6014a0396e5f (patch)
tree1ce570e0ec979f5d07d0ab17052421786e4006f0 /python/Makefile
parent5e43f2c00c1ce3a9ee3ed9c2b5a9b32dabbb6e60 (diff)
downloadlibfuse-7a19cafc5d0fb8786a61fdadba1a6014a0396e5f.tar.gz
Added 'fsync' stub in example/fusexmp.c
Added support for 'fsync' and 'statfs' to python interface, and to python fs example
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/python/Makefile b/python/Makefile
index 12393e7..1313e9e 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -1,5 +1,15 @@
+#@+leo-ver=4
+#@+node:@file Makefile
+# Makefile now uses distutils
+
_fusemodule.so: _fusemodule.c
- gcc -g3 -I/usr/include/python2.1 _fusemodule.c -Wl,-shared -o _fusemodule.so -Wimplicit -lfuse && python -c 'import _fuse'
+ #gcc -g3 -I/usr/include/python2.1 _fusemodule.c -Wl,-shared -o _fusemodule.so -Wimplicit -lfuse && python -c 'import _fuse'
+ python setup.py build_ext --inplace
+
+install: _fusemodule.so
+ python setup.py install
clean:
- rm -f _fusemodule.so *.pyc *.pyo
+ rm -rf _fusemodule.so *.pyc *.pyo *~ build
+#@-node:@file Makefile
+#@-leo