]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.linuxia64ecc
data transport between the tracker and the merger is optimized
[u/mrichter/AliRoot.git] / build / Makefile.linuxia64ecc
index 104092313de19ae05bf227e2546ed413a9de648e..854957a1acf3994a749f797464c9680e2ae788a9 100644 (file)
@@ -1,31 +1,37 @@
-# The compilers
-CXX           = ecc 
-F77          = efc
-CC           = ecc
+# -*- mode: makefile -*-
+# Makefile for AliRoot for Itanium/Linux with Intel icc compiler
+
+# System dependent commands
+
+XARGS = xargs -r
 
 # Global optimisation
 OPT           = -g #-O
+NOOPT         = -g
 
-CXXOPTS       = $(OPT)
+CXXOPT        = $(OPT)
+CXXNOOPT      = $(OPT)
 COPT         = $(OPT)
 FOPT         = $(OPT)
-CXXFLAGS      = $(CXXOPTS)
-CFLAGS       = $(COPT)
-
-# rootcint flags
-CINTFLAGS     = 
 
 # CERNLIB defines
-
 CLIBDEFS      = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
 CLIBCXXOPTS   =
 CLIBCOPT      =
-CLIBFOPT      =
+CLIBFOPT      = $(CLIBDEFS)
 
-# Common Fortran compilation flags
-FFLAGS = $(CLIBFOPT)  $(CLIBDEFS) $(FOPT)
+# Compiler flags
+CXXFLAGS      = $(CXXOPT)
+CXXFLAGSNO    = $(CXXNOOPT)
+CFLAGS       = $(COPT)
+FFLAGS        = $(CLIBFOPT) $(FOPT)
+# rmkdepend flags for building dependencies of FORTRAN files
+DEPENDFFLAGS  = $(FFLAGS)
+
+# rootcint flags
+CINTFLAGS     = 
 
-LD            = ecc
+LD            = $(shell root-config --ld)
 LDFLAGS       = $(OPT) 
 
 SHLD         = $(LD)
@@ -39,15 +45,8 @@ ALLIB         =
 AEXT         = a
 
 # additional ROOT libraries
-ROOTLIBS  += -lcrypt 
-
-# rmkdepend flags for building dependencies of FORTRAN files
-DEPENDFFLAGS = $(FFLAGS)
 
 LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
-GLIBS         = $(LIBNOVER)
-
-#System libraries
-SYSLIBS =
 
-EXEFLAGS+= -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins
+SYSLIBS      := $(LIBNOVER) -lcrypt -L/usr/local/lib -lXt -lCEPCF90 -lF90 \
+                -lPEPCF90 -lintrins -L/usr/X11R6/lib -lX11