map01bf@668: EXECUTABLE=audioDB map01bf@668: SOVERSION=0 map01bf@668: MINORVERSION=0 map01bf@668: LIBRARY=lib$(EXECUTABLE).so.$(SOVERSION).$(MINORVERSION) map01bf@668: map01bf@668: ifeq ($(shell uname),Darwin) map01bf@668: override LIBRARY=lib$(EXECUTABLE).$(SOVERSION).$(MINORVERSION).dylib map01bf@668: endif map01bf@668: mas01cr@664: all: mas01cr@664: python setup.py build mas01cr@664: map01bf@668: test: ../../$(LIBRARY) all mas01cr@666: (cd tests && \ mas01cr@667: 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: LD_LIBRARY_PATH=../../.. \ mas01cr@666: python InitialisationRelated.py) mas01cr@666: mas01cr@666: clean: mas01cr@666: rm -rf tests/test* pyadb.pyc build