4fe870c2462f2be862506d2b3799e17fae5c0e20
[u/mrichter/AliRoot.git] / HLT / PHOS / OnlineDisplay / Makefile
1 ObjSuf          = o
2 SrcSuf          = cxx
3 HeadSuf         = h
4
5 #ROOTLIBS       = -L$(ROOTSYS)/lib -lNew -lCint \
6 #               -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMinuit\
7 #               -lPostscript -lTree -lASImage \
8 #               -lCore -lEG -lFoam -lFumili -lGedOld -lGed \
9 #               -lGeom -lGpad -lGraf -lGuiBld -lGui -lMatrix\
10 #               -lRint -lRootAuth  -lThread -lVMC
11
12 ROOTLIBS        = `root-config --libs --glibs`
13
14 ###ALIROOTLIBS  = -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) -lESD -lSTEER -lRAWDatarec   -lRAWDatabase 
15 ALIROOTLIBS     = -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)  
16
17 HLTLIBS         =-L$(ALIHLT_DC_DIR)/lib/Linux-i686 -lHOMERReader
18
19 HOMERINCLUDE    =$(ALIHLT_DC_DIR)/src/Util/HOMER/include 
20
21 ##echo $(HOMERINCLUDE)
22
23 ALIHLTPHOSINCLUDE       =$(ALICE_ROOT)/HLT/PHOS
24
25 ALIHLTINCLUDE   =$(ALICE_ROOT)/HLT/BASE
26
27 MAINO           = main.$(ObjSuf)
28 MAINS           = main.$(SrcSuf)
29
30 ALIHLTPHOSONLINEDISPLAYO        =AliHLTPHOSGetEventButton.$(ObjSuf)
31 ALIHLTPHOSONLINEDISPLAYS        =AliHLTPHOSGetEventButton.$(SrcSuf)
32 ALIHLTPHOSONLINEDISPLAYH        =AliHLTPHOSGetEventButton.$(HeadSuf)
33
34 GETEVENTBUTTONO =AliHLTPHOSOnlineDisplay.$(ObjSuf)
35 GETEVENTBUTTONS =AliHLTPHOSOnlineDisplay.$(SrcSuf)
36 GETEVENTBUTTONH =AliHLTPHOSOnlineDisplay.$(HeadSuf)
37
38
39 OBJS    = $(MAINO)  $(ALIHLTPHOSONLINEDISPLAYO) $(GETEVENTBUTTONO)
40
41
42
43 pftest:$(OBJS)
44         g++ -g $(ROOTLIBS) $(ALIROOTLIBS) $(HLTLIBS)  $(OBJS) -o onlinedisplay
45
46 $(MAINO):$(MAINS)
47         g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(MAINS)
48
49 $(ALIHLTPHOSONLINEDISPLAYO):$(ALIHLTPHOSONLINEDISPLAYS) $(ALIHLTPHOSONLINEDISPLAYH)
50         g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYS)
51
52 $(GETEVENTBUTTONO):$(GETEVENTBUTTONS) $(GETEVENTBUTTONH)
53         g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(GETEVENTBUTTONS)
54
55 clean:
56         @rm -f *o *~ *# pftest