1 ############################### TPC Makefile ##################################
3 # Include machine specific definitions
5 include $(ALICE_ROOT)/conf/GeneralDef
6 include $(ALICE_ROOT)/conf/MachineDef.$(ALICE_TARGET)
12 SRCS = AliTPC.cxx AliTPCv0.cxx AliTPCv1.cxx AliTPCv2.cxx \
13 AliTPCD.cxx AliTPCPRF2D.cxx AliTPCRF1D.cxx AliTPCParam.cxx \
18 HDRS = $(SRCS:.cxx=.h) AliTPCSecGeo.h TPCLinkDef.h
23 DICTH = $(DICT:.cxx=.h)
24 DICTO = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(DICT))
28 FOBJS = $(FSRCS:.f=.o)
32 COBJS = $(CSRCS:.c=.o)
36 OBJS = $(patsubst %.cxx,tgt_$(ALICE_TARGET)/%.o,$(SRCS)) $(DICTO)
38 # C++ compilation flags
40 CXXFLAGS = $(CXXOPTS) -I$(ROOTSYS)/include -I. -I$(ALICE_ROOT)/include/
42 # FORTRAN compilation flags
50 SLIBRARY = $(LIBDIR)/libTPC.$(SL)
54 $(LIBDIR)/libTPC.$(SL): $(OBJS)
60 TOCLEAN = $(OBJS) *Cint.h *Cint.cxx
62 ############################### General Macros ################################
64 include $(ALICE_ROOT)/conf/GeneralMacros
66 ############################ Dependencies #####################################
68 -include tgt_$(ALICE_TARGET)/Make-depend
70 ### Target check creates violation reports (.viol), which depend on
71 ### stripped files (.ii), which in turn depend on preprocessed
72 ### files (.i). Dependences are in conf/GeneralDef.
74 CHECKS = $(patsubst %.cxx,check/%.viol,$(SRCS))