aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-08 23:27:31 +0000
committerDavid Robillard <d@drobilla.net>2007-12-08 23:27:31 +0000
commit61e1a1a8a5b4934d2bed752967d3cf2446946745 (patch)
tree7d68970a39bae784ef04936f3dce23e4da50a7a3 /src/engine
parent8b186d26598af398c6bd8f21933b548eccff1edd (diff)
downloadmachina-61e1a1a8a5b4934d2bed752967d3cf2446946745.tar.gz
machina-61e1a1a8a5b4934d2bed752967d3cf2446946745.tar.bz2
machina-61e1a1a8a5b4934d2bed752967d3cf2446946745.zip
Fix compilation w/o Eugene.
git-svn-id: http://svn.drobilla.net/lad/machina@966 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/Makefile.am8
-rw-r--r--src/engine/Problem.cpp2
-rw-r--r--src/engine/machina/Problem.hpp3
3 files changed, 8 insertions, 5 deletions
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 <machina/Edge.hpp>
#include <raul/SMFReader.hpp>
#include <raul/midi_events.h>
-#include <eugene/core/Problem.hpp>
+ #include <eugene/core/Problem.hpp>
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 <map>
#include <raul/MIDISink.hpp>
-#include <eugene/core/Problem.hpp>
#include <machina/Machine.hpp>
namespace Machina {