data transport between the tracker and the merger is optimized
[u/mrichter/AliRoot.git] / build / Makefile.linuxicc
CommitLineData
d95a3ef8 1# -*- mode: makefile -*-
b934f194 2# Makefile for AliRoot for Linux with the Intel icc compiler
3
6a772515 4# System dependent commands
5
6XARGS = xargs -r
7
02a1d5c1 8# Compiler version:
9ICC_MAJOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
10 cut -d'.' -f1)
11ICC_MINOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
12 cut -d'.' -f2)
13
02a1d5c1 14# Global optimisation
1400ecf6 15OPT = -O -ip
16NOOPT = -O0
02a1d5c1 17
7da191b6 18CXXOPT = $(OPT) -fPIC
19CXXNOOPT = $(NOOPT) -fPIC
20COPT = $(OPT) -fPIC
21FOPT = $(OPT) -fPIC
02a1d5c1 22
23# CERNLIB defines
02a1d5c1 24CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
25CLIBCXXOPTS =
26CLIBCOPT =
19ca05d1 27CLIBFOPT = $(CLIBDEFS)
28
29# Compiler flags
30CXXFLAGS = $(CXXOPT)
31CXXFLAGSNO = $(CXXNOOPT)
32CFLAGS = $(COPT)
33FFLAGS = $(CLIBFOPT) $(FOPT)
34# rmkdepend flags for building dependencies of FORTRAN files
35DEPENDFFLAGS = $(FFLAGS)
02a1d5c1 36
19ca05d1 37# rootcint flags
38CINTFLAGS =
02a1d5c1 39
5f30d16c 40LD = $(shell root-config --ld)
02a1d5c1 41LDFLAGS = $(OPT)
42
43SHLD = $(LD)
7da191b6 44SOFLAGS = -shared
02a1d5c1 45SHLIB =
46SOEXT = so
47
48ALLD = ar
49ALFLAGS = cr
50ALLIB =
51AEXT = a
52
53# additional ROOT libraries
02a1d5c1 54
02a1d5c1 55LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
02a1d5c1 56
57#System libraries
de6c7cfd 58SYSLIBS := -lcrypt -L/usr/X11R6/lib -lX11 $(LIBNOVER) -L/usr/local/lib \
7da191b6 59 -lXt -L$(shell which ifort | sed -e 's|bin|lib|' | sed -e 's|ifort||') \
1400ecf6 60 -lifcore -lifport