New class structure
[u/mrichter/AliRoot.git] / HLT / PHOS / OnlineDisplay / Makefile
CommitLineData
ad4d700a 1ObjSuf = o
2SrcSuf = cxx
3HeadSuf = h
4
26718e43 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
12ROOTLIBS = `root-config --libs --glibs`
ad4d700a 13
14###ALIROOTLIBS = -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET) -lESD -lSTEER -lRAWDatarec -lRAWDatabase
15ALIROOTLIBS = -L$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)
16
17HLTLIBS =-L$(ALIHLT_DC_DIR)/lib/Linux-i686 -lHOMERReader
18
19HOMERINCLUDE =$(ALIHLT_DC_DIR)/src/Util/HOMER/include
20
21##echo $(HOMERINCLUDE)
22
23ALIHLTPHOSINCLUDE =$(ALICE_ROOT)/HLT/PHOS
24
25ALIHLTINCLUDE =$(ALICE_ROOT)/HLT/BASE
26
59b4cd9a 27MAINO = main.$(ObjSuf)
28MAINS = main.$(SrcSuf)
ad4d700a 29
59b4cd9a 30GETEVENTBUTTONO =AliHLTPHOSGetEventButton.$(ObjSuf)
31GETEVENTBUTTONS =AliHLTPHOSGetEventButton.$(SrcSuf)
32GETEVENTBUTTONH =AliHLTPHOSGetEventButton.$(HeadSuf)
ad4d700a 33
59b4cd9a 34ALIHLTPHOSONLINEDISPLAYO =AliHLTPHOSOnlineDisplay.$(ObjSuf)
35ALIHLTPHOSONLINEDISPLAYS =AliHLTPHOSOnlineDisplay.$(SrcSuf)
36ALIHLTPHOSONLINEDISPLAYH =AliHLTPHOSOnlineDisplay.$(HeadSuf)
ad4d700a 37
59b4cd9a 38ALIHLTPHOSONLINEDISPLAYTABO =AliHLTPHOSOnlineDisplayTab.$(ObjSuf)
39ALIHLTPHOSONLINEDISPLAYTABS =AliHLTPHOSOnlineDisplayTab.$(SrcSuf)
40ALIHLTPHOSONLINEDISPLAYTABH =AliHLTPHOSOnlineDisplayTab.$(HeadSuf)
ad4d700a 41
59b4cd9a 42ALIHLTPHOSONLINEDISPLAYEVENTTABO =AliHLTPHOSOnlineDisplayEventTab.$(ObjSuf)
43ALIHLTPHOSONLINEDISPLAYEVENTTABS =AliHLTPHOSOnlineDisplayEventTab.$(SrcSuf)
44ALIHLTPHOSONLINEDISPLAYEVENTTABH =AliHLTPHOSOnlineDisplayEventTab.$(HeadSuf)
ad4d700a 45
59b4cd9a 46ALIHLTPHOSONLINEDISPLAYRAWTABO =AliHLTPHOSOnlineDisplayRawTab.$(ObjSuf)
47ALIHLTPHOSONLINEDISPLAYRAWTABS =AliHLTPHOSOnlineDisplayRawTab.$(SrcSuf)
48ALIHLTPHOSONLINEDISPLAYRAWTABH =AliHLTPHOSOnlineDisplayRawTab.$(HeadSuf)
49
50ALIHLTPHOSONLINEDISPLAYCALIBTABO =AliHLTPHOSOnlineDisplayCalibTab.$(ObjSuf)
51ALIHLTPHOSONLINEDISPLAYCALIBTABS =AliHLTPHOSOnlineDisplayCalibTab.$(SrcSuf)
52ALIHLTPHOSONLINEDISPLAYCALIBTABH =AliHLTPHOSOnlineDisplayCalibTab.$(HeadSuf)
53
54OBJS = $(MAINO) $(ALIHLTPHOSONLINEDISPLAYO) $(ALIHLTPHOSONLINEDISPLAYTABO) \
55 $(ALIHLTPHOSONLINEDISPLAYEVENTTABO) $(ALIHLTPHOSONLINEDISPLAYRAWTABO) $(ALIHLTPHOSONLINEDISPLAYCALIBTABO) $(GETEVENTBUTTONO)
ad4d700a 56
57
58pftest:$(OBJS)
134dc672 59 g++ -g $(ROOTLIBS) $(ALIROOTLIBS) $(HLTLIBS) $(OBJS) -o onlinedisplay
ad4d700a 60
61$(MAINO):$(MAINS)
6fafa7a1 62 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(MAINS)
ad4d700a 63
64$(ALIHLTPHOSONLINEDISPLAYO):$(ALIHLTPHOSONLINEDISPLAYS) $(ALIHLTPHOSONLINEDISPLAYH)
134dc672 65 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYS)
ad4d700a 66
59b4cd9a 67$(ALIHLTPHOSONLINEDISPLAYTABO):$(ALIHLTPHOSONLINEDISPLAYTABS) $(ALIHLTPHOSONLINEDISPLAYTABH)
68 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYTABS)
69
70$(ALIHLTPHOSONLINEDISPLAYEVENTTABO):$(ALIHLTPHOSONLINEDISPLAYEVENTTABS) $(ALIHLTPHOSONLINEDISPLAYEVENTTABH)
71 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYEVENTTABS)
72
73$(ALIHLTPHOSONLINEDISPLAYRAWTABO):$(ALIHLTPHOSONLINEDISPLAYRAWTABS) $(ALIHLTPHOSONLINEDISPLAYRAWTABH)
74 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYRAWTABS)
75
76$(ALIHLTPHOSONLINEDISPLAYCALIBTABO):$(ALIHLTPHOSONLINEDISPLAYCALIBTABS) $(ALIHLTPHOSONLINEDISPLAYCALIBTABH)
77 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYCALIBTABS)
78
ad4d700a 79$(GETEVENTBUTTONO):$(GETEVENTBUTTONS) $(GETEVENTBUTTONH)
134dc672 80 g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(GETEVENTBUTTONS)
ad4d700a 81
82clean:
83 @rm -f *o *~ *# pftest