added srcdir
authorPaul Brossier <piem@altern.org>
Tue, 9 Aug 2005 00:33:24 +0000 (00:33 +0000)
committerPaul Brossier <piem@altern.org>
Tue, 9 Aug 2005 00:33:24 +0000 (00:33 +0000)
python/aubio/Makefile.am

index 2998b68..466a1e3 100644 (file)
@@ -1,6 +1,6 @@
 pkgpython_PYTHON = __init__.py onsetcompare.py\
        gnuplot.py median.py txtfile.py aubioclass.py
-       
+
 nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so
 
 CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py 
@@ -10,7 +10,7 @@ all: _aubiowrapper.so
 # removed -Wall -Wmissing-prototypes -Wmissing-declarations 
 CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \
        -Wno-unknown-pragmas $(SWCFLAGS) \
-       -I../../src -I../../ext \
+       -I$(srcdir)/../../src -I$(srcdir)/../../ext \
        -I/usr/include/python${PYTHON_VERSION} \
        -I${prefix}/include/python${PYTHON_VERSION} \
        -I/usr/include \
@@ -24,3 +24,4 @@ aubio_wrap.c:
 _aubiowrapper.so: aubio_wrap.c
        $(CC) $(CFLAGS) -c aubio_wrap.c
        $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
+