7 |
AC_INIT(event/PamelaRun.h) |
AC_INIT(event/PamelaRun.h) |
8 |
|
|
9 |
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. |
10 |
AM_INIT_AUTOMAKE([yoda],[2.5.0]) |
AM_INIT_AUTOMAKE([yoda],[4.2.4]) |
11 |
|
|
12 |
dnl Indicates that you will be using a config.h file |
dnl Indicates that you will be using a config.h file |
13 |
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 |
52 |
|
|
53 |
dnl This will allow you to build code in sub-directories into temporary libraries, |
dnl This will allow you to build code in sub-directories into temporary libraries, |
54 |
dnl which MAKE will then link in with the rest of the code |
dnl which MAKE will then link in with the rest of the code |
55 |
AC_PROG_RANLIB |
dnl AC_PROG_RANLIB |
56 |
|
|
57 |
|
|
58 |
AC_PROG_MAKE_SET |
AC_PROG_MAKE_SET |
90 |
${ROOT_LIBRARY}/libQuadp.so \ |
${ROOT_LIBRARY}/libQuadp.so \ |
91 |
${ROOT_LIBRARY}/libGX11.so ${ROOT_LIBRARY}/libGX11TTF.so \ |
${ROOT_LIBRARY}/libGX11.so ${ROOT_LIBRARY}/libGX11TTF.so \ |
92 |
${ROOT_LIBRARY}/libX3d.so \ |
${ROOT_LIBRARY}/libX3d.so \ |
93 |
${ROOT_LIBRARY}/libRGL.so ${ROOT_LIBRARY}/libASImage.so \ |
${ROOT_LIBRARY}/libASImage.so \ |
94 |
${ROOT_LIBRARY}/libThread.so ${ROOT_LIBRARY}/libRXML.so \ |
${ROOT_LIBRARY}/libThread.so \ |
95 |
-ldl" |
-ldl" |
96 |
|
|
97 |
|
|
117 |
[--with-log4cxx=path Use the specified directroy for log4cxx], |
[--with-log4cxx=path Use the specified directroy for log4cxx], |
118 |
LOG4CXX=$with_log4cxx,) |
LOG4CXX=$with_log4cxx,) |
119 |
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
120 |
|
AC_SUBST(LOG4CXX_INCLUDES) |
121 |
|
#------------------------------------------------------------ |
122 |
|
AC_ARG_WITH(log4cxx, |
123 |
|
[--with-log4cxx=path Use the specified directroy for log4cxx], |
124 |
|
LOG4CXX=$with_log4cxx,) |
125 |
|
|
126 |
|
LOG4CXX_LIBRARY="${LOG4CXX}/lib" |
127 |
|
LOG4CXX_INCLUDES="-I${LOG4CXX}/include" |
128 |
|
LOG4CXX_LDFLAGS=" ${LOG4CXX_LIBRARY}/liblog4cxx.so " |
129 |
|
|
130 |
|
AC_SUBST(LOG4CXX_INCLUDES) |
131 |
|
AC_SUBST(LOG4CXX_LDFLAGS) |
132 |
|
AC_SUBST(LOG4CXX_LIBRARY) |
133 |
|
#------------------------------------------------------------ |
134 |
|
|
135 |
|
|
136 |
|
|
137 |
dnl Checks for header files. |
dnl Checks for header files. |
138 |
AC_HEADER_STDC |
AC_HEADER_STDC |
151 |
event/arrDump/Makefile \ |
event/arrDump/Makefile \ |
152 |
event/tabDump/Makefile \ |
event/tabDump/Makefile \ |
153 |
event/varDump/Makefile \ |
event/varDump/Makefile \ |
|
event/endrun/Makefile \ |
|
|
event/physics/Makefile \ |
|
154 |
event/tsbt/Makefile \ |
event/tsbt/Makefile \ |
155 |
event/tsbb/Makefile \ |
event/tsbb/Makefile \ |
156 |
|
event/endrun/Makefile \ |
157 |
|
event/physics/Makefile \ |
158 |
event/physics/tracker/Makefile \ |
event/physics/tracker/Makefile \ |
159 |
event/physics/anticounter/Makefile \ |
event/physics/anticounter/Makefile \ |
160 |
event/physics/calorimeter/Makefile \ |
event/physics/calorimeter/Makefile \ |