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