AliRawEvent classes used in the data challenges and stand-alone alimdc
[u/mrichter/AliRoot.git] / RAW / Makefile
1 # Makefile for ALICE MDC program for Linux
2
3 include $(ROOTSYS)/test/Makefile.arch
4
5 LDFLAGS      += -Wl,-rpath,/ROOT/Linux/CurrentRelease/root/lib \
6                 -Wl,-rpath,/date/smi/linux \
7                 -Wl,-rpath,/date/dim/linux \
8                 -Wl,-rpath,/adcRoot/alimdc4
9
10 ifneq ($(findstring rdm,$(MAKECMDGOALS)),)
11 CXXFLAGS += -DUSE_RDM
12 endif
13
14 ifneq ($(findstring debug,$(MAKECMDGOALS)),)
15 CXXFLAGS += -DUSE_DEBUG -g
16 endif
17
18 ifneq ($(findstring smi,$(MAKECMDGOALS)),)
19 #SMIDIR    = ./smi
20 #DIMDIR    = ./dim
21 SMIDIR    = ../date/smi
22 DIMDIR    = ../date/dim
23 CXXFLAGS += -DUSE_SMI -I$(SMIDIR)/smixx -I$(DIMDIR)/dim
24 LIBS     += -L$(SMIDIR)/linux -lsmiui -lsmi -L$(DIMDIR)/linux -ldim
25 endif
26
27 ifneq ($(findstring evb,$(MAKECMDGOALS)),)
28 ifneq ($(findstring rdm,$(MAKECMDGOALS)),)
29 EBDIR     = ./eb
30 BMDIR     = ./eb
31 DBMDIR    = ./eb
32 DBDIR     = ./eb
33 FIFODIR   = ./eb
34 INFODIR   = ./eb
35 else
36 EBDIR     = ../date/eventBuilder
37 BMDIR     = ../date/banksManager
38 DBMDIR    = ../date/bufferManager
39 DBDIR     = ../date/db
40 FIFODIR   = ../date/simpleFifo
41 INFODIR   = ../date/infoLogger
42 endif
43 CXXFLAGS += -DUSE_EB -I$(EBDIR)
44 LIBS     += -L$(EBDIR)/Linux -L$(BMDIR)/Linux -L$(DBMDIR)/Linux \
45             -L$(DBDIR)/Linux -L$(FIFODIR)/Linux -L$(INFODIR)/Linux \
46             -lDateEb -lBanksManager -lDateBufferManager \
47             -lDb -lFifo -lInfo
48 endif
49
50 ifneq ($(findstring hlt,$(MAKECMDGOALS)),)
51 CXXFLAGS += -DUSE_HLT -I$(ALITPC)
52 LIBS     += -L$(ALITPC) -lSTEER -lTPC
53 endif
54
55 ##### MACROS and TARGETS #####
56
57 include Make-macros
58
59
60 ##### DEPENDENCIES #####
61
62 include Make-depend