]> git.uio.no Git - u/mrichter/AliRoot.git/blame - build/Makefile.linuxx8664gcc
New line missing.
[u/mrichter/AliRoot.git] / build / Makefile.linuxx8664gcc
CommitLineData
72b92279 1# Makefile for AliRoot for Itanium/Linux with gcc
2
6a772515 3# System dependent commands
4
5XARGS = xargs -r
6
72b92279 7# The compilers
8CXX = g++
9F77 = g77
10CC = gcc
3deb9beb 11CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
12CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2)
72b92279 13
14# Global optimisation
7ee373fd 15OPT = -g -O
72b92279 16NOOPT = -g
17
18CXXOPT = $(OPT)
19CXXNOOPT = $(NOOPT)
20COPT = $(OPT)
21FOPT = $(OPT)
22
23# CERNLIB defines
24CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
25CLIBCXXOPTS =
26CLIBCOPT =
27CLIBFOPT = $(CLIBDEFS)
28
29# Compiler flags
3deb9beb 30ifeq ($(CCMAJORV),4)
31CXXFLAGS = $(CXXOPT) -W -Wall -Weffc++ -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
32CXXFLAGSNO = $(CXXNOOPT) -W -Wall -Weffc++ -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi
33else
72b92279 34CXXFLAGS = $(CXXOPT) -Wall -fPIC -pipe
35CXXFLAGSNO = $(CXXNOOPT) -Wall -fPIC -pipe
3deb9beb 36endif
72b92279 37CFLAGS = -Wall -fPIC -pipe
38FFLAGS = $(CLIBFOPT) $(FOPT) -fno-second-underscore -fPIC
39# rmkdepend flags for building dependencies of FORTRAN files
40DEPENDFFLAGS = $(FFLAGS)
41
42# rootcint flags
43CINTFLAGS =
44
45LD = g++
46LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
47
48SHLD = $(LD)
0d920266 49SOFLAGS = -shared -Wl -O2
72b92279 50SOEXT = so
51
52ALLD = ar
53ALFLAGS = cr
54ALLIB =
55AEXT = a
56
57# additional ROOT libraries
72b92279 58
4c461f53 59LIBNOVER = `find /lib64 -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib64/ -l/'`
72b92279 60
61#System libraries
de6c7cfd 62SYSLIBS := -ldl -lcrypt -L/usr/X11R6/lib64 -lX11 $(LIBNOVER)
72b92279 63
de6c7cfd 64EXEFLAGS := -lg2c
72b92279 65
66
67
68