1 ############################### GEODB Makefile ################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
12 SRCS = AliGBox.cxx AliGCone.cxx AliGConfig.cxx \
13 AliGMaterial.cxx AliGNode.cxx AliGShape.cxx AliGSphere.cxx \
14 AliGSuperShape.cxx AliGTransform.cxx AliGTube.cxx AliGPCone.cxx \
15 AliGTRD1.cxx AliGeometry.cxx AliGEODB.cxx
20 HDRS = $(SRCS:.cxx=.h) GEODBLinkDef.h
25 DICTH = $(DICT:.cxx=.h)
26 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
30 FOBJS = $(FSRCS:.f=.o)
34 COBJS = $(CSRCS:.c=.o)
38 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
40 # C++ compilation flags
42 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
44 # FORTRAN compilation flags
52 SLIBRARY = $(LIBDIR)/libGEODB.$(SL)
53 ALIBRARY = $(LIBDIR)/libGEODB.a
55 default: $(SLIBRARY) headers
57 $(LIBDIR)/libGEODB.$(SL): $(OBJS)
63 TOCLEAN = $(OBJS) *Cint.cxx *Cint.h
65 ############################### General Macros ################################
67 include $(ALICE_ROOT)/conf/GeneralMacros
69 ############################ Dependencies #####################################