annotate bindings/python/Makefile @ 770:c54bc2ffbf92 tip

update tags
author convert-repo
date Fri, 16 Dec 2011 11:34:01 +0000
parents ce5ff00168e1
children
rev   line source
map01bf@668 1 EXECUTABLE=audioDB
map01bf@668 2 SOVERSION=0
map01bf@668 3 MINORVERSION=0
map01bf@668 4 LIBRARY=lib$(EXECUTABLE).so.$(SOVERSION).$(MINORVERSION)
map01bf@668 5
map01bf@668 6 ifeq ($(shell uname),Darwin)
map01bf@668 7 override LIBRARY=lib$(EXECUTABLE).$(SOVERSION).$(MINORVERSION).dylib
map01bf@668 8 endif
map01bf@668 9
mas01cr@664 10 all:
mas01cr@664 11 python setup.py build
mas01cr@664 12
map01bf@668 13 test: ../../$(LIBRARY) all
mas01cr@666 14 (cd tests && \
mas01cr@667 15 env PYTHONPATH=$$(python -c 'import distutils; import distutils.util; import sys; print "../build/lib.%s-%s" % (distutils.util.get_platform(), sys.version[0:3])') \
mas01cr@666 16 LD_LIBRARY_PATH=../../.. \
mas01cr@666 17 python InitialisationRelated.py)
mas01cr@666 18
mas01cr@666 19 clean:
mas01cr@666 20 rm -rf tests/test* pyadb.pyc build