51 |
# Here the PAMELA environmental variables to be checked |
# Here the PAMELA environmental variables to be checked |
52 |
PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env |
PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env |
53 |
# |
# |
54 |
SUBDIR=../GLTables |
SUBDIR= |
55 |
SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done) |
SUBINC=-I${PAM_YODA}/include/yoda/ -I${PAM_INC}/ |
56 |
|
#SUBINC=$(shell for dir in `echo ${SUBDIR}`; do echo -I$${dir}/inc; done) |
57 |
|
|
58 |
# Here the local variables used to build the targets |
# Here the local variables used to build the targets |
59 |
# -- F77 - no libraries -- |
# -- F77 - no libraries -- |
89 |
CXXEXELIBS=RunInfoLevel2 |
CXXEXELIBS=RunInfoLevel2 |
90 |
|
|
91 |
# Other needed libraries |
# Other needed libraries |
92 |
OTHOBJS = ${DIRLIB}/libGLTables.so |
OTHOBJS = ${PAM_LIB}/libGLTables.so |
93 |
|
|
94 |
# List of all libraries we want to install |
# List of all libraries we want to install |
95 |
FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPPLIBS} |
FULLLIBS = ${FULLROOTCLIBS} ${FULLLIBCPPLIBS} |
142 |
|
|
143 |
${DIRLIB}/%.o: ${DIRSRC}/%.c |
${DIRLIB}/%.o: ${DIRSRC}/%.c |
144 |
@(${EGREEN} "Creating C object file: "${WHITE} "`basename $@`"; ${RESET}) |
@(${EGREEN} "Creating C object file: "${WHITE} "`basename $@`"; ${RESET}) |
145 |
@${CXX} ${CXXFLAGS} -c -o $@ ${DIRSRC}/`basename ${@} .o`.c -I${DIRINC} -I${SUBINC} `root-config --cflags` |
@${CXX} ${CXXFLAGS} -c -o $@ ${DIRSRC}/`basename ${@} .o`.c -I${DIRINC} ${SUBINC} `root-config --cflags` |
146 |
|
|
147 |
${DIRLIB}/%.o: ${DIRSRC}/%.for |
${DIRLIB}/%.o: ${DIRSRC}/%.for |
148 |
@(${EGREEN} "Creating F77 object file: "${WHITE} "`basename $@`"; ${RESET}) |
@(${EGREEN} "Creating F77 object file: "${WHITE} "`basename $@`"; ${RESET}) |