/[PAMELA software]/DarthVader/Makefile
ViewVC logotype

Diff of /DarthVader/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by mocchiut, Tue Nov 7 17:12:40 2006 UTC revision 1.22 by mocchiut, Thu Nov 9 14:44:05 2006 UTC
# Line 41  CXX=g++ Line 41  CXX=g++
41  CXXFLAGS=-Wall -O -fPIC -pthread  CXXFLAGS=-Wall -O -fPIC -pthread
42  # ROOTCINT  # ROOTCINT
43  ROOTCINT=rootcint  ROOTCINT=rootcint
44    #CERNLIB
45    CERNLIB=./docs/cernlib_pam
46    #CERNLIB=cernlib
47    
48  # Here the variables definig the local directories  # Here the variables definig the local directories
49  DIRTOP=${shell pwd}  DIRTOP=${shell pwd}
50  #DIRLIB=../lib/${ARCH}  #DIRLIB=../lib/${ARCH}
# Line 205  ${LIBCPPLIBS}: ${LIBSRCS} ${COBJS} ${FOB Line 209  ${LIBCPPLIBS}: ${LIBSRCS} ${COBJS} ${FOB
209    
210  ${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXXEXEOBJS}  ${CXXEXELIBS}: ${CPPOBJS} ${COBJS} ${CXXEXEOBJS}
211          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})          @(${EGREEN} "Creating exec file: "${WHITE} "$@"; ${RESET})
212          @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${OBJS} ${PAM_LIB}/libGLTables.so ${PAM_LIB}/libsgp4.so ${PAM_YODA}/lib/libyoda.so ${PAM_LIB}/libshift.so -lThread `root-config --cflags --glibs` `cernlib_noshift mathlib`          @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${OBJS} ${PAM_LIB}/libGLTables.so ${PAM_LIB}/libsgp4.so ${PAM_YODA}/lib/libyoda.so -lThread `root-config --cflags --glibs` `${CERNLIB} mathlib`
213          @${CXX} ${CXXFLAGS} -Xlinker -soname=libDarthVader_${VER}.so -shared -o ${DIRTOP}/${DIRLIB}/libDarthVader_${VER}.so -lg2c ${DIRTOP}/${DIRLIB}/libAcLevel2.so ${DIRTOP}/${DIRLIB}/libCaloLevel2.so  ${PAM_LIB}/libsgp4.so ${DIRTOP}/${DIRLIB}/libNDLevel2.so ${DIRTOP}/${DIRLIB}/libS4Level2.so ${DIRTOP}/${DIRLIB}/libToFLevel2.so ${DIRTOP}/${DIRLIB}/libTrigLevel2.so ${DIRTOP}/${DIRLIB}/libTrkLevel2.so ${DIRTOP}/${DIRLIB}/libTrkLevel1.so ${PAM_LIB}/libGLTables.so ${DIRTOP}/${DIRLIB}/libRunInfo.so ${DIRTOP}/${DIRLIB}/libOrbitalInfo.so          @${CXX} ${CXXFLAGS} -Xlinker -soname=libDarthVader_${VER}.so -shared -o ${DIRTOP}/${DIRLIB}/libDarthVader_${VER}.so -lg2c ${DIRTOP}/${DIRLIB}/libAcLevel2.so ${DIRTOP}/${DIRLIB}/libCaloLevel2.so  ${PAM_LIB}/libsgp4.so ${DIRTOP}/${DIRLIB}/libNDLevel2.so ${DIRTOP}/${DIRLIB}/libS4Level2.so ${DIRTOP}/${DIRLIB}/libToFLevel2.so ${DIRTOP}/${DIRLIB}/libTrigLevel2.so ${DIRTOP}/${DIRLIB}/libTrkLevel2.so ${DIRTOP}/${DIRLIB}/libTrkLevel1.so ${PAM_LIB}/libGLTables.so ${DIRTOP}/${DIRLIB}/libRunInfo.so ${DIRTOP}/${DIRLIB}/libOrbitalInfo.so  `${CERNLIB} mathlib`
214  #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${OBJS} ${PAM_YODA}/lib/libyoda.so ${PAM_YODA}/lib/libutils.so -lThread `root-config --cflags --glibs` `cernlib mathlib`  #       @${CXX} ${CXXFLAGS} -o ${DIRBIN}/$@ ${DIRTOP}/${DIRLIB}/$@.o ${OBJS} ${PAM_YODA}/lib/libyoda.so ${PAM_YODA}/lib/libutils.so -lThread `root-config --cflags --glibs` `cernlib mathlib`
215    
216  # A small target to check environmental variables  # A small target to check environmental variables
# Line 265  upgrade: Line 269  upgrade:
269  locupgrade: FORCE=-u  locupgrade: FORCE=-u
270  locupgrade: locinstall  locupgrade: locinstall
271    
272    upgradenc:
273            @for dir in `echo ${SUBDIR}`; do  \
274             echo "Making upgrade in $${dir}"; \
275             (cd $${dir} && ${MAKE} upgrade); \
276            done; make locupgradenc
277    
278    locupgradenc: FORCE=-u
279    locupgradenc: locinstallnc
280    
281  install:  install:
282          @for dir in `echo ${SUBDIR}`; do  \          @for dir in `echo ${SUBDIR}`; do  \
283           echo "Making install in $${dir}"; \           echo "Making install in $${dir}"; \
# Line 273  install: Line 286  install:
286    
287  locinstall: installlib installinc installmacros installcalib installdoc installexe installcmacro  locinstall: installlib installinc installmacros installcalib installdoc installexe installcmacro
288    
289    locinstallnc: installlib installinc installmacros installdoc installexe installcmacro
290    
291  installlib: LINK=y  installlib: LINK=y
292  installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%)  installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%)
293  installlib: ORIGIN=${DIRLIB}  installlib: ORIGIN=${DIRLIB}

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.23