From b193c92a6e9e181ecc84fdd0eb652c901d3b27ec Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 26 Dec 2011 17:37:43 +0000 Subject: MORTEVIELLE: Plug the engine into makefiles --- base/plugins.cpp | 3 +++ configure | 1 + engines/mortevielle/module.mk | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 engines/mortevielle/module.mk 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 -- cgit v1.2.3