/[PAMELA software]/rawreader/Makefile
ViewVC logotype

Diff of /rawreader/Makefile

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

revision 1.1 by cafagna, Fri Sep 1 10:55:56 2006 UTC revision 1.2 by cafagna, Sun Dec 10 12:21:00 2006 UTC
# Line 2  Line 2 
2  # RawReader makefile  # RawReader makefile
3  #  #
4  # SOFTWARE VERSION  # SOFTWARE VERSION
5  VER= v0r00  VER= v1r12
6  # An almost general purpouse Makefile for PAMELA repository  # An almost general purpouse Makefile for PAMELA repository
7  # Let's start with some usefull definition for colorize the echo  # Let's start with some usefull definition for colorize the echo
8  RED='\E[1;31;40m'  RED='\E[1;31;40m'
# Line 42  DIRBIN=bin/${ARCH} Line 42  DIRBIN=bin/${ARCH}
42  DIRSRC=src  DIRSRC=src
43  DIRINC=inc  DIRINC=inc
44  DIRDOC=doc  DIRDOC=doc
45    DIRDAT=dat
46  # Here the  PAMELA environmental variables to be checked  # Here the  PAMELA environmental variables to be checked
47  PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env PAM_MACROS_env PAM_CALIB_env PAM_YODA_env    PAM_ENV= PAM_BIN_env PAM_LIB_env PAM_INC_env PAM_DOC_env PAM_MACROS_env PAM_CALIB_env PAM_YODA_env  
48  # Here the local variables used to build the targets  # Here the local variables used to build the targets
# Line 79  CXXFLAGS+= `root-config  --cflags` -I${D Line 80  CXXFLAGS+= `root-config  --cflags` -I${D
80  #  #
81  CALIBFILES=  CALIBFILES=
82  DOCFILES=  DOCFILES=
83    DATFILES=parameter.dat
84  # Here the Variables used for info target  # Here the Variables used for info target
85  PACKAGE=RawReader  PACKAGE=RawReader
86  EXECUTABLES=RawReader.exe  EXECUTABLES=RawReader.exe
# Line 92  TOBEDEL = ${OBJS} ${EXECUTABLES} Line 94  TOBEDEL = ${OBJS} ${EXECUTABLES}
94  # all: test mkbindir mklibdir ${EXECUTABLES}  # all: test mkbindir mklibdir ${EXECUTABLES}
95  all: mkbindir mklibdir ${EXECUTABLES}  all: mkbindir mklibdir ${EXECUTABLES}
96          @echo -e ${GREEN} ""          @echo -e ${GREEN} ""
97          @(${EGREEN} " Finished, now you can install the package \n  (use: make install or make upgrade or make forceinstall) "; ${RESET})          @(${EGREEN} " Finished, now you can install the package \n  (use: make install or make upgrade or make forceinstall) \n  or you can copy by hand the files: "; ${RESET})
98            @(${EBLUE} "   - ${EXECUTABLES}" )
99            @(${EBLUE} "   - ${DIRDAT}/${DATFILES}"; ${RESET})
100          @echo -e ${GREEN} ""          @echo -e ${GREEN} ""
101          @${RESET}          @${RESET}
102    
# Line 163  upgrade: FORCE=-u Line 167  upgrade: FORCE=-u
167  upgrade: install  upgrade: install
168    
169  #install: installlib installinc installmacros installcalib installdoc installexe installcmacro  #install: installlib installinc installmacros installcalib installdoc installexe installcmacro
170  install:  install: test installexe installdoc installdat
171    
172  installlib: LINK=y  installlib: LINK=y
173  installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%)  installlib: TOBEMOVED= $(FULLLIBS:${DIRLIB}%=${PAM_LIB}%)
# Line 202  installdoc: ORIGIN=${DIRDOC} Line 206  installdoc: ORIGIN=${DIRDOC}
206  installdoc:  installdoc:
207          @${test_and_cp}          @${test_and_cp}
208    
209    installdat: TOBEMOVED= $(DATFILES:${DIRDAT}/%=${PAM_BIN}/%)
210    installdat: ORIGIN=${DIRDAT}
211    installdat:
212            @${test_and_cp}
213    
214  info:  info:
215          @echo " "          @echo " "
216          @${EGREEN} "Infos for package :" ${WHITE} ${PACKAGE}          @${EGREEN} "Infos for package :" ${WHITE} ${PACKAGE}
# Line 211  info: Line 220  info:
220          @${EGREEN} "             SRCS :" ${WHITE} ${SRCS}          @${EGREEN} "             SRCS :" ${WHITE} ${SRCS}
221          @${EGREEN} "             OBJS :" ${WHITE} ${OBJS}          @${EGREEN} "             OBJS :" ${WHITE} ${OBJS}
222          @${EGREEN} "             DOCS :" ${WHITE} ${DOCS}          @${EGREEN} "             DOCS :" ${WHITE} ${DOCS}
223          @${EGREEN} "           MACROS :" ${WHITE} ${MACROS}          @${EGREEN} "       PARAMETERS :" ${WHITE} ${DATFILES}
224          @echo " "          @echo " "
225          @${RESET}          @${RESET}
226    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23