source: java/aubio/Makefile.am @ 7f3cae67

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 
1NOWARN_CFLAGS = -Wno-strict-aliasing
2
3AM_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
12SWLDFLAGS = -shared
13
14AUBIO_LDFLAGS = $(SWLDFLAGS) \
15        -L$(top_builddir)/ext -laubioext \
16        -L$(top_builddir)/src -laubio
17
18pkgjavadir = /usr/local/lib/java/aubio
19
20pkgjava_LTLIBRARIES = libaubiowrapper.la
21
22libaubiowrapper_la_LDFLAGS = -module -avoid-version $(AUBIO_LDFLAGS)
23libaubiowrapper_la_SOURCES = aubio_wrap.c
24
25aubio_wrap.c:
26        $(SWIG) -outdir . -o aubio_wrap.c -java $(top_srcdir)/swig/aubio.i
27
28CLEANFILES = aubio_* SWIGTYPE_* *aubiowrapper* midi_*
29
30simple_test:
31        javac *.java
32        LD_LIBRARY_PATH=.libs java main
Note: See TracBrowser for help on using the repository browser.