Use tgt_ prefix for binary target directories
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 5 Jul 1999 07:04:57 +0000 (07:04 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 5 Jul 1999 07:04:57 +0000 (07:04 +0000)
27 files changed:
ALIROOT/Makefile
CASTOR/Makefile
EVGEN/Makefile
FMD/Makefile
GEANT321/Makefile
ITS/Makefile
MINICERN/Makefile
MUON/Makefile
Makefile
PDF/Makefile
PHOS/Makefile
PMD/Makefile
PYTHIA/Makefile
RALICE/Makefile
RICH/Makefile
STEER/Makefile
STRUCT/Makefile
TGeant3/Makefile
TOF/Makefile
TPC/Makefile
TRD/Makefile
ZDC/Makefile
conf/GeneralDef
conf/GeneralMacros
etc/alice.conf
html/Installation.html
macros/loadlibs.C

index 415a61a20e79373e340320e34b509334a37c4698..fb9e74a14be56bdd89cc1dfd1ffbd91c61f971c9 100644 (file)
@@ -27,7 +27,7 @@ FSRCS         = loadmod.F pydata.F ludata.F
 
 # FORTRAN Objectrs
 
-FOBJS          = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS          = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Sources
 
@@ -35,7 +35,7 @@ CSRCS         = dummies.c
 
 # C Objects
 
-COBJS          = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS)) 
+COBJS          = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)) 
 
 # C++ Sources
 
@@ -43,7 +43,7 @@ SRCS          = aliroot.cxx
 
 # C++ Objects
 
-OBJS           = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS           = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # Global Macros
 
index 9bcd5584d2ad2cc697be349a64a1b9af4ecf3ae6..f3cc9c7f0a1d3d73b9ca50c63ded877406fda7c8 100644 (file)
@@ -19,7 +19,7 @@ HDRS          = $(SRCS:.cxx=.h) CASTORLinkDef.h
 
 DICT          = CASTORCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
@@ -27,11 +27,11 @@ FOBJS         = $(FSRCS:.f=.o)
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index dcaa09800398c68738b362a75bda31efc7fdddb2..53dd1e97d3cc25dcd07588235820ab30cd1234e6 100644 (file)
@@ -21,19 +21,19 @@ HDRS          = $(SRCS:.cxx=.h) EVGENLinkDef.h
 
 DICT          = EVGENCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 263ed60ab965a0295572ed00cbf399870496d3e0..218803cca097b93cfee3c86921eb1ff0b9266385 100644 (file)
@@ -19,19 +19,19 @@ HDRS          = $(SRCS:.cxx=.h) FMDLinkDef.h
 
 DICT          = FMDCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 0db54824108f8c443598f58290cc85887d2771ef..21f68e6e23976af4515c7bcb14a52b3022ffaebd 100644 (file)
