aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2006-05-23 23:51:59 +0000
committerEugene Sandulenko2006-05-23 23:51:59 +0000
commit9b5c97ce6635c81da6d26eea701c4bbbad3e023f (patch)
tree5ea369aac5ea2df692f1b19d7c7e4c3a2d548efe
parent107073537e4ad24e294e28a2a62f8d3ad33008ff (diff)
downloadscummvm-rg350-9b5c97ce6635c81da6d26eea701c4bbbad3e023f.tar.gz
scummvm-rg350-9b5c97ce6635c81da6d26eea701c4bbbad3e023f.tar.bz2
scummvm-rg350-9b5c97ce6635c81da6d26eea701c4bbbad3e023f.zip
update make subsystem
svn-id: r22591
-rwxr-xr-xconfigure14
-rw-r--r--engines/module.mk6
2 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 3afa02a4e3..7c8e38d899 100755
--- a/configure
+++ b/configure
@@ -59,6 +59,7 @@ _build_gob=yes
_build_kyra=yes
_build_lure=no
_build_cine=no
+_build_agi=no
_need_memalign=no
_build_plugins=no
_nasm=auto
@@ -312,6 +313,7 @@ Optional Features:
--disable-kyra don't build the Legend of Kyrandia engine
--enable-lure build the Lure of the Temptress engine
--enable-cine build the Cinematique engine evo 1
+ --enable-agi build the AGI engine
--enable-plugins build engines as loadable modules instead of
static linking them
--disable-mt32emu don't enable the integrated MT-32 emulator
@@ -379,6 +381,7 @@ for ac_option in $@; do
--disable-kyra) _build_kyra=no ;;
--enable-lure) _build_lure=yes ;;
--enable-cine) _build_cine=yes ;;
+ --enable-agi) _build_agi=yes ;;
--disable-hq-scalers) _build_hq_scalers=no ;;
--disable-scalers) _build_scalers=no ;;
--enable-alsa) _alsa=yes ;;
@@ -718,6 +721,12 @@ else
_mak_cine='# DISABLE_CINE = 1'
fi
+if test "$_build_agi" = no ; then
+ _mak_agi='DISABLE_AGI = 1'
+else
+ _mak_agi='# DISABLE_AGI = 1'
+fi
+
if test "$_build_hq_scalers" = no ; then
_mak_hq_scalers='DISABLE_HQ_SCALERS = 1'
else
@@ -1287,6 +1296,10 @@ if test "$_build_cine" = yes ; then
echo " Cinematique evo 1"
fi
+if test "$_build_agi" = yes ; then
+ echo " AGI"
+fi
+
echo
echo_n "Backend... "
@@ -1424,6 +1437,7 @@ $_mak_saga
$_mak_gob
$_mak_lure
$_mak_cine
+$_mak_agi
$_mak_mt32emu
$_mak_hq_scalers
diff --git a/engines/module.mk b/engines/module.mk
index 0f5a2f265b..eee601b9fd 100644
--- a/engines/module.mk
+++ b/engines/module.mk
@@ -73,3 +73,9 @@ else
MODULES += engines/cine
endif
+ifdef DISABLE_AGI
+DEFINES += -DDISABLE_AGI
+else
+MODULES += engines/agi
+endif
+