Commit 245af9ef authored by Generic for IPNL's avatar Generic for IPNL
Browse files

To compile the ganil library, it must be explicitly indicated during the...

To compile the ganil library, it must be explicitly indicated during the configuration with --enable-ganil.
README is now full of good informations. - 0.Stezowski 


git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@7 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent 539a7ad0
* CONFIGURATION
**** CONFIGURATION *****
Usage: configure [OPTION]... [VAR=VALUE]...
directories that can be modified with configure:
--libdir=DIR object code libraries [EPREFIX/lib]
--libdir=DIR object code libraries [EPREFIX/lib]
--bindir=DIR user executables [EPREFIX/bin]
--includedir=DIR C header files [PREFIX/include]
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/home/snil/snil/local/soft/rh9/root]
[$(GAMMAWARE)]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
By default, `make install' will install all the files in
`/home/snil/snil/local/soft/rh9/root/bin', `/home/snil/snil/local/soft/rh9/root/lib' etc. You can specify
an installation prefix other than `/home/snil/snil/local/soft/rh9/root' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data [PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
You can specify an installation prefix using `--prefix'. For instance `--prefix=$HOME'.
To build the ganil library,
--enable-ganil enable to build the GANIL library
Some influential environment variables:
ROOTSYS
Must exist if ROOT is installed on you computer.
Otherwise, install ROOT first (http://root.cern.ch).
DOXYGENOUT
Output directory for documentation generated by doxygen.
An html doucmentation is generated for the GammaWare
by using doxygen. You can modify the output directory
during the
by setting this environment variable before calling configure.
If configure has already been called, the ouput directory can modified
directly inside Doxyfile by changing OUTPUT_DIRECTORY.
***** COMPILATION *****
* COMPILATION
For the moment, the root facilities are used to compile the package,
mainly for the compiler's options. So, the compilation will be not
be affected if you modify CC, CFLAGS ... etc.
be affected if you modify CC, CFLAGS ... etc before running configure.
If you need to modify anything, check out your platform system as
known by ROOT with:
root-config --arch
and modify the corresponding part in the config/Makefile.root file.
To built each individual sub-packages, gmake is used as a default
It can be changed during the configuration, ex:
configure 'MAKE=make -f Makefile'
To build the gammaware package:
gmake/make -f Makefile.root
and to install it
gmake/make -f Makefile.root install
Directories to install applications, includes and libraries can be
modified as usual: configure --help (default is ROOTSYS for prefix)
In case of problems, please report stezow@ipnl.in2p3.fr
---------------------------------------------------------------------
The general Makefile uses the MAKE variables to build individual packages.
It can be changed with, for instance with:
configure 'MAKE=gmake'
Any problems/suggestions, please contact stezow@ipnl.in2p3.fr
......@@ -845,6 +845,12 @@ if test -n "$ac_init_help"; then
esac
cat <<\_ACEOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-ganil enable to build the GANIL library
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
......@@ -2885,8 +2891,16 @@ fi
SUBPROJETS='src/root/physics src/root/gem src/root/tools src/system src/root/ganil'
# Check whether --enable-ganil or --disable-ganil was given.
if test "${enable_ganil+set}" = set; then
enableval="$enable_ganil"
SUBPROJETS='src/root/physics src/root/gem src/root/tools src/system src/root/ganil'
\
else
SUBPROJETS='src/root/physics src/root/gem src/root/tools src/system'
fi;
ac_config_files="$ac_config_files Makefile"
......@@ -4009,7 +4023,9 @@ fi
echo " make Conf"
echo " To build the gammaware package:"
echo " make"
echo " and to install it:"
echo " To check out the current configuration:"
echo " make conf "
echo " and to install the package:"
echo " make install"
echo ""
echo " More informations about the configuration are availables in README"
......
......@@ -15,19 +15,19 @@
],
{
'm4_pattern_forbid' => 1,
'AC_TYPE_OFF_T' => 1,
'AC_C_VOLATILE' => 1,
'AC_TYPE_OFF_T' => 1,
'AC_FUNC_CLOSEDIR_VOID' => 1,
'AC_REPLACE_FNMATCH' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_FUNC_STAT' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_WAIT3' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_STRUCT_TM' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_STRUCT_TM' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_FUNC_GETMNTENT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_FUNC_STRTOD' => 1,
'AC_CHECK_HEADERS' => 1,
'AC_FUNC_STRNLEN' => 1,
......@@ -50,10 +50,10 @@
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FUNC_STRERROR_R' => 1,
'AC_PROG_CC' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_FORK' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_STRCOLL' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_PROG_YACC' => 1,
'AC_INIT' => 1,
'AC_STRUCT_TIMEZONE' => 1,
......@@ -78,29 +78,29 @@
'AC_HEADER_STAT' => 1,
'AC_C_INLINE' => 1,
'AC_PROG_CPP' => 1,
'AC_C_CONST' => 1,
'AC_PROG_LEX' => 1,
'AC_TYPE_PID_T' => 1,
'AC_PROG_LEX' => 1,
'AC_C_CONST' => 1,
'AC_CONFIG_FILES' => 1,
'include' => 1,
'AC_FUNC_SETVBUF_REVERSED' => 1,
'AC_PROG_INSTALL' => 1,
'AM_GNU_GETTEXT' => 1,
'AC_FUNC_OBSTACK' => 1,
'AC_CHECK_LIB' => 1,
'AC_FUNC_OBSTACK' => 1,
'AC_FUNC_MALLOC' => 1,
'AC_FUNC_GETGROUPS' => 1,
'AC_FUNC_GETLOADAVG' => 1,
'AH_OUTPUT' => 1,
'AC_FUNC_FSEEKO' => 1,
'AM_PROG_CC_C_O' => 1,
'AM_CONDITIONAL' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_FUNC_MKTIME' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_CONDITIONAL' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_HEADER_SYS_WAIT' => 1,
'AC_FUNC_MEMCMP' => 1,
'AC_PROG_LN_S' => 1,
'AC_FUNC_MEMCMP' => 1,
'm4_include' => 1,
'AC_HEADER_DIRENT' => 1,
'AC_CHECK_FUNCS' => 1
......
......@@ -105,13 +105,14 @@ m4trace:configure.in:26: -1- AC_SUBST([doxygenout], [($DOXYGENOUT)])
m4trace:configure.in:28: -1- AC_SUBST([doxygenout], [($PWD/doc)])
m4trace:configure.in:33: -1- AC_SUBST([ROOTCINT_FOUND], [$ac_cv_path_ROOTCINT_FOUND])
m4trace:configure.in:35: -1- AC_SUBST([ROOTCONF_FOUND], [$ac_cv_path_ROOTCONF_FOUND])
m4trace:configure.in:43: -1- AC_SUBST([SUBPROJETS], ['src/root/physics src/root/gem src/root/tools src/system src/root/ganil'])
m4trace:configure.in:46: -1- AC_CONFIG_FILES([ Makefile ])
m4trace:configure.in:47: -1- AC_CONFIG_FILES([ Doxyfile ])
m4trace:configure.in:48: -1- AC_CONFIG_FILES([ src/root/physics/Makefile ])
m4trace:configure.in:49: -1- AC_CONFIG_FILES([ src/root/gem/Makefile ])
m4trace:configure.in:50: -1- AC_CONFIG_FILES([ src/root/tools/Makefile ])
m4trace:configure.in:51: -1- AC_CONFIG_FILES([ src/system/Makefile ])
m4trace:configure.in:52: -1- AC_CONFIG_FILES([ src/root/ganil/Makefile ])
m4trace:configure.in:53: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:53: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.in:44: -1- AC_SUBST([SUBPROJETS], ['src/root/physics src/root/gem src/root/tools src/system src/root/ganil'])
m4trace:configure.in:44: -1- AC_SUBST([SUBPROJETS], ['src/root/physics src/root/gem src/root/tools src/system'])
m4trace:configure.in:49: -1- AC_CONFIG_FILES([ Makefile ])
m4trace:configure.in:50: -1- AC_CONFIG_FILES([ Doxyfile ])
m4trace:configure.in:51: -1- AC_CONFIG_FILES([ src/root/physics/Makefile ])
m4trace:configure.in:52: -1- AC_CONFIG_FILES([ src/root/gem/Makefile ])
m4trace:configure.in:53: -1- AC_CONFIG_FILES([ src/root/tools/Makefile ])
m4trace:configure.in:54: -1- AC_CONFIG_FILES([ src/system/Makefile ])
m4trace:configure.in:55: -1- AC_CONFIG_FILES([ src/root/ganil/Makefile ])
m4trace:configure.in:56: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:56: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
......@@ -845,6 +845,12 @@ if test -n "$ac_init_help"; then
esac
cat <<\_ACEOF
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-ganil enable to build the GANIL library
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
......@@ -2885,8 +2891,16 @@ fi
SUBPROJETS='src/root/physics src/root/gem src/root/tools src/system src/root/ganil'
# Check whether --enable-ganil or --disable-ganil was given.
if test "${enable_ganil+set}" = set; then
enableval="$enable_ganil"
SUBPROJETS='src/root/physics src/root/gem src/root/tools src/system src/root/ganil'
\
else
SUBPROJETS='src/root/physics src/root/gem src/root/tools src/system'
fi;
ac_config_files="$ac_config_files Makefile"
......@@ -4009,7 +4023,9 @@ fi
echo " make Conf"
echo " To build the gammaware package:"
echo " make"
echo " and to install it:"
echo " To check out the current configuration:"
echo " make conf "
echo " and to install the package:"
echo " make install"
echo ""
echo " More informations about the configuration are availables in README"
......
......@@ -34,15 +34,18 @@ AC_PATH_PROG(ROOTCINT_FOUND, rootcint, no)
dnl check for root-config
AC_PATH_PROG(ROOTCONF_FOUND, root-config, no)
dnl Files to be processed by configure
dnl
dnl Configuration option for building.
dnl
dnl to include ganil just add it to the list ...
AC_SUBST(SUBPROJETS,['src/root/physics src/root/gem src/root/tools src/system src/root/ganil'])
dnl AC_SUBST(SUBPROJETS,['src/root/physics src/root/gem src/root/tools src/system src/root/ganil'])
dnl to include ganil
AC_ARG_ENABLE(ganil,AC_HELP_STRING([--enable-ganil],[enable to build the GANIL library])
,[AC_SUBST(SUBPROJETS,['src/root/physics src/root/gem src/root/tools src/system src/root/ganil'])] \
,[AC_SUBST(SUBPROJETS,['src/root/physics src/root/gem src/root/tools src/system'])])
dnl
dnl Files to be processed by configure
dnl
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ Doxyfile ])
AC_CONFIG_FILES([ src/root/physics/Makefile ])
......@@ -74,7 +77,9 @@ fi
echo " make Conf"
echo " To build the gammaware package:"
echo " make"
echo " and to install it:"
echo " To check out the current configuration:"
echo " make conf "
echo " and to install the package:"
echo " make install"
echo ""
echo " More informations about the configuration are availables in README"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment