summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-01 06:01:21 +0000
committernima <nima@abc39116-655e-4be6-ad55-d661dc543056>2008-07-01 06:01:21 +0000
commiteb7958574ce98601433022d7d23343025c1e34b8 (patch)
tree2f9f0003beaff39d40a0f836ee035de330cea4de /Makefile
parent4f5bfc68e416a7d1e6264e43278fe9b9df684eed (diff)
downloadpython-dmidecode-eb7958574ce98601433022d7d23343025c1e34b8.tar.gz
python-dmidecode-eb7958574ce98601433022d7d23343025c1e34b8.tar.xz
python-dmidecode-eb7958574ce98601433022d7d23343025c1e34b8.zip
Project progressing along excellently. The python module is now functional and
has as many methods as the --type option takes. Next is to expand and harness the code around the `--string' option. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@3 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ac1b870..36a5db5 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,10 @@ PROGRAMS != echo dmidecode ; test `uname -m 2>/dev/null` != ia64 && echo biosdec
all : $(PROGRAMS)
python setup.py clean
python setup.py build
+ #sudo python setup.py install
+ #python -c 'import dmidecode'
+ #ldd /usr/lib/python2.4/site-packages/dmidecode.so
+ gcc -pthread -shared -fPIC build/temp.linux-i686-2.4/dmidecodemodule.o -L. -I/usr/include/python2.4 catsprintf.o dmidecode.o dmiopt.o dmioem.o util.o -o build/lib.linux-i686-2.4/dmidecode.so
sudo python setup.py install
ldd /usr/lib/python2.4/site-packages/dmidecode.so
python -c 'import dmidecode'