]>
Commit | Line | Data |
---|---|---|
5ea08be4 | 1 | # Makefile for ALICE MDC program for Linux |
2 | ||
5403d445 | 3 | include $(ROOTSYS)/test/Makefile.arch |
5ea08be4 | 4 | |
5 | LDFLAGS += -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 | |
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 | |
161b03c4 | 21 | SMIDIR = /date/smi |
22 | DIMDIR = /date/dim | |
5ea08be4 | 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 | |
161b03c4 | 36 | EBDIR = /date/eventBuilder |
37 | BMDIR = /date/banksManager | |
38 | DBMDIR = /date/bufferManager | |
39 | DBDIR = /date/db | |
40 | FIFODIR = /date/simpleFifo | |
41 | INFODIR = /date/infoLogger | |
5ea08be4 | 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)),) | |
a109e73e | 51 | include ../HLT/hlt.conf |
52 | CXXFLAGS += -DUSE_HLT ${HLTDEFS} -I${ALICE_ROOT}/include -I../HLT/src -I../HLT/hough -I../HLT/comp | |
4aa41877 | 53 | LIBS += -lEG -lVMC -lGeom -lThread -L../lib/tgt_linuxDEBUG -lSTEER -lRAWData -lTPCbase -lTPCsim -lTPCrec -lCONTAINERS -lAliHLTSrc -lAliHLTMisc -lAliHLTHough -lAliHLTComp |
5ea08be4 | 54 | endif |
55 | ||
a197a4ce | 56 | ##### DATE ##### |
57 | ||
58 | ifdef DATE_ROOT | |
a109e73e | 59 | DATEFLAGS = -DALI_DATE -D${DATE_SYS} -DDATE_SYS=${DATE_SYS} -Dlong32=${DATE_LONG32} -Dlong64='${DATE_LONG64}' -DdatePointer=${DATE_POINTER} -I${DATE_COMMON_DEFS} |
a197a4ce | 60 | CXXFLAGS += $(DATEFLAGS) |
61 | endif | |
62 | ||
5ea08be4 | 63 | ##### MACROS and TARGETS ##### |
64 | ||
65 | include Make-macros | |
66 | ||
67 | ||
68 | ##### DEPENDENCIES ##### | |
69 | ||
a109e73e | 70 | #include Make-depend |