9 |
PLATFORM = $(shell root-config --arch) |
PLATFORM = $(shell root-config --arch) |
10 |
endif |
endif |
11 |
|
|
12 |
TOPDIR = $(G4VMC_DIR) |
TOPDIR = $(PWD) |
13 |
BINDIR = $(G4WORKDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE) |
BINDIR = $(TOPDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE) |
14 |
LIBDIR = $(G4WORKDIR)/lib/tgt_$(PLATFORM) |
LIBDIR = $(TOPDIR)/lib/tgt_$(PLATFORM) |
15 |
|
#BINDIR = $(G4WORKDIR)/tmp/tgt_$(PLATFORM)/$(PACKAGE) |
16 |
|
#LIBDIR = $(G4WORKDIR)/lib/tgt_$(PLATFORM) |
17 |
|
|
18 |
ifeq ($(ROOTSYS),) |
ifeq ($(ROOTSYS),) |
19 |
ROOT_INCDIR = $(shell root-config --incdir) |
ROOT_INCDIR = $(shell root-config --incdir) |
76 |
|
|
77 |
# PAMELA LIBS |
# PAMELA LIBS |
78 |
# |
# |
79 |
#ALIROOT=/home/nikolas/francesco/aliroot/test/pro/ |
PAMLIBS := -L${PAM_LIB} -lTrkLevel2 |
|
ALIROOT=/home/nikolas/francesco/vmc/fluka_vmc/ |
|
|
#PAMLIBS := -L${PAM_LIB} -lTrkLevel2 -L${ALIROOT}/lib/tgt_linux/ -lTFluka |
|
|
PAMLIBS := -L${PAM_LIB} -lTrkLevel2 -L${ALIROOT}/lib/tgt_linux/ -lfluka |
|
80 |
SHLIBS := ${PAMLIBS} |
SHLIBS := ${PAMLIBS} |
81 |
# Make include list |
# Make include list |
82 |
# |
# |
|
#PAMINC := -I${PAM_INC} -I${PAM_INC}/yoda -I${ALIROOT}/TFluka/ |
|
|
#PAMINC := -I${PAM_INC} -I${PAM_INC}/yoda -I${ALIROOT}/source/ |
|
83 |
PAMINC := -I$(PAMELA_SOFTWARE)/include/yoda -I$(PAMELA_SOFTWARE)/inc -I${ALIROOT}/source |
PAMINC := -I$(PAMELA_SOFTWARE)/include/yoda -I$(PAMELA_SOFTWARE)/inc -I${ALIROOT}/source |
84 |
INCDIR := -Iinclude $(PAMINC) \ |
INCDIR := -Iinclude $(PAMINC) \ |
85 |
-Ical/include \ |
-Ical/include \ |
88 |
-Iac/include \ |
-Iac/include \ |
89 |
-Is4/include \ |
-Is4/include \ |
90 |
-Ind/include \ |
-Ind/include \ |
91 |
-I$(TOPDIR)/include \ |
-I$(G4VMC_DIR)/include \ |
92 |
-I$(CLHEP_BASE_DIR)/include \ |
-I$(CLHEP_BASE_DIR)/include \ |
93 |
-Iinclude -I$(G4INCLUDE) |
-Iinclude -I$(G4INCLUDE) |
94 |
|
|
105 |
RM_FILE=$(shell rm -f $(LIBDIR)/resxy_new.root)\ |
RM_FILE=$(shell rm -f $(LIBDIR)/resxy_new.root)\ |
106 |
$(shell rm -f $(LIBDIR)/CalibTrk_00110_000_000.root) |
$(shell rm -f $(LIBDIR)/CalibTrk_00110_000_000.root) |
107 |
|
|
108 |
|
AUXDIR='aux' |
109 |
CP_FILE=$(shell mkdir -p ${LIBDIR})\ |
CP_FILE=$(shell mkdir -p ${LIBDIR})\ |
110 |
$(shell cp -rf resxy_new.root CalibTrk_00110_000_000.root ${LIBDIR}/) |
$(shell cp -rf ${AUXDIR}/resxy_new.root ${AUXDIR}/CalibTrk_00110_000_000.root ${LIBDIR}/) |
111 |
|
|
112 |
SLIBRARY = $(LIBDIR)/lib$(PACKAGE).$(SL) |
SLIBRARY = $(LIBDIR)/lib$(PACKAGE).$(SL) |
113 |
ALIBRARY = $(LIBDIR)/lib$(PACKAGE).a |
ALIBRARY = $(LIBDIR)/lib$(PACKAGE).a |