]> git.uio.no Git - u/mrichter/AliRoot.git/blame - AliGeant3/Makefile
Functions renamed to get a prefix PHOS
[u/mrichter/AliRoot.git] / AliGeant3 / Makefile
CommitLineData
a524cc6b 1############################### AliGeant3 Makefile ##############################
2
3# Include machine specific definitions
4
5include $(ALICE_ROOT)/conf/GeneralDef
6include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
7
8PACKAGE = AliGeant3
9
10# FORTRAN sources
11
12FSRCS =
13
14# C++ sources
15
16GSRCS = AliG3Medium.cxx \
17 AliG3Material.cxx AliG3Volume.cxx \
18 AliGUISliders.cxx AliGuiGeomDialog.cxx AliGuiGeomMain.cxx \
19 AliGeant3GeometryGUI.cxx AliNode.cxx AliG3toRoot.cxx
20
21# C++ Headers
22
23GHDRS = $(filter-out gucode.h,$(GSRCS:.cxx=.h)) AliGeant3LinkDef.h
24
25# Library dictionary
26
27GDICT = AliGeant3Cint.cxx
28GDICTH = $(GDICT:.cxx=.h)
29GDICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GDICT))
30
31# Geant Objects
32
33GOBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(GSRCS)) $(FOBJS) $(GDICTO)
34
35# FORTRAN Objectrs
36
37FOBJS = $(patsubst %.F,tgt_$(ALICE_TARGET)/%.o,$(FSRCS))
38
39# C Objects
40
41COBJS = $(patsubst %.c,tgt_$(ALICE_TARGET)/%.o,$(CSRCS))
42
43# C++ Objects
44
45OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
46
47# C++ Headers
48
49DHDRS = AliGeant3LinkDef.h
50
51# Geant Objects
52
53DOBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DSRCS)) $(DDICTO)
54
55# C++ compilation flags
56
57CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/ \
58 -I$(G3INSTALL)/geant321 -I$(G3INSTALL)/geant3mc
59
60# FORTRAN compilation flags
61
62FFLAGS = $(FOPT) -I$(ALICE_ROOT)/GEANT321
63
64##### TARGETS #####
65
66# Target
67
68SLIBRARY = $(LIBDIR)/libAliGeant3.$(SL)
69ALIBRARY = $(LIBDIR)/libAliGeant3.a
70
71default: $(SLIBRARY)
72
73$(LIBDIR)/libAliGeant3.$(SL): $(GOBJS)
74
75$(GDICT): $(GHDRS)
76
77$(DDICT): $(DHDRS)
78
79DICT = $(GDICT) $(DDICT)
80
81DEPINC += -I$(ALICE_ROOT)/GEANT321
82
83depend: $(GSRCS) $(FSRCS)
84
85TOCLEAN = $(GOBJS) $(JOBJS) $(DOBJS) *Cint.cxx *Cint.h
86
87CHECKS = $(patsubst %.cxx,check/%.viol,$(GSRCS))
88
89############################### General Macros ################################
90
91include $(ALICE_ROOT)/conf/GeneralMacros
92
93############################ Dependencies #####################################
94
95-include tgt_$(ALICE_TARGET)/Make-depend
96
97
98
99
100
101
102