root/python/Makefile.in

Revision fadf11e89b579bcc0336a0692ac15c93785f3f82, 0.5 kB (checked in by L. Donnie Smith <donnie.smith@…>, 2 years ago)

Fix python module linking

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