root/trunk/python/Makefile.in

Revision 147, 0.5 kB (checked in by dsmith, 1 year ago)

fixed libdir install bug (#42)

Line 
1 #Copyright (C) 2007 Justin M. Tulloss
2
3 include @top_builddir@/defs.mak
4
5 ifdef ROOTDIR
6         SET_ROOT_DIR = "--root=$(ROOTDIR)"
7 endif
8
9 all:
10         $(PYTHON) setup.py build_ext $(DEBUGFLAGS) -I@top_builddir@/libcwiid -L@top_builddir@/libcwiid -lcwiid
11
12 install:
13         $(PYTHON) setup.py install --install-lib=${libdir}/python@PYTHON_VERSION@/site-packages $(SET_ROOT_DIR)
14
15 uninstall:
16         rm -f $(ROOTDIR)${libdir}/python@PYTHON_VERSION@/site-packages/cwiid.so
17
18 clean:
19         rm -rf build
20
21 distclean: clean
22         rm Makefile
23
24 .PHONY: all install uninstall clean distclean
Note: See TracBrowser for help on using the browser.