set PLATFORM to the operating system (linux, macosx, alpha, ...) and
[u/mrichter/AliRoot.git] / build / Makefile.linuxia64ecc
CommitLineData
b934f194 1# Makefile for AliRoot for Itanium/Linux with Intel icc compiler
2
3PLATFORM = linux
4
02a1d5c1 5# The compilers
6CXX = ecc
7F77 = efc
8CC = ecc
9
10# Global optimisation
11OPT = -g #-O
12
13CXXOPTS = $(OPT)
14COPT = $(OPT)
15FOPT = $(OPT)
16CXXFLAGS = $(CXXOPTS)
17CFLAGS = $(COPT)
18
19# rootcint flags
20CINTFLAGS =
21
22# CERNLIB defines
23
24CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
25CLIBCXXOPTS =
26CLIBCOPT =
27CLIBFOPT =
28
29# Common Fortran compilation flags
30FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
31
32LD = ecc
33LDFLAGS = $(OPT)
34
35SHLD = $(LD)
36SOFLAGS = -Wl,-soname,$$TMPLIB -shared -O
37SHLIB =
38SOEXT = so
39
40ALLD = ar
41ALFLAGS = cr
42ALLIB =
43AEXT = a
44
45# additional ROOT libraries
46ROOTLIBS += -lcrypt
47
48# rmkdepend flags for building dependencies of FORTRAN files
49DEPENDFFLAGS = $(FFLAGS)
50
51LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
52GLIBS = $(LIBNOVER)
53
54#System libraries
55SYSLIBS =
56
57EXEFLAGS+= -L/usr/local/lib -lXt -lCEPCF90 -lF90 -lPEPCF90 -lintrins