]> git.uio.no Git - u/mrichter/AliRoot.git/blame - conf/MachineDef.icc
Minor changes and cosmetics according to Anders.
[u/mrichter/AliRoot.git] / conf / MachineDef.icc
CommitLineData
4d85df41 1# $Id$
2
3# Which Machine
4PLATFORM = linux
5
6# The compilers
7CXX = icc
8F77 = ifc
9CC = icc
10
11# Global optimisation
12OPT = -O
13
14# Shared library suffix
15SL = so
16
17# AWK
18AWK = awk
19
20# The options
21#
22# starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
23# not necessary any more
24#
25CXXOPTS = $(OPT)
26COPT = $(OPT)
27FOPT = $(OPT)
28
29# CERNLIB defines
30
31CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
32CLIBCXXOPTS =
33CLIBCOPT =
34CLIBFOPT =
35
36# Additional directories for dependencies
37
38DEPINC = `rm -f /tmp/d_$$$$.cxx; touch /tmp/d_$$$$.cxx ; \
39 g++ -v -c /tmp/d_$$$$.cxx -o /dev/null 2>&1 | \
40 awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
41 if(i==1) printf "%s",$$sub(" ","-I")" "; \
42 if(substr($$0,1,10) == "\#include <") i=1}' ; \
43 rm /tmp/d_$$$$.cxx`
44
45LD = icc
46LDFLAGS = $(OPT)
47
48SHLD = $(LD)
49SOFLAGS = -Wl,-soname,$(notdir $@) -shared
50SHLIB =
51
52LIBS = $(ROOTLIBS)
53LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
54GLIBS = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lcrypt $(LIBNOVER)
55GLIBS += -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins
56