Moved from AliTransbit to AliL3Transbit.
[u/mrichter/AliRoot.git] / conf / MachineDef.icc
1 # $Id$
2
3 # Which Machine 
4 PLATFORM  = linux
5
6 # The compilers
7 CXX       = icc 
8 F77           = ifc
9 CC            = icc
10
11 # Global optimisation
12 OPT       = -O
13
14 # Shared library suffix
15 SL            = so
16
17 # AWK
18 AWK           = 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 #
25 CXXOPTS       = $(OPT)
26 COPT          = $(OPT)
27 FOPT          = $(OPT)
28
29 # CERNLIB defines
30
31 CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
32 CLIBCXXOPTS   =
33 CLIBCOPT      =
34 CLIBFOPT      =
35
36 # Additional directories for dependencies
37
38 DEPINC        = `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
45 LD            = icc
46 LDFLAGS       = $(OPT)
47
48 SHLD          = $(LD)
49 SOFLAGS       = -Wl,-soname,$(notdir $@) -shared 
50 SHLIB         = 
51
52 LIBS          = $(ROOTLIBS) 
53 LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
54 GLIBS         = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lcrypt $(LIBNOVER)
55 GLIBS        += -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins
56