pdincludedir = $(pddir)/src
-LIBTOOL=$(SHELL) ./libtoolkludge
+LIBTOOL=$(SHELL) $(srcdir)/libtoolkludge
INCLUDES = -I$(top_srcdir) -I$(pdincludedir)
# removed -Wall -Wmissing-prototypes -Wmissing-declarations
CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \
-Wno-unknown-pragmas $(SWCFLAGS) \
- -I$(srcdir)/../../src -I$(srcdir)/../../ext \
+ -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \
-I/usr/include/python${PYTHON_VERSION} \
-I${prefix}/include/python${PYTHON_VERSION} \
-I/usr/include \
LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio
aubio_wrap.c:
- $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i
+ $(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../swig/aubio.i
_aubiowrapper.so: aubio_wrap.c
$(CC) $(CFLAGS) -c aubio_wrap.c