Changeset be929a5
- Timestamp:
- Sep 29, 2006, 4:18:53 PM (18 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 237f632
- Parents:
- 5a405dd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r5a405dd rbe929a5 79 79 AC_CONFIG_FILES(aubio.pc) 80 80 81 AM_CONDITIONAL(MINGW, false) 82 AM_CONDITIONAL(DARWIN, false) 81 83 case "${host_os}" in 82 84 *mingw*) 83 85 mingw32_support="yes" 84 86 AC_CHECK_HEADER(windows.h) 87 AM_CONDITIONAL(MINGW, true) 85 88 ;; 86 89 *darwin*) … … 90 93 AUBIO_CFLAGS="$AUBIO_CFLAGS -Wno-long-double" 91 94 AC_ISC_POSIX 95 AM_CONDITIONAL(DARWIN, true) 92 96 ;; 93 97 *) … … 212 216 AM_PATH_PYTHON 213 217 AM_CONDITIONAL(PYTHONFOUND, test "${PYTHON}" != "no") 214 #215 #if PYTHONFOUND216 case "${host_os}" in217 *darwin*)218 SWCFLAGS="-Wno-long-double"219 SWLDFLAGS="-bundle -framework python -L${prefix}/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"220 ;;221 *)222 SWLDFLAGS="-shared"223 ;;224 esac225 #226 AC_SUBST(SWCFLAGS)227 AC_SUBST(SWLDFLAGS)228 218 229 219 dnl Check for docbook-to-man -
plugins/puredata/Makefile.am
r5a405dd rbe929a5 6 6 PDDIR = $(prefix)/lib/pd 7 7 pddir = $(PDDIR) 8 #SUBDIRS = ladspa vst win9 8 10 9 ## Make and install the shared library. … … 13 12 pdinstallexpdir = $(pddir)/doc/aubio 14 13 15 # Automake won't accept something ending in ".pd_linux" as a library 16 pdinstall_PROGRAMS = aubio.pd_linux 14 if MINGW 15 PDEXT = aubio.dll 16 else 17 if DARWIN 18 PDEXT = aubio.pd_darwin 19 else 20 PDEXT = aubio.pd_linux 21 endif 22 endif 17 23 18 aubio_pd_linux_SOURCES = \ 24 pdinstall_PROGRAMS = $(PDEXT) 25 26 ALLSOURCES = \ 19 27 aubio_setup.c \ 20 28 aubioonset~.c \ … … 24 32 aubiopitch~.c 25 33 34 aubio_pd_linux_SOURCES = $(ALLSOURCES) 35 aubio_pd_darwin_SOURCES = $(ALLSOURCES) 36 aubio_dll_SOURCES = $(ALLSOURCES) 37 26 38 pdincludedir = $(pddir)/src 27 39 28 LIBTOOL=$(SHELL) $(srcdir)/libtoolkludge 40 AM_CFLAGS = -I$(top_srcdir)/src -I$(pdincludedir) -DPD -fPIC -DPIC @AUBIO_CFLAGS@ 41 if MINGW 42 AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared 43 else 44 if DARWIN 45 AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared 46 else 47 AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared 48 endif 49 endif 29 50 30 INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir)31 32 AM_CFLAGS = -DPD -fPIC -DPIC33 AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared34 51 35 52 ## Install the documentation. … … 45 62 examples/onset-cam.pd 46 63 47 ## My kludge 48 noinst_SCRIPTS = libtoolkludge 49 50 EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) $(noinst_SCRIPTS) 51 64 EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) -
python/aubio/Makefile.am
r5a405dd rbe929a5 41 41 nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so 42 42 43 _aubiowrapper.so: _aubiowrapper.la 44 45 if MINGW 46 SWLDFLAGS = "" 47 else 48 if DARWIN 49 SWLDFLAGS = "-bundle -framework Python" 50 else 51 SWLDFLAGS = "-shared" 52 endif 53 endif 54 43 55 CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py 44 45 all: _aubiowrapper.so46 56 47 57 NOWARN_CFLAGS = -Wno-missing-prototypes -Wno-missing-declarations \ 48 58 -Wno-strict-aliasing 49 59 50 AM_CFLAGS = $(SWCFLAGS) -fPIC -DPIC\60 AM_CFLAGS = @AUBIO_CFLAGS@ $(NOWARN_CFLAGS) $(SWCFLAGS) \ 51 61 -I$(top_builddir)/src -I$(top_srcdir)/src -I$(top_srcdir)/ext \ 52 62 -I/usr/include/python${PYTHON_VERSION} \ … … 55 65 -I${prefix}/include 56 66 57 A M_LDFLAGS = $(SWLDFLAGS) \67 AUBIO_LDFLAGS = $(SWLDFLAGS) \ 58 68 -L$(top_builddir)/ext/.libs -laubioext \ 59 69 -L$(top_builddir)/src/.libs -laubio 60 70 61 aubio_wrap.c: 71 python_DATA = aubiowrapper.py 72 python_LTLIBRARIES = _aubiowrapper.la 73 74 _aubiowrapper_la_LDFLAGS = -no-undefined -module -avoid-version $(AUBIO_LDFLAGS) 75 _aubiowrapper_la_SOURCES = aubio_wrap.c 76 77 aubio_wrap.c aubiowrapper.py: 62 78 $(SWIG) -outdir . -o aubio_wrap.c -python $(top_srcdir)/swig/aubio.i 63 64 _aubiowrapper.so: aubio_wrap.c65 $(CC) $(AM_CFLAGS) $(CFLAGS) $(NOWARN_CFLAGS) -c aubio_wrap.c66 $(CC) $(AM_LDFLAGS) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so
Note: See TracChangeset
for help on using the changeset viewer.