5 |
dnl changing all the relative path for all the files involved in the code! |
dnl changing all the relative path for all the files involved in the code! |
6 |
dnl this will be called in the all the other MAKEFILEs as "@top_srcdir@" |
dnl this will be called in the all the other MAKEFILEs as "@top_srcdir@" |
7 |
AC_INIT(event/PamelaRun.h) |
AC_INIT(event/PamelaRun.h) |
8 |
|
AC_CONFIG_HEADER(dummy.h) |
9 |
|
|
10 |
dnl Adds several standard checks. It takes the program name and version number as arguments. |
dnl Adds several standard checks. It takes the program name and version number as arguments. |
11 |
AM_INIT_AUTOMAKE([yoda],[4.0.0]) |
AM_INIT_AUTOMAKE([yoda],[4.2.4]) |
12 |
|
|
13 |
dnl Indicates that you will be using a config.h file |
dnl Indicates that you will be using a config.h file |
14 |
dnl config.h will be generated by AUTOCONF using a confing.h.in file |
dnl config.h will be generated by AUTOCONF using a confing.h.in file |
74 |
|
|
75 |
ROOT_LIBRARY="${ROOTSYS}/lib" |
ROOT_LIBRARY="${ROOTSYS}/lib" |
76 |
|
|
77 |
ROOT_LDFLAGS=" \ |
ROOT_LDFLAGS=" \ |
78 |
${ROOT_LIBRARY}/libCint.so ${ROOT_LIBRARY}/libCore.so \ |
${ROOT_LIBRARY}/libCint.so ${ROOT_LIBRARY}/libCore.so \ |
79 |
${ROOT_LIBRARY}/libMatrix.so ${ROOT_LIBRARY}/libHist.so \ |
${ROOT_LIBRARY}/libTree.so \ |
|
${ROOT_LIBRARY}/libTree.so ${ROOT_LIBRARY}/libGraf.so \ |
|
|
${ROOT_LIBRARY}/libGraf3d.so ${ROOT_LIBRARY}/libGpad.so \ |
|
|
${ROOT_LIBRARY}/libGui.so ${ROOT_LIBRARY}/libMinuit.so \ |
|
|
${ROOT_LIBRARY}/libHistPainter.so ${ROOT_LIBRARY}/libTreePlayer.so \ |
|
|
${ROOT_LIBRARY}/libTreeViewer.so ${ROOT_LIBRARY}/libProof.so \ |
|
|
${ROOT_LIBRARY}/libProofGui.so ${ROOT_LIBRARY}/libPhysics.so \ |
|
|
${ROOT_LIBRARY}/libRint.so ${ROOT_LIBRARY}/libHtml.so \ |
|
|
${ROOT_LIBRARY}/libEG.so ${ROOT_LIBRARY}/libGeom.so \ |
|
|
${ROOT_LIBRARY}/libGeomPainter.so ${ROOT_LIBRARY}/libVMC.so \ |
|
|
${ROOT_LIBRARY}/libFumili.so ${ROOT_LIBRARY}/libMLP.so \ |
|
|
${ROOT_LIBRARY}/libGedOld.so ${ROOT_LIBRARY}/libGed.so \ |
|
|
${ROOT_LIBRARY}/libQuadp.so \ |
|
|
${ROOT_LIBRARY}/libGX11.so ${ROOT_LIBRARY}/libGX11TTF.so \ |
|
|
${ROOT_LIBRARY}/libX3d.so \ |
|
|
${ROOT_LIBRARY}/libASImage.so \ |
|
|
${ROOT_LIBRARY}/libThread.so \ |
|
80 |
-ldl" |
-ldl" |
81 |
|
|
82 |
|
|
102 |
[--with-log4cxx=path Use the specified directroy for log4cxx], |
[--with-log4cxx=path Use the specified directroy for log4cxx], |
103 |
LOG4CXX=$with_log4cxx,) |
LOG4CXX=$with_log4cxx,) |
104 |
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
105 |
|
AC_SUBST(LOG4CXX_INCLUDES) |
106 |
|
#------------------------------------------------------------ |
107 |
|
AC_ARG_WITH(log4cxx, |
108 |
|
[--with-log4cxx=path Use the specified directroy for log4cxx], |
109 |
|
LOG4CXX=$with_log4cxx,) |
110 |
|
|
111 |
|
LOG4CXX_LIBRARY="${LOG4CXX}/lib" |
112 |
|
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
113 |
|
LOG4CXX_LDFLAGS=" ${LOG4CXX_LIBRARY}/liblog4cxx.so " |
114 |
|
|
115 |
|
AC_SUBST(LOG4CXX_INCLUDES) |
116 |
|
AC_SUBST(LOG4CXX_LDFLAGS) |
117 |
|
AC_SUBST(LOG4CXX_LIBRARY) |
118 |
|
#------------------------------------------------------------ |
119 |
|
|
120 |
|
|
121 |
|
|
122 |
dnl Checks for header files. |
dnl Checks for header files. |
123 |
AC_HEADER_STDC |
AC_HEADER_STDC |