CLHEP version set explicitely to 1.5.0.0
[u/mrichter/AliRoot.git] / conf / GeneralDef
CommitLineData
809ca4d8 1# $Id$
2
fe4da5cc 3##### RULES #####
4
cb342460 5.SUFFIXES: .cxx .h
6
50e125f7 7# IRST coding rule check
3e27ea2b 8export IRST_INSTALLDIR=$(ALICE)/local/IRST
9export CLASSPATH=$(IRST_INSTALLDIR)
e5089d30 10CODE_CHECK=java rules.RuleChecker
3e27ea2b 11REV_ENG=$(IRST_INSTALLDIR)/scripts/revEng.sh
53a6f207 12# This is to avoid a problem with the declaration of .SECONDARY in the
13# GeneralMacros
14CHECKS = none
50e125f7 15
cb342460 16$(ALICE_ROOT)/include/%.h : %.h
17 @[ -d $(dir $@) ] || mkdir $(dir $@)
18 @cp -p $? $(ALICE_ROOT)/include
fe4da5cc 19
4adb943a 20tgt_$(ALICE_TARGET)/%.o : %.cxx
cb342460 21 @[ -d $(dir $@) ] || mkdir -p $(dir $@)
3b8595a0 22ifeq ($(CXXVERBOSE),)
4adb943a 23 @$(CXX) $(CXXFLAGS) -c $*.cxx -o tgt_$(ALICE_TARGET)/$*.o
3b8595a0 24else
25 $(CXX) $(CXXFLAGS) -c $*.cxx -o tgt_$(ALICE_TARGET)/$*.o
26endif
cb342460 27
50e125f7 28# IRST coding rule check
29check/%.i : %.cxx
30 @[ -d $(dir $@) ] || mkdir -p $(dir $@)
31 @$(CXX) -E $(CXXFLAGS) $*.cxx > check/$*.i
32
33# IRST coding rule check
2f193aef 34check/%.viol : check/%.i
35 @$(CODE_CHECK) check/$*.i ./ > check/$*.viol
50e125f7 36
4adb943a 37tgt_$(ALICE_TARGET)/%.o : %.c
cb342460 38 @[ -d $(dir $@) ] || mkdir -p $(dir $@)
4adb943a 39 @$(CC) $(CFLAGS) -c $*.c -o tgt_$(ALICE_TARGET)/$*.o
cb342460 40
4adb943a 41tgt_$(ALICE_TARGET)/%.o : %.f
cb342460 42 @[ -d $(dir $@) ] || mkdir -p $(dir $@)
4adb943a 43 @$(F77) $(FFLAGS) -c $*.f -o tgt_$(ALICE_TARGET)/$*.o
cb342460 44
4adb943a 45tgt_$(ALICE_TARGET)/%.o : %.F
cb342460 46 @[ -d $(dir $@) ] || mkdir -p $(dir $@)
4adb943a 47 @$(F77) $(FFLAGS) -c $*.F -o tgt_$(ALICE_TARGET)/$*.o
cb342460 48
49# Needed binary directories
4adb943a 50LIBDIR = $(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)
51BINDIR = $(ALICE_ROOT)/bin/tgt_$(ALICE_TARGET)
cb342460 52
71e7e638 53
54# Current Version
55
0237511c 56VERSION = 3.03pre
fe4da5cc 57
58# Which makedepend
1756964f 59MAKEDEPEND = $(ROOTSYS)/bin/rmkdepend
fe4da5cc 60
61# Root libraries
62
084c1b4a 63ROOTLIBS = $(shell $(ROOTSYS)/bin/root-config --glibs) -lMinuit -lHtml
a4c95ff7 64ROOTLIBS := $(filter-out -lNew,$(ROOTLIBS))
fe4da5cc 65
66# Alice libraries
67
cb342460 68ALILIBS = -L$(LIBDIR) -lMUON -lTPC -lPMD -lTRD -lFMD -lTOF \
cf4f94e5 69 -lITS -lPHOS -lCASTOR -lRICH -lZDC -lSTRUCT \
44c62722 70 -lTGeant3 -lSTART -lEVGEN -lSTEER
fe4da5cc 71
fe4da5cc 72# CERN Libraries
73
74CLIBS = -lminicern
505de164 75
fe4da5cc 76G3LIBS = -lgeant321
084c1b4a 77