@@ -23,17 +23,17 @@ GCSRC       = $(wildcard $(patsubst %,%/*.c,$(GDIRS)))
 GCXXSRC        = $(wildcard $(patsubst %,%/*.cxx,$(GDIRS))) 
 
 GSRC   = $(GFSRC) $(GCSRC)
-GFOBJ  = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(GFSRC))
-GCOBJ  = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(GCSRC))
-GCXXOBJ        = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(GCXXSRC))
+GFOBJ  = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(GFSRC))
+GCOBJ  = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(GCSRC))
+GCXXOBJ        = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GCXXSRC))
 GOBJ   = $(GFOBJ) $(GCOBJ) $(GCXXOBJ)
 
 XFSRC  = $(wildcard $(patsubst %,%/*.F,$(XDIRS))) 
 XCSRC  = $(wildcard $(patsubst %,%/*.c,$(XDIRS))) 
 
 XSRC   = $(XFSRC) $(XCSRC) $(XCXXSRC)
-XFOBJ  = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(XFSRC))
-XCOBJ  = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(XCSRC))
+XFOBJ  = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(XFSRC))
+XCOBJ  = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(XCSRC))
 XOBJ   = $(XFOBJ) $(XCOBJ) $(XCXXOBJ)
 
 SRCS   = $(GSRC) $(XSRC)
index f39c5adb3d8f1dfaee70ff3f3f640ca43bb9b46a..32923eb3fae3e20920484b0e2a96fc43dcd72787 100644 (file)
@@ -23,19 +23,19 @@ HDRS          = $(SRCS:.cxx=.h) ITSLinkDef.h
 
 DICT          = ITSCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 844622efd57195c0413a31775c24ab407a80aae6..8687472be326f76ee889732dd1bcd2e93197c9a8 100644 (file)
@@ -273,9 +273,9 @@ endif
 
 CXXSRC =
 
-FOBJ   = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRC))
-COBJ   = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRC))
-CXXOBJ = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(CXXSRC))
+FOBJ   = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRC))
+COBJ   = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRC))
+CXXOBJ = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(CXXSRC))
 
 SRCS   = $(FSRC) $(CSRC) $(CXXSRC)
 OBJS   = $(FOBJ) $(COBJ) $(CXXOBJ)
index d540da6444081d623acbb8cae0e3eb9c29b3b67a..feeaf422739d950dbd0665252880d29ea1227224 100644 (file)
@@ -20,7 +20,7 @@ HDRS          = $(SRCS:.cxx=.h) AliMUONConst.h MUONLinkDef.h
 
 DICT          = MUONCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # Fortran sources
 
@@ -28,15 +28,15 @@ FSRCS             = algo.F
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 10dfb50c038c8c151af1f6c05335e13bf13ef0f5..944a08da8cc712e804f00144ed56f4bf9a30fc77 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ AliRoot$(VERSION).tar.gz AliLibs$(VERSION).tar.gz AliOffline$(VERSION).tar.gz:
                 gtar cvfz $@ --exclude '*.o' --exclude '*Cint.*' \
                 --exclude '*/roothtml/*' --exclude '*/CVS' \
                --exclude Make-depend --exclude '*html/gif' \
-               --exclude "*$(ALICE_TARGET)*" \
+               --exclude "tgt_*" \
                 `cat /tmp/saves` 
 
 htmldocnew:            FORCE
index d914e4448be31747895cec3c84ba89a500febbdb..f014e28f93f6b60b56c9d8a90c8bb08ee3dd5922 100644 (file)
@@ -13,7 +13,7 @@ SRCS          =
 
 FSRCS  = $(wildcard spdf/*.F)
 
-FOBJS  = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS  = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 SRCS   = $(FSRCS)
 OBJS   = $(FOBJS)
index 1ef65f84cd0ec8e85fcbb7cfb193b0da1baf83e9..fc948a0613f76ddd4a3f3ff665306bd3a6a60aed 100644 (file)
@@ -19,7 +19,7 @@ HDRS          = $(SRCS:.cxx=.h) PHOSLinkDef.h
 
 DICT          = PHOSCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN sources
 
@@ -27,15 +27,15 @@ FSRCS = AliPHOSf.F AliPHOScommon.F
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
@@ -48,13 +48,13 @@ FFLAGS      = $(FOPT)
 ##### Other Libraries #####
 
 SHSRCS  = $(wildcard shaker/*.f)
-SHOBJS  = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(SHSRCS))
+SHOBJS  = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(SHSRCS))
 
 RCSRCS  = $(wildcard reconstruction/*.f)  
-RCOBJS  = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(RCSRCS))
+RCOBJS  = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(RCSRCS))
 
 DUSRCS = libPHOSdummy.cxx
-DUOBJS = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DUSRCS))
+DUOBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DUSRCS))
 
 ALSRCS  = $(SRCS) $(SHSRCS) $(RCSRCS) $(DUSRCS) dummies.c
 
index bf8785c4a3423f4627c5e0ea4ef8ccc1eaba9716..c48d308b0c9e482a657a48d68b2728dbc17c1930 100644 (file)
@@ -19,19 +19,19 @@ HDRS          = $(SRCS:.cxx=.h) PMDLinkDef.h
 
 DICT          = PMDCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 549043b507ecb57dd173906124f4c6ef2c728a61..91b46e2206f3cffdd33bb7465099fcf773927ae6 100644 (file)
@@ -15,14 +15,14 @@ SRCS          =
 FSRCS  = $(filter-out %pdfset.F,$(filter-out %structm.F,$(wildcard pythia/*.F))) \
           $(wildcard jetset/*.F)
 
-FOBJS  = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS  = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 SRCS   = $(FSRCS)
 OBJS   = $(FOBJS)
 
 DSRCS  = dummypythia.F
 
-DOBJS  = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(DSRCS))
+DOBJS  = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(DSRCS))
 
 # C++ compilation flags
 
index b247a7ffd1940c0feaaa734f47c1c7144793a852..b22a6ca32f21c65d71b060250d3de41d52d47499 100644 (file)
@@ -23,7 +23,7 @@ HDRS          = $(SRCS:.cxx=.h) RALICELinkDef.h
 
 DICT          = RALICECint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
@@ -35,7 +35,7 @@ COBJS         = $(CSRCS:.c=.o)
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 98591fec11bf0c36d66a9079e7da1530e7324272..bcfa4920bb5e3eae39825a1f7874154f11f79c4b 100644 (file)
@@ -19,19 +19,19 @@ HDRS          = $(SRCS:.cxx=.h) RICHLinkDef.h
 
 DICT          = RICHCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 1ca11970c7fb53c9a8d264e255e8f8ca73c18744..b374b73268051755d56e21284186064cf4c826b7 100644 (file)
@@ -23,19 +23,19 @@ HDRS          = $(SRCS:.cxx=.h) AliPDG.h STEERLinkDef.h
 
 DICT          = STEERCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 6b2e7080b1a8729cb1dd94c429163ecc7d02686c..1e2e5bec8b1b32402d62d731c1b82cf8b2168a97 100644 (file)
@@ -24,19 +24,19 @@ HDRS          = $(SRCS:.cxx=.h) STRUCTLinkDef.h
 
 DICT          = STRUCTCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 88798e2cae1b1f15fd5e76c0bf0c0f70fe0dbc7b..5e747c9e0cb047000ab3552c593847c7c9aaa817 100644 (file)
@@ -23,23 +23,23 @@ GHDRS          = $(filter-out gucode.h,$(GSRCS:.cxx=.h)) TGeant3LinkDef.h
 
 GDICT          = TGeant3Cint.cxx
 GDICTH         = $(GDICT:.cxx=.h)
-GDICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(GDICT))
+GDICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GDICT))
 
 # Geant Objects
 
-GOBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(GSRCS)) $(FOBJS) $(GDICTO)
+GOBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GSRCS)) $(FOBJS) $(GDICTO)
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # Dummy Geant321 class
 
@@ -55,16 +55,16 @@ DHDRS          = TGeant3.h TGeant3LinkDef.h
 
 DDICT          = TGeant3DummyCint.cxx
 DDICTH         = $(DDICT:.cxx=.h)
-DDICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DDICT))
+DDICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DDICT))
 
 # Geant Objects
 
-DOBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DSRCS)) $(DDICTO)
+DOBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DSRCS)) $(DDICTO)
 
 # Dummy Routines in Geant321
 
 JSRCS          = G3Dummy.cxx
-JOBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(JSRCS))
+JOBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(JSRCS))
 
 # C++ compilation flags
 
index 34be33b0962982792c39c765a5e62b3f1038646b..ba45772a3a3c09bc2e012af7c9b0ddb3ac78c8eb 100644 (file)
@@ -19,19 +19,19 @@ HDRS          = $(SRCS:.cxx=.h) TOFLinkDef.h
 
 DICT          = TOFCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 5411f5942a96be028c38ca68c7f69a7699883f04..d2a394a3b70f6ac79a2803e0164aceefd7ae52bf 100644 (file)
@@ -20,7 +20,7 @@ HDRS          = $(SRCS:.cxx=.h) AliTPCSecGeo.h TPCLinkDef.h
 
 DICT          = TPCCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
@@ -32,7 +32,7 @@ COBJS         = $(CSRCS:.c=.o)
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 38ed748decb08a27f692026fdfdc6a591238a788..fb1011d530aba312d4c720c4faf203ecb6061df8 100644 (file)
@@ -21,19 +21,19 @@ HDRS          = $(SRCS:.cxx=.h) TRDLinkDef.h
 
 DICT          = TRDCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.f,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.f,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS))
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # C++ compilation flags
 
index 52b142f3dbe2ece040da52a5fec0394e918ec287..f64ac770d02f4448a45e7f5454bb2ab453297358 100644 (file)
@@ -27,19 +27,19 @@ HDRS          = $(SRCS:.cxx=.h) ZDCLinkDef.h
 
 DICT          = ZDCCint.cxx
 DICTH         = $(DICT:.cxx=.h)
-DICTO         = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(DICT))
+DICTO         = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
 
 # FORTRAN Objectrs
 
-FOBJS         = $(patsubst %.F,$(ALICE_TARGET)/%.o,$(FSRCS))
+FOBJS         = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
 
 # C Objects
 
-COBJS         = $(patsubst %.c,$(ALICE_TARGET)/%.o,$(CSRCS)
+COBJS         = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS)
 
 # C++ Objects
 
-OBJS          = $(patsubst %.cxx,$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
+OBJS          = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
 
 # Global Macros
 
index 3f056637cf8768cbf66ab421401605e94d8b9d47..eb8e401369e254490c407af32d54be33cc95c312 100644 (file)
@@ -6,25 +6,25 @@ $(ALICE_ROOT)/include/%.h : %.h
        @[ -d $(dir $@) ] || mkdir $(dir $@)
        @cp -p $? $(ALICE_ROOT)/include
  
-$(ALICE_TARGET)/%.o : %.cxx
+tgt_$(ALICE_TARGET)/%.o : %.cxx
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @$(CXX) $(CXXFLAGS) -c $*.cxx -o $(ALICE_TARGET)/$*.o
+       @$(CXX) $(CXXFLAGS) -c $*.cxx -o tgt_$(ALICE_TARGET)/$*.o
 
-$(ALICE_TARGET)/%.o : %.c
+tgt_$(ALICE_TARGET)/%.o : %.c
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @$(CC) $(CFLAGS) -c $*.c -o $(ALICE_TARGET)/$*.o
+       @$(CC) $(CFLAGS) -c $*.c -o tgt_$(ALICE_TARGET)/$*.o
 
-$(ALICE_TARGET)/%.o : %.f
+tgt_$(ALICE_TARGET)/%.o : %.f
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @$(F77) $(FFLAGS) -c $*.f -o $(ALICE_TARGET)/$*.o
+       @$(F77) $(FFLAGS) -c $*.f -o tgt_$(ALICE_TARGET)/$*.o
 
-$(ALICE_TARGET)/%.o : %.F
+tgt_$(ALICE_TARGET)/%.o : %.F
        @[ -d $(dir $@) ] || mkdir -p $(dir $@)
-       @$(F77) $(FFLAGS) -c $*.F -o $(ALICE_TARGET)/$*.o
+       @$(F77) $(FFLAGS) -c $*.F -o tgt_$(ALICE_TARGET)/$*.o
 
 # Needed binary directories
-LIBDIR = $(ALICE_ROOT)/lib/$(ALICE_TARGET)
-BINDIR = $(ALICE_ROOT)/bin/$(ALICE_TARGET)
+LIBDIR = $(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)
+BINDIR = $(ALICE_ROOT)/bin/tgt_$(ALICE_TARGET)
 
 
 # Current Version
index fd2a67f597980f85f767b3487f2abf00f4986c6e..35f4b76901c54e791e0f5321a89c2e3669844c78 100644 (file)
@@ -5,11 +5,11 @@ $(SLIBRARY):
                @[ -d $(dir $@) ] || mkdir $(dir $@)
                @rm -f $@
                 ifeq ($(PLATFORM),aix)
-                  @cd $(ALICE_TARGET) ;\
-                  $(SHLD) -o $@ $(LIBS) -p 0 $(patsubst $(ALICE_TARGET)/%,%,$(filter-out dirs,$^))
+                  @cd tgt_$(ALICE_TARGET) ;\
+                  $(SHLD) -o $@ $(LIBS) -p 0 $(patsubst tgt_$(ALICE_TARGET)/%,%,$(filter-out dirs,$^))
                 else
-                  @cd $(ALICE_TARGET) ;\
-                  $(SHLD) $(SOFLAGS) $(LDFLAGS) $(patsubst $(ALICE_TARGET)/%,%,$(filter-out dirs,$^)) $(SHLIB) -o $@
+                  @cd tgt_$(ALICE_TARGET) ;\
+                  $(SHLD) $(SOFLAGS) $(LDFLAGS) $(patsubst tgt_$(ALICE_TARGET)/%,%,$(filter-out dirs,$^)) $(SHLIB) -o $@
                 endif
                @chmod 555 $@
                @echo "$@ done"
index dc3d5c5063da23a37f4233b197010b3c687122db..9fbd4fb59836345b2ef4e898ac636cb02b5a05fa 100644 (file)
@@ -10,8 +10,8 @@ CERN_BIN=$CERN_ROOT/bin
 #  ALICE library setup
 ###
 ALICE_ROOT=$ALICE/$ALICE_LEVEL
-ALICE_LIB=$ALICE_ROOT/lib/$ALICE_TARGET
-ALICE_BIN=$ALICE_ROOT/bin/$ALICE_TARGET
+ALICE_LIB=$ALICE_ROOT/lib/tgt_${ALICE_TARGET}
+ALICE_BIN=$ALICE_ROOT/bin/tgt_${ALICE_TARGET}
 ALICE_INC=$ALICE_ROOT/inc
 ALICE_MAN=$ALICE/man
 
index 1911546dcd89aceddcca666486a8ac5346108b67..1acf65a0b41b889b03c16c0250271e397c2e6a37 100644 (file)
@@ -147,10 +147,10 @@ indicate it with <i>directory</i>
 (i.e. result of the Unix <b>uname</b> command)</td></tr>
 <tr><td>
 LD_LIBRARY_PATH<BR>SHLIB_PATH  </td>
-<td> $LD_LIBRARY_PATH\:$ALICE_ROOT/lib (on all systems) <br>
-$SHLIB_PATH\:$ALICE_ROOT/lib (on hpux) </td></tr>
+<td> $ALICE_ROOT/lib/tgt_${ALICE_TARGET}\:$LD_LIBRARY_PATH (on all systems) <br>
+$ALICE_ROOT/lib/tgt_${ALICE_TARGET}\:$SHLIB_PATH (on hpux) </td></tr>
 </td></tr>
-<tr><td>PATH                   </td><td> $PATH\:$ALICE_ROOT/bin </td></tr>
+<tr><td>PATH                   </td><td> $PATH\:$ALICE_ROOT/bin/tgt_${ALICE_TARGET} </td></tr>
 </table>
 
 <p>At this point you should logout, login again and check that the symbols
index f066624639acd89c51a02caaae5a75aeb501ef1c..a1247225c74b0d7805ac34c56345bb8bff26238e 100644 (file)
@@ -1,22 +1,22 @@
 void loadlibs () 
 {
   gSystem->Load("$(ROOTSYS)/lib/libEG");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libSTEER");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libTGeant3Dummy");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libdummypythia");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTEER");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTGeant3Dummy");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libdummypythia");
   gSystem->Load("$(ROOTSYS)/lib/libEGPythia");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libEVGEN");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libFMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libMUON");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libPHOSdummy");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libPHOS");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libPMD");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libRICH");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libSTRUCT");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libTOF");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libTPC");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libTRD");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libZDC");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libITS");
-  gSystem->Load("$(ALICE_ROOT)/lib/$(ALICE_TARGET)/libCASTOR");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libEVGEN");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libFMD");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libMUON");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPHOSdummy");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPHOS");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libPMD");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libRICH");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libSTRUCT");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTOF");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTPC");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libTRD");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libZDC");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libITS");
+  gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libCASTOR");
 }