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