Bug fixed in TOF trigger simulation
[u/mrichter/AliRoot.git] / PWGGA / Makefile
CommitLineData
f4545ac7 1PACKAGE = invalid-only-for-proof
2
3include Makefile.arch
4
5ifndef PACKCXXFLAGS
6 PACKCXXFLAGS = $(CXXFLAGS)
7endif
8
9ALICEINC = -I.
10
11### define include dir for local case and par case
12
13ifneq ($(PWGGACaloTasks_INCLUDE),)
14 ALICEINC += -I../$(PWGGACaloTasks_INCLUDE)
15endif
16
17ifneq ($(PWGGACaloTrackCorrelations_INCLUDE),)
18 ALICEINC += -I../$(PWGGACaloTrackCorrelations_INCLUDE)
19endif
20
21ifneq ($(PWGGAEMCALTasks_INCLUDE),)
22 ALICEINC += -I../$(PWGGAEMCALTasks_INCLUDE)
23endif
24
25ifneq ($(PWGGAGammaConv_INCLUDE),)
26 ALICEINC += -I../$(PWGGAGammaConv_INCLUDE)
27endif
28
29ifneq ($(PWGGAPHOSTasks_INCLUDE),)
30 ALICEINC += -I../$(PWGGAPHOSTasks_INCLUDE)
31endif
32
33# only if no par file was loaded before
34#ifeq ($(ALICEINC),-I.)
35 ifneq ($(ALICE_ROOT),)
36 ALICEINC += -I$(ALICE_ROOT)/include
37 ALICEINC += -I$(ALICE_ROOT)/ANALYSIS
38 ALICEINC += -I$(ALICE_ROOT)/PHOS
39 ALICEINC += -I$(ALICE_ROOT)/EMCAL
40 endif
41#endif
42
43CXXFLAGS += $(ALICEINC) -g
44
45SRCS = $(wildcard $(subst PWGGA,,$(PACKAGE))/*.cxx)
46HDRS = $(SRCS:.cxx=.h)
47DHDR = $(PACKAGE)LinkDef.h
48
49DHDR_PWGGA := $(DHDR)
50HDRS_PWGGA := $(HDRS)
51SRCS_PWGGA := $(SRCS) G__$(PACKAGE).cxx
52OBJS_PWGGA := $(SRCS_PWGGA:.cxx=.o)
53
54PARFILE = $(PACKAGE).par
55
56lib$(PACKAGE).so: $(OBJS_PWGGA)
57 @echo "Linking" $@ ...
58 @/bin/rm -f $@
59 $(LD) $(SOFLAGS) $(LDFLAGS) $^ $(OutPutOpt) $@ $(EXPLLINKLIBS)
60 @chmod a+x $@
61 @echo "done"
62
63%.o: %.cxx %.h
64 $(CXX) $(PACKCXXFLAGS) -c $< -o $@
65
66clean:
67 @rm -f $(OBJS) *.so G__$(PACKAGE).*
68
69G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
70 @echo "Generating dictionaries ..." $(ALICEINC)
71 rootcint -f $@ -c $(CINTFLAGS) $(ALICEINC) $^