1 # -*- mode: makefile -*-
2 # Makefile for AliRoot for Linux with the Intel icc compiler
4 # System dependent commands
9 CXX = $(shell root-config --cxx)
10 CC = $(shell root-config --cc)
11 F77 = $(shell root-config --f77)
14 ICC_MAJOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
16 ICC_MINOR := $(shell $(CXX) -V 2>&1 | awk '{ if (NR==1) print $$8 }' | \
29 CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
32 CLIBFOPT = $(CLIBDEFS)
36 CXXFLAGSNO = $(CXXNOOPT)
38 FFLAGS = $(CLIBFOPT) $(FOPT)
39 # rmkdepend flags for building dependencies of FORTRAN files
40 DEPENDFFLAGS = $(FFLAGS)
45 LD = $(shell root-config --ld)
49 SOFLAGS = -Wl,-soname,$$TMPLIB -shared $(OPT)
58 # additional ROOT libraries
60 LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
63 SYSLIBS := -lcrypt -L/usr/X11R6/lib -lX11 $(LIBNOVER) -L/usr/local/lib \
64 -lXt -L$(shell which ifort | sed -e 's|bin/ifort|lib|') \