From 61e1a1a8a5b4934d2bed752967d3cf2446946745 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Dec 2007 23:27:31 +0000 Subject: Fix compilation w/o Eugene. git-svn-id: http://svn.drobilla.net/lad/machina@966 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/Makefile.am | 8 +++++--- src/engine/Problem.cpp | 2 +- src/engine/machina/Problem.hpp | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'src/engine') diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am index e79502e..ccfae64 100644 --- a/src/engine/Makefile.am +++ b/src/engine/Makefile.am @@ -10,7 +10,6 @@ libmachina_la_SOURCES = \ ActionFactory.cpp \ Edge.cpp \ Engine.cpp \ - Evolver.cpp \ LearnRequest.cpp \ Loader.cpp \ Machine.cpp \ @@ -18,10 +17,13 @@ libmachina_la_SOURCES = \ MidiAction.cpp \ Mutation.cpp \ Node.cpp \ - Problem.cpp \ Recorder.cpp \ SMFDriver.cpp if WITH_JACK -libmachina_la_SOURCES += JackDriver.cpp jack_compat.h +libmachina_la_SOURCES += JackDriver.cpp +endif + +if WITH_EUGENE +libmachina_la_SOURCES += Evolver.cpp Problem.cpp endif diff --git a/src/engine/Problem.cpp b/src/engine/Problem.cpp index 83f9d51..dfbe038 100644 --- a/src/engine/Problem.cpp +++ b/src/engine/Problem.cpp @@ -27,7 +27,7 @@ #include #include #include -#include + #include using namespace std; diff --git a/src/engine/machina/Problem.hpp b/src/engine/machina/Problem.hpp index 067be51..b6f3bdc 100644 --- a/src/engine/machina/Problem.hpp +++ b/src/engine/machina/Problem.hpp @@ -18,9 +18,10 @@ #ifndef MACHINA_PROBLEM_HPP #define MACHINA_PROBLEM_HPP +#include CONFIG_H_PATH + #include #include -#include #include namespace Machina { -- cgit v1.2.1