New class structure
[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 GETEVENTBUTTONO                         =AliHLTPHOSGetEventButton.$(ObjSuf)
31 GETEVENTBUTTONS                         =AliHLTPHOSGetEventButton.$(SrcSuf)
32 GETEVENTBUTTONH                         =AliHLTPHOSGetEventButton.$(HeadSuf)
33
34 ALIHLTPHOSONLINEDISPLAYO                =AliHLTPHOSOnlineDisplay.$(ObjSuf)
35 ALIHLTPHOSONLINEDISPLAYS                =AliHLTPHOSOnlineDisplay.$(SrcSuf)
36 ALIHLTPHOSONLINEDISPLAYH                =AliHLTPHOSOnlineDisplay.$(HeadSuf)
37
38 ALIHLTPHOSONLINEDISPLAYTABO             =AliHLTPHOSOnlineDisplayTab.$(ObjSuf)
39 ALIHLTPHOSONLINEDISPLAYTABS             =AliHLTPHOSOnlineDisplayTab.$(SrcSuf)
40 ALIHLTPHOSONLINEDISPLAYTABH             =AliHLTPHOSOnlineDisplayTab.$(HeadSuf)
41
42 ALIHLTPHOSONLINEDISPLAYEVENTTABO        =AliHLTPHOSOnlineDisplayEventTab.$(ObjSuf)
43 ALIHLTPHOSONLINEDISPLAYEVENTTABS        =AliHLTPHOSOnlineDisplayEventTab.$(SrcSuf)
44 ALIHLTPHOSONLINEDISPLAYEVENTTABH        =AliHLTPHOSOnlineDisplayEventTab.$(HeadSuf)
45
46 ALIHLTPHOSONLINEDISPLAYRAWTABO          =AliHLTPHOSOnlineDisplayRawTab.$(ObjSuf)
47 ALIHLTPHOSONLINEDISPLAYRAWTABS          =AliHLTPHOSOnlineDisplayRawTab.$(SrcSuf)
48 ALIHLTPHOSONLINEDISPLAYRAWTABH          =AliHLTPHOSOnlineDisplayRawTab.$(HeadSuf)
49
50 ALIHLTPHOSONLINEDISPLAYCALIBTABO        =AliHLTPHOSOnlineDisplayCalibTab.$(ObjSuf)
51 ALIHLTPHOSONLINEDISPLAYCALIBTABS        =AliHLTPHOSOnlineDisplayCalibTab.$(SrcSuf)
52 ALIHLTPHOSONLINEDISPLAYCALIBTABH        =AliHLTPHOSOnlineDisplayCalibTab.$(HeadSuf)
53
54 OBJS    = $(MAINO)  $(ALIHLTPHOSONLINEDISPLAYO)  $(ALIHLTPHOSONLINEDISPLAYTABO) \
55         $(ALIHLTPHOSONLINEDISPLAYEVENTTABO) $(ALIHLTPHOSONLINEDISPLAYRAWTABO) $(ALIHLTPHOSONLINEDISPLAYCALIBTABO) $(GETEVENTBUTTONO)
56
57
58 pftest:$(OBJS)
59         g++ -g $(ROOTLIBS) $(ALIROOTLIBS) $(HLTLIBS)  $(OBJS) -o onlinedisplay
60
61 $(MAINO):$(MAINS)
62         g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(MAINS)
63
64 $(ALIHLTPHOSONLINEDISPLAYO):$(ALIHLTPHOSONLINEDISPLAYS) $(ALIHLTPHOSONLINEDISPLAYH)
65         g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(ALIHLTPHOSONLINEDISPLAYS)
66
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
79 $(GETEVENTBUTTONO):$(GETEVENTBUTTONS) $(GETEVENTBUTTONH)
80         g++ -g -I$(ROOTSYS)/include -I$(ALIHLTPHOSINCLUDE) -I$(HOMERINCLUDE) -I$(ALIHLTINCLUDE) -c $(GETEVENTBUTTONS)
81
82 clean:
83         @rm -f *o *~ *# pftest