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