]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - build/Makefile.linuxx8664gcc
New line missing.
[u/mrichter/AliRoot.git] / build / Makefile.linuxx8664gcc
... / ...
CommitLineData
1# Makefile for AliRoot for Itanium/Linux with gcc
2
3# System dependent commands
4
5XARGS = xargs -r
6
7# The compilers
8CXX = g++
9F77 = g77
10CC = gcc
11CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1)
12CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2)
13
14# Global optimisation
15OPT = -g -O
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
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
34CXXFLAGS = $(CXXOPT) -Wall -fPIC -pipe
35CXXFLAGSNO = $(CXXNOOPT) -Wall -fPIC -pipe
36endif
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)
49SOFLAGS = -shared -Wl -O2
50SOEXT = so
51
52ALLD = ar
53ALFLAGS = cr
54ALLIB =
55AEXT = a
56
57# additional ROOT libraries
58
59LIBNOVER = `find /lib64 -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib64/ -l/'`
60
61#System libraries
62SYSLIBS := -ldl -lcrypt -L/usr/X11R6/lib64 -lX11 $(LIBNOVER)
63
64EXEFLAGS := -lg2c
65
66
67
68