From 6eeb126390f05a757f4060b2bae694de1eb4f4b3 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Tue, 10 Oct 2006 09:20:33 +0000 Subject: Build system tweaks --- examples/Makefile.am | 3 +++ examples/puredata/Makefile.am | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/Makefile.am b/examples/Makefile.am index 071f774..8ca132d 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1 +1,4 @@ +if BUILD_PD_EXAMPLE SUBDIRS = puredata +endif + diff --git a/examples/puredata/Makefile.am b/examples/puredata/Makefile.am index c45fc32..97bad90 100644 --- a/examples/puredata/Makefile.am +++ b/examples/puredata/Makefile.am @@ -22,12 +22,12 @@ INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir) #AM_LDFLAGS = -L$(top_builddir)/src/.libs -lxtract -export_dynamic -shared AM_CFLAGS = @PD_CFLAGS@ -AM_LDFLAGS = @PD_LDFLAGS@ -lxtract +AM_LDFLAGS = @PD_LDFLAGS@ -lxtract -L$(top_builddir)/src/ ## Install the documentation. install: - -mv xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@ + -mv $(top_builddir)/examples/puredata/.libs/xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@ #pdinstallref_DATA = \ # help/aubioonset-help.pd \ -- cgit v1.2.3