]>
Commit | Line | Data |
---|---|---|
282214ba | 1 | # -*- mode: makefile -*- |
2 | # Makefile to build AliRoot for Linux on alpha | |
3 | ||
4 | # System dependent commands | |
5 | ||
6 | XARGS = xargs -r | |
7 | ||
8 | # The compilers | |
9 | CXX = g++ | |
10 | F77 = g77 | |
11 | CC = gcc | |
12 | CCMAJORV = $(shell $(CC) -dumpversion | cut -d. -f1) | |
13 | CCMINORV = $(shell $(CC) -dumpversion | cut -d. -f2) | |
14 | ||
15 | # Global optimisation | |
16 | OPT = -O -g -mieee -mno-soft-float | |
17 | NOOPT = -g -mieee -mno-soft-float | |
18 | ||
19 | CXXOPT = $(OPT) | |
20 | CXXNOOPT = $(NOOPT) | |
21 | COPT = $(OPT) | |
22 | FOPT = $(OPT) | |
23 | ||
24 | # CERNLIB defines | |
25 | CLIBDEFS = -DCERNLIB_UNIX -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ | |
26 | CLIBCXXOPTS = | |
27 | CLIBCOPT = | |
28 | CLIBFOPT = $(CLIBDEFS) | |
29 | ||
30 | # Compiler flags | |
31 | ||
32 | CXXFLAGS = $(OPT) -Wall -fPIC -pipe | |
33 | CXXFLAGSNO = $(NOOPT) -Wall -fPIC -pipe | |
34 | CFLAGS = $(OPT) -Wall -fPIC -pipe -ansi | |
35 | FFLAGS = $(CLIBFOPT) $(FOPT) -Wall -fPIC -pipe -fno-second-underscore | |
36 | # rmkdepend flags for building dependencies of FORTRAN files | |
37 | DEPENDFFLAGS = $(FFLAGS) | |
38 | ||
39 | # rootcint flags | |
40 | CINTFLAGS = | |
41 | ||
42 | LD = g++ | |
43 | LDFLAGS = $(OPT) | |
44 | ||
45 | SHLD = $(LD) | |
46 | SOFLAGS = $(OPT) -Wall -fPIC -pipe -shared -Wl | |
47 | SHLIB = -lg2c | |
48 | SOEXT = so | |
49 | ||
50 | ALLD = ar | |
51 | ALFLAGS = cr | |
52 | ALLIB = | |
53 | AEXT = a | |
54 | ||
55 | #System libraries | |
56 | SYSLIBS := -ldl -lg2c -lcrypt -L/usr/X11R6/lib -lX11 | |
57 | ||
58 | ||
59 | ||
60 | ||
61 |