Rely on PLATFORM defined in main makefile
[u/mrichter/AliRoot.git] / build / Makefile.linuxia64gcc
CommitLineData
02a1d5c1 1# The compilers
2CXX = g++
3F77 = g77
4CC = gcc
5
6# Global optimisation
7OPT = -g #-O
8
9CXXOPTS = $(OPT) -Wall -fPIC -pipe
10COPT = $(OPT)
11FOPT = $(OPT) -fno-second-underscore
12CXXFLAGS = $(CXXOPTS)
13CFLAGS = -Wall -fPIC -pipe
14
15# rootcint flags
16CINTFLAGS =
17
18# CERNLIB defines
19
20CLIBDEFS = -DCERNLIB_LXIA64 -DCERNLIB_BLDLIB -DCERNLIB_CZ
21CLIBCXXOPTS =
22CLIBCOPT =
23CLIBFOPT =
24
25# Common Fortran compilation flags
26FFLAGS = $(CLIBFOPT) $(CLIBDEFS) $(FOPT)
27
28LD = g++
29LDFLAGS = $(OPT) -Wl,-Map -Wl,$@.map
30
31SHLD = $(LD)
32SOFLAGS = -shared -Wl #-O2
33#SHLIB = -lg2c
34SOEXT = so
35
36ALLD = ar
37ALFLAGS = cr
38ALLIB =
39AEXT = a
40
41# additional ROOT libraries
42ROOTLIBS += -lcrypt
43
44# rmkdepend flags for building dependencies of FORTRAN files
45DEPENDFFLAGS = $(FFLAGS)
46
47LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
48GLIBS = -L/usr/X11R6/lib -lX11 $(LIBNOVER)
49
50#System libraries
51SYSLIBS = -ldl -lbsd
52
53EXEFLAGS+= -lg2c
54
55
56
57