version 1.40, 2001/07/27 16:06:15 |
version 1.45, 2001/08/01 17:15:45 |
| |
CXXFLAGS="$CXXFLAGS " | CXXFLAGS="$CXXFLAGS " |
| |
| |
dnl The src disrectory is put in the include search path to be able to | |
dnl include internals headers from anywere in code without using relativ | |
dnl path | |
CFLAGS="$CFLAGS -I$srcdir/src" | |
CXXFLAGS="$CXXFLAGS -I$srcdir/src" | |
| |
| |
dnl ==================================================================== | dnl ==================================================================== |
dnl Checks NeL modules (net, 3d, ai) to install / Disable | dnl Checks NeL modules (net, 3d, ai) to install / Disable |
| |
| |
NEL_SUBDIRS="misc" | NEL_SUBDIRS="misc" |
| |
dnl Network library | dnl Network library |
AC_ARG_ENABLE( network, | AC_ARG_ENABLE( net, |
[ --disable-network disable compilation and install of NeL Network.], | [ --disable-net disable compilation and install of NeL Network.], |
[ AC_MSG_RESULT(disable NEL Network.) ], | , enable_net=yes ) |
[ NEL_SUBDIRS="$NEL_SUBDIRS net" ] ) | |
| if test $enable_net = "no"; |
| then |
| AC_MSG_RESULT(disable NEL Network.) |
| else |
| NEL_SUBDIRS="$NEL_SUBDIRS net" |
| fi |
| |
dnl 3D library | dnl 3D library |
AC_ARG_ENABLE( 3d, | AC_ARG_ENABLE( 3d, |
[ --disable-3d disable compilation and install of NeL 3D.], | [ --disable-3d disable compilation and install of NeL 3D.], |
[ AC_MSG_RESULT(disable NEL 3D.) ], | , enable_3d=yes ) |
[ NEL_SUBDIRS="$NEL_SUBDIRS 3d" ] ) | |
| if test $enable_3d = "no"; |
| then |
| AC_MSG_RESULT(disable NEL 3D.) |
| else |
| NEL_SUBDIRS="$NEL_SUBDIRS 3d" |
| fi |
| |
dnl PACS library | dnl PACS library |
AC_ARG_ENABLE( pacs, | AC_ARG_ENABLE( pacs, |
[ --disable-pacs disable compilation and install of NeL PACS.], | [ --disable-pacs disable compilation and install of NeL PACS.], |
[ AC_MSG_RESULT(disable NEL PACS.) ], | , enable_pacs=yes ) |
[ NEL_SUBDIRS="$NEL_SUBDIRS pacs" ] ) | |
| if test $enable_pacs = "no"; |
| then |
| AC_MSG_RESULT(disable NEL PACS.) |
| else |
| NEL_SUBDIRS="$NEL_SUBDIRS pacs" |
| fi |
| |
| dnl Sound library |
| AC_ARG_ENABLE( sound, |
| [ --enable-sound enable compilation and install of NeL Sound.], |
| , enable_sound=no ) |
| |
| if test $enable_sound = "yes"; |
| then |
| AC_MSG_RESULT(enable NEL Sound.) |
| NEL_SUBDIRS="$NEL_SUBDIRS sound" |
| fi |
| |
dnl AI library | dnl AI library |
AC_ARG_ENABLE( ai, | AC_ARG_ENABLE( ai, |
[ --disable-ai disable compilation and install of NeL AI.], | [ --enable-ai enable compilation and install of NeL AI.], |
[ AC_MSG_RESULT(disable NEL AI.) ], | , enable_ai=no ) |
[ NEL_SUBDIRS="$NEL_SUBDIRS ai" ] ) | |
| if test $enable_ai = "yes"; |
| then |
| AC_MSG_RESULT(enable NEL AI.) |
| NEL_SUBDIRS="$NEL_SUBDIRS ai" |
| fi |
| |
AC_SUBST(NEL_SUBDIRS) | AC_SUBST(NEL_SUBDIRS) |
| |
| |
include/nel/net/Makefile \ | include/nel/net/Makefile \ |
include/nel/3d/Makefile \ | include/nel/3d/Makefile \ |
include/nel/pacs/Makefile \ | include/nel/pacs/Makefile \ |
| include/nel/sound/Makefile \ |
include/nel/ai/Makefile \ | include/nel/ai/Makefile \ |
include/nel/ai/agent/Makefile \ | include/nel/ai/agent/Makefile \ |
include/nel/ai/c/Makefile \ | include/nel/ai/c/Makefile \ |
| |
src/3d/driver/Makefile \ | src/3d/driver/Makefile \ |
src/3d/driver/opengl/Makefile \ | src/3d/driver/opengl/Makefile \ |
src/pacs/Makefile \ | src/pacs/Makefile \ |
| src/sound/Makefile \ |
| src/sound/driver/Makefile \ |
| src/sound/driver/openal/Makefile \ |
src/ai/Makefile \ | src/ai/Makefile \ |
src/ai/agent/Makefile \ | src/ai/agent/Makefile \ |
src/ai/c/Makefile \ | src/ai/c/Makefile \ |