AliMiniHeader structure and executables addMiniHeader and printMiniHeader removed
[u/mrichter/AliRoot.git] / RAW / Makefile
CommitLineData
5ea08be4 1# Makefile for ALICE MDC program for Linux
2
5403d445 3include $(ROOTSYS)/test/Makefile.arch
5ea08be4 4
5LDFLAGS += -Wl,-rpath,/ROOT/Linux/CurrentRelease/root/lib \
6 -Wl,-rpath,/date/smi/linux \
7 -Wl,-rpath,/date/dim/linux \
9174317d 8 -Wl,-rpath,/adcRoot/alimdc5
5ea08be4 9
10ifneq ($(findstring rdm,$(MAKECMDGOALS)),)
11CXXFLAGS += -DUSE_RDM
12endif
13
14ifneq ($(findstring debug,$(MAKECMDGOALS)),)
15CXXFLAGS += -DUSE_DEBUG -g
16endif
17
18ifneq ($(findstring smi,$(MAKECMDGOALS)),)
19#SMIDIR = ./smi
20#DIMDIR = ./dim
161b03c4 21SMIDIR = /date/smi
22DIMDIR = /date/dim
5ea08be4 23CXXFLAGS += -DUSE_SMI -I$(SMIDIR)/smixx -I$(DIMDIR)/dim
24LIBS += -L$(SMIDIR)/linux -lsmiui -lsmi -L$(DIMDIR)/linux -ldim
25endif
26
27ifneq ($(findstring evb,$(MAKECMDGOALS)),)
28ifneq ($(findstring rdm,$(MAKECMDGOALS)),)
29EBDIR = ./eb
30BMDIR = ./eb
31DBMDIR = ./eb
32DBDIR = ./eb
33FIFODIR = ./eb
34INFODIR = ./eb
35else
161b03c4 36EBDIR = /date/eventBuilder
37BMDIR = /date/banksManager
38DBMDIR = /date/bufferManager
39DBDIR = /date/db
40FIFODIR = /date/simpleFifo
41INFODIR = /date/infoLogger
5ea08be4 42endif
43CXXFLAGS += -DUSE_EB -I$(EBDIR)
44LIBS += -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
48endif
49
50ifneq ($(findstring hlt,$(MAKECMDGOALS)),)
51CXXFLAGS += -DUSE_HLT -I$(ALITPC)
52LIBS += -L$(ALITPC) -lSTEER -lTPC
53endif
54
55##### MACROS and TARGETS #####
56
57include Make-macros
58
59
60##### DEPENDENCIES #####
61
5403d445 62include Make-depend