Changeset be929a5 for plugins


Ignore:
Timestamp:
Sep 29, 2006, 4:18:53 PM (18 years ago)
Author:
Paul Brossier <piem@altern.org>
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
Message:

use os conditionals, update python swig and puredata external Makefiles
use os conditionals, update python swig and puredata external Makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/puredata/Makefile.am

    r5a405dd rbe929a5  
    66PDDIR = $(prefix)/lib/pd
    77pddir = $(PDDIR)
    8 #SUBDIRS = ladspa vst win
    98
    109## Make and install the shared library.
     
    1312pdinstallexpdir = $(pddir)/doc/aubio
    1413
    15 # Automake won't accept something ending in ".pd_linux" as a library
    16 pdinstall_PROGRAMS = aubio.pd_linux
     14if MINGW
     15PDEXT = aubio.dll
     16else
     17if DARWIN
     18PDEXT = aubio.pd_darwin
     19else
     20PDEXT = aubio.pd_linux
     21endif
     22endif
    1723
    18 aubio_pd_linux_SOURCES = \
     24pdinstall_PROGRAMS = $(PDEXT)
     25
     26ALLSOURCES = \
    1927        aubio_setup.c \
    2028        aubioonset~.c \
     
    2432        aubiopitch~.c
    2533
     34aubio_pd_linux_SOURCES = $(ALLSOURCES)
     35aubio_pd_darwin_SOURCES = $(ALLSOURCES)
     36aubio_dll_SOURCES = $(ALLSOURCES)
     37
    2638pdincludedir = $(pddir)/src
    2739
    28 LIBTOOL=$(SHELL) $(srcdir)/libtoolkludge
     40AM_CFLAGS  = -I$(top_srcdir)/src -I$(pdincludedir) -DPD -fPIC -DPIC @AUBIO_CFLAGS@
     41if MINGW
     42AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
     43else
     44if DARWIN
     45AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
     46else
     47AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
     48endif
     49endif
    2950
    30 INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir)
    31 
    32 AM_CFLAGS  = -DPD -fPIC -DPIC
    33 AM_LDFLAGS = -L$(top_builddir)/src/.libs -laubio -export_dynamic -shared
    3451
    3552## Install the documentation.
     
    4562        examples/onset-cam.pd
    4663
    47 ## My kludge
    48 noinst_SCRIPTS = libtoolkludge
    49 
    50 EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA) $(noinst_SCRIPTS)
    51 
     64EXTRA_DIST = $(pdinstallref_DATA) $(pdinstallexp_DATA)
Note: See TracChangeset for help on using the changeset viewer.