source: Makefile @ e84f7b9

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since e84f7b9 was 8dbff94, checked in by Paul Brossier <piem@piem.org>, 9 years ago

Merge branch 'develop' of aubio.org:/git/aubio/aubio into develop

  • Property mode set to 100644
File size: 1.1 KB
Line 
1WAFCMD=python waf
2all: build
3
4checkwaf:
5        @[ -f waf ] || make getwaf
6
7getwaf:
8        curl https://waf.io/waf-1.8.20 > waf
9        @chmod +x waf
10
11expandwaf:
12        @[ -d wafilb ] || rm -fr waflib
13        @$(WAFCMD) --help > /dev/null
14        @mv .waf*/waflib . && rm -fr .waf*
15        @sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
16        @chmod +x waf
17
18configure: checkwaf
19        $(WAFCMD) configure
20
21build: configure
22        $(WAFCMD) build
23
24build_python:
25        cd python && ./setup.py build
26
27test_python:
28        cd python && pip install -v .
29        LD_LIBRARY_PATH=$(PWD)/build/src python/tests/run_all_tests --verbose
30        cd python && pip uninstall -y -v aubio
31
32test_python_osx:
33        cd python && pip install --user -v .
34        [ -f build/src/libaubio.[0-9].dylib ] && ( mkdir -p ~/lib && cp -prv build/src/libaubio.4.dylib ~/lib ) || true
35        ./python/tests/run_all_tests --verbose
36        cd python && pip uninstall -y -v aubio
37
38clean_python:
39        cd python && ./setup.py clean
40
41build_python3:
42        cd python && python3 ./setup.py build
43
44clean_python3:
45        cd python && python3 ./setup.py clean
46
47clean:
48        $(WAFCMD) clean
49
50distcheck: checkwaf
51        $(WAFCMD) distcheck
52
53help:
54        $(WAFCMD) --help
Note: See TracBrowser for help on using the repository browser.