aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2011-12-26 17:37:43 +0000
committerStrangerke2012-04-06 08:18:16 +0200
commitb193c92a6e9e181ecc84fdd0eb652c901d3b27ec (patch)
treebbdfbb5c8257670abf0420537538a7df107a7fe0
parente6a0c23d2c57461305906cb4c62b2b6962915264 (diff)
downloadscummvm-rg350-b193c92a6e9e181ecc84fdd0eb652c901d3b27ec.tar.gz
scummvm-rg350-b193c92a6e9e181ecc84fdd0eb652c901d3b27ec.tar.bz2
scummvm-rg350-b193c92a6e9e181ecc84fdd0eb652c901d3b27ec.zip
MORTEVIELLE: Plug the engine into makefiles
-rw-r--r--base/plugins.cpp3
-rwxr-xr-xconfigure1
-rw-r--r--engines/mortevielle/module.mk32
3 files changed, 36 insertions, 0 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index db8a5d8817..1c4e6f1934 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -139,6 +139,9 @@ public:
#if PLUGIN_ENABLED_STATIC(MOHAWK)
LINK_PLUGIN(MOHAWK)
#endif
+ #if PLUGIN_ENABLED_STATIC(MORTEVIELLE)
+ LINK_PLUGIN(MORTEVIELLE)
+ #endif
#if PLUGIN_ENABLED_STATIC(PARALLACTION)
LINK_PLUGIN(PARALLACTION)
#endif
diff --git a/configure b/configure
index 82620f3afd..7a557df59e 100755
--- a/configure
+++ b/configure
@@ -101,6 +101,7 @@ add_engine lastexpress "The Last Express" no
add_engine lure "Lure of the Temptress" yes
add_engine made "MADE" yes
add_engine mohawk "Mohawk" yes "cstime myst riven"
+add_engine mortevielle "Mortevielle" no
add_engine cstime "Where in Time is Carmen Sandiego?" no
add_engine riven "Riven: The Sequel to Myst" no
add_engine myst "Myst" no
diff --git a/engines/mortevielle/module.mk b/engines/mortevielle/module.mk
new file mode 100644
index 0000000000..6569d7038c
--- /dev/null
+++ b/engines/mortevielle/module.mk
@@ -0,0 +1,32 @@
+MODULE := engines/mortevielle
+
+MODULE_OBJS := \
+ actions.o \
+ alert.o \
+ boite.o \
+ disk.o \
+ droite.o \
+ keyboard.o \
+ level15.o \
+ menu.o \
+ mor.o \
+ mor2.o \
+ mort.o \
+ mouse.o \
+ outtext.o \
+ ovd1.o \
+ parole.o \
+ parole2.o \
+ prog.o \
+ ques.o \
+ sprint.o \
+ taffich.o \
+ var_mor.o
+
+# This module can be built as a plugin
+ifeq ($(ENABLE_MORTEVIELLE), DYNAMIC_PLUGIN)
+PLUGIN := 1
+endif
+
+# Include common rules
+include $(srcdir)/rules.mk