feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 7f3cae67 was
90a59c3,
checked in by Paul Brossier <piem@piem.org>, 17 years ago
|
java/: added first draft for a java interface to aubio, includes simple test
|
-
Property mode set to
100644
|
File size:
923 bytes
|
Line | |
---|
1 | NOWARN_CFLAGS = -Wno-strict-aliasing |
---|
2 | |
---|
3 | AM_CFLAGS = @AUBIO_CFLAGS@ $(NOWARN_CFLAGS) $(SWCFLAGS) \ |
---|
4 | -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/ext \ |
---|
5 | -I/usr/lib/jvm/java-6-sun-1.6.0.04/include \ |
---|
6 | -I${prefix}/lib/jvm/java-6-sun-1.6.0.04/include \ |
---|
7 | -I/usr/lib/jvm/java-6-sun-1.6.0.04/include/linux \ |
---|
8 | -I${prefix}/lib/jvm/java-6-sun-1.6.0.04/include/linux \ |
---|
9 | -I/usr/include \ |
---|
10 | -I${prefix}/include |
---|
11 | |
---|
12 | SWLDFLAGS = -shared |
---|
13 | |
---|
14 | AUBIO_LDFLAGS = $(SWLDFLAGS) \ |
---|
15 | -L$(top_builddir)/ext -laubioext \ |
---|
16 | -L$(top_builddir)/src -laubio |
---|
17 | |
---|
18 | pkgjavadir = /usr/local/lib/java/aubio |
---|
19 | |
---|
20 | pkgjava_LTLIBRARIES = libaubiowrapper.la |
---|
21 | |
---|
22 | libaubiowrapper_la_LDFLAGS = -module -avoid-version $(AUBIO_LDFLAGS) |
---|
23 | libaubiowrapper_la_SOURCES = aubio_wrap.c |
---|
24 | |
---|
25 | aubio_wrap.c: |
---|
26 | $(SWIG) -outdir . -o aubio_wrap.c -java $(top_srcdir)/swig/aubio.i |
---|
27 | |
---|
28 | CLEANFILES = aubio_* SWIGTYPE_* *aubiowrapper* midi_* |
---|
29 | |
---|
30 | simple_test: |
---|
31 | javac *.java |
---|
32 | LD_LIBRARY_PATH=.libs java main |
---|
Note: See
TracBrowser
for help on using the repository browser.