Showing the changes to python (1 of 5 files). Show all
Unified · Split
| @@ -48,16 +48,18 @@ NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \ · 47 unmodified lines | ||
| 48 | 48 | -Wno-strict-aliasing |
| 49 | 49 | |
| 50 | 50 | AM_CFLAGS = $(SWCFLAGS) -fPIC -DPIC \ |
| 51 | − -I../../src -I$(srcdir)/../../src -I$(srcdir)/../../ext \ | |
| 51 | + -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/ext \ | |
| 52 | 52 | -I/usr/include/python${PYTHON_VERSION} \ |
| 53 | 53 | -I${prefix}/include/python${PYTHON_VERSION} \ |
| 54 | 54 | -I/usr/include \ |
| 55 | 55 | -I${prefix}/include |
| 56 | 56 | |
| 57 | −AM_LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio | |
| 57 | +AM_LDFLAGS = $(SWLDFLAGS) \ | |
| 58 | + -L$(top_builddir)/ext/.libs -laubioext \ | |
| 59 | + -L$(top_builddir)/src/.libs -laubio | |
| 58 | 60 | |
| 59 | 61 | aubio_wrap.c: |
| 60 | − $(SWIG) -outdir . -o aubio_wrap.c -python $(srcdir)/../../swig/aubio.i | |
| 62 | + $(SWIG) -outdir . -o aubio_wrap.c -python $(top_srcdir)/swig/aubio.i | |
| 61 | 63 | |
| 62 | 64 | _aubiowrapper.so: aubio_wrap.c |
| 63 | 65 | $(CC) $(AM_CFLAGS) $(CFLAGS) $(NOWARN_CFLAGS) -c aubio_wrap.c |