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