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],[0.1.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 |
73 |
|
|
74 |
ROOT_LIBRARY="${ROOTSYS}/lib" |
ROOT_LIBRARY="${ROOTSYS}/lib" |
75 |
|
|
76 |
ROOT_LDFLAGS="${ROOT_LIBRARY}/libXrdRootd.so ${ROOT_LIBRARY}/libXrdSec.so \ |
ROOT_LDFLAGS=" \ |
77 |
${ROOT_LIBRARY}/libCint.so ${ROOT_LIBRARY}/libCore.so \ |
${ROOT_LIBRARY}/libCint.so ${ROOT_LIBRARY}/libCore.so \ |
78 |
${ROOT_LIBRARY}/libMatrix.so ${ROOT_LIBRARY}/libHist.so \ |
${ROOT_LIBRARY}/libMatrix.so ${ROOT_LIBRARY}/libHist.so \ |
79 |
${ROOT_LIBRARY}/libTree.so ${ROOT_LIBRARY}/libGraf.so \ |
${ROOT_LIBRARY}/libTree.so ${ROOT_LIBRARY}/libGraf.so \ |
87 |
${ROOT_LIBRARY}/libGeomPainter.so ${ROOT_LIBRARY}/libVMC.so \ |
${ROOT_LIBRARY}/libGeomPainter.so ${ROOT_LIBRARY}/libVMC.so \ |
88 |
${ROOT_LIBRARY}/libFumili.so ${ROOT_LIBRARY}/libMLP.so \ |
${ROOT_LIBRARY}/libFumili.so ${ROOT_LIBRARY}/libMLP.so \ |
89 |
${ROOT_LIBRARY}/libGedOld.so ${ROOT_LIBRARY}/libGed.so \ |
${ROOT_LIBRARY}/libGedOld.so ${ROOT_LIBRARY}/libGed.so \ |
90 |
${ROOT_LIBRARY}/libQuadp.so ${ROOT_LIBRARY}/libGuiBld.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}/libSrvAuth.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 |
${ROOT_LIBRARY}/libNetx.so -ldl" |
-ldl" |
96 |
|
|
97 |
|
|
98 |
ROOT_INCLUDES="-I${ROOTSYS}/include" |
ROOT_INCLUDES="-I${ROOTSYS}/include" |
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 |
141 |
dnl Indicates the name of the Makefile which will be generated |
dnl Indicates the name of the Makefile which will be generated |
142 |
dnl and the various subDirs where it will be generated one |
dnl and the various subDirs where it will be generated one |
143 |
dnl Add your own Makefiles to create here. |
dnl Add your own Makefiles to create here. |
144 |
AC_OUTPUT(Makefile Doxyfile \ |
AC_OUTPUT(Makefile Doxyfile \ |
145 |
event/Makefile \ |
event/Makefile \ |
146 |
|
|
147 |
dnl ------------------makes for Packets and SubPackets---------------- |
dnl ------------------makes for Packets and SubPackets---------------- |
148 |
event/mcmd/Makefile \ |
event/mcmd/Makefile \ |
149 |
event/tmtc/Makefile \ |
event/tmtc/Makefile \ |
150 |
event/log/Makefile \ |
event/log/Makefile \ |
151 |
event/arrDump/Makefile \ |
event/arrDump/Makefile \ |
152 |
event/tabDump/Makefile \ |
event/tabDump/Makefile \ |
153 |
event/varDump/Makefile \ |
event/varDump/Makefile \ |
154 |
event/physics/Makefile \ |
event/tsbt/Makefile \ |
155 |
event/physics/tracker/Makefile \ |
event/tsbb/Makefile \ |
156 |
event/physics/anticounter/Makefile \ |
event/endrun/Makefile \ |
157 |
event/physics/calorimeter/Makefile \ |
event/physics/Makefile \ |
158 |
|
event/physics/tracker/Makefile \ |
159 |
|
event/physics/anticounter/Makefile \ |
160 |
|
event/physics/calorimeter/Makefile \ |
161 |
event/physics/neutronDetector/Makefile \ |
event/physics/neutronDetector/Makefile \ |
162 |
event/physics/S4/Makefile \ |
event/physics/trigger/Makefile \ |
163 |
|
event/physics/tof/Makefile \ |
164 |
|
event/physics/S4/Makefile \ |
165 |
dnl ------------------makes for Packets and SubPackets---------------- |
dnl ------------------makes for Packets and SubPackets---------------- |
166 |
|
|
167 |
|
|
168 |
dnl ------------------makes for Techmodel Data---------------- |
dnl ------------------makes for Techmodel Data---------------- |
169 |
techmodel/Makefile \ |
techmodel/Makefile \ |
170 |
techmodel/forroutines/tracker/Makefile \ |
techmodel/forroutines/tracker/Makefile \ |
171 |
techmodel/forroutines/tracker/readraw/Makefile \ |
techmodel/forroutines/tracker/readraw/Makefile \ |
172 |
techmodel/forroutines/anticounter/Makefile \ |
techmodel/forroutines/anticounter/Makefile \ |
173 |
techmodel/forroutines/calorimeter/Makefile \ |
techmodel/forroutines/calorimeter/Makefile \ |
174 |
techmodel/forroutines/Makefile \ |
techmodel/forroutines/tof/Makefile \ |
175 |
techmodel/physics/Makefile \ |
techmodel/forroutines/trigger/Makefile \ |
176 |
|
techmodel/forroutines/Makefile \ |
177 |
|
techmodel/physics/Makefile \ |
178 |
dnl ------------------makes for Techmodel Data---------------- |
dnl ------------------makes for Techmodel Data---------------- |
179 |
) |
) |
180 |
|
|