Fixes to calls for MeanMaterialBudget (now in AliTracker) (From Jouri Belikov)
[u/mrichter/AliRoot.git] / JETAN / Makefile
1 PACKAGE = invalid-only-for-proof
2
3 include $(ROOTSYS)/test/Makefile.arch
4 include lib$(PACKAGE).pkg
5
6
7 ALICEINC      = -I.
8
9 ### define include dir for local case and par case
10 ifneq ($(ESD_INCLUDE),)
11    ALICEINC += -I../$(ESD_INCLUDE)
12    ifneq ($(ANALYSIS_NEW_INCLUDE),)
13        ALICEINC += -I../$(ANALYSIS_NEW_INCLUDE)
14     endif
15    ifneq ($(ANALYSIS_INCLUDE),)
16        ALICEINC += -I../$(ANALYSIS_INCLUDE)
17     endif
18  else
19     ifneq ($(ALICE_ROOT),)
20        ALICEINC += -I$(ALICE_ROOT)/include
21      endif
22 endif
23
24 CXXFLAGS     += $(ALICEINC) -g
25
26
27 SRCS         += G__$(PACKAGE).cxx
28 OBJS          = $(SRCS:.cxx=.o)
29
30 lib$(PACKAGE).so: $(OBJS)
31         @echo "Linking" $@ ...
32         @/bin/rm -f $@
33 ifeq ($(PLATFORM),macosx)
34         @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
35 else
36         @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
37 endif
38         @chmod a+x $@
39         @echo "done"
40
41 %.o:    %.cxx %.h
42         $(CXX) $(CXXFLAGS) -c $< -o $@
43
44 clean:
45         @rm -f $(OBJS) *.so G__$(PACKAGE).*
46
47 G__$(PACKAGE).cxx G__$(PACKAGE).h: $(HDRS) $(DHDR)
48         @echo "Generating dictionary ..."
49         rootcint -f $@ -c $(ALICEINC) $^
50