Previous commit had the bad side-effect of changing the behaviour of Raw QA to comput...
[u/mrichter/AliRoot.git] / build / Makefile.linuxia64gcc
CommitLineData
d95a3ef8 1# -*- mode: makefile -*-
b934f194 2# Makefile for AliRoot for Itanium/Linux with gcc
3
6a772515 4# System dependent commands
5
6XARGS = xargs -r
7
02a1d5c1 8# The compilers
5f30d16c 9CXX = $(shell root-config --cxx)
10F77 = $(shell root-config --f77)
11CC = $(shell root-config --cc)
02a1d5c1 12
13# Global optimisation
0d920266 14OPT = -g -O
19ca05d1 15NOOPT = -g
02a1d5c1 16
19ca05d1 17CXXOPT = $(OPT)
18CXXNOOPT = $(NOOPT)
02a1d5c1 19COPT = $(OPT)
19ca05d1 20FOPT = $(OPT)
02a1d5c1 21
22# CERNLIB defines
02a1d5c1 23CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
24CLIBCXXOPTS =
25CLIBCOPT =
19ca05d1 26CLIBFOPT = $(CLIBDEFS)
27
28# Compiler flags
ad2f2da2 29CXXFLAGS = $(CXXOPT) -Wall -Weffc++ -fPIC -pipe
30CXXFLAGSNO = $(CXXNOOPT) -Wall -Weffc++ -fPIC -pipe
19ca05d1 31CFLAGS = -Wall -fPIC -pipe
32FFLAGS = $(CLIBFOPT) $(FOPT) -fno-second-underscore
33# rmkdepend flags for building dependencies of FORTRAN files
34DEPENDFFLAGS = $(FFLAGS)
35
36# rootcint flags
37CINTFLAGS =
02a1d5c1 38
5f30d16c 39LD = $(shell root-config --ld)
02a1d5c1 40LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
41
42SHLD = $(LD)
0d920266 43SOFLAGS = -shared -Wl -O2
02a1d5c1 44SOEXT = so
45
46ALLD = ar
47ALFLAGS = cr
48ALLIB =
49AEXT = a
50
51# additional ROOT libraries
02a1d5c1 52
02a1d5c1 53LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
02a1d5c1 54
55#System libraries
de6c7cfd 56SYSLIBS := -ldl -lbsd -lg2c -L/usr/X11R6/lib -lX11 $(LIBNOVER)
02a1d5c1 57
02a1d5c1 58
59
60
61