New MachineDef for ROOT 2.22
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
CommitLineData
fe4da5cc 1# Which Machine
2PLATFORM = linux
3
4# The compilers
5CXX = echo $*.cxx ; g++
6F77 = echo $*.F ; g77
7CC = echo $*.c ; gcc
8
9# Global optimisation
a4a43406 10OPT = -O2
ad51aeb0 11OPT = -g
fe4da5cc 12
13# Shared library suffix
14SL = so
15
16# The options
9d02daf6 17#
18# starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
19# not necessary any more
20#
21CXXOPTS = $(OPT) -Wall -fPIC
fe4da5cc 22COPT = $(OPT)
23FOPT = $(OPT) -fno-second-underscore
24
25# CERNLIB defines
26
27CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
28CLIBCXXOPTS =
29CLIBCOPT =
30CLIBFOPT =
31
32# Additional directories for dependencies
33
34DEPINC = -I/usr/local/include/g++ -I/usr/local/include \
35 -I/usr/local/i686-pc-linux-gnu/include \
36 -I/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.60/include
37
38LD = g++
39LDFLAGS = $(OPT)
40da9a8f 40
41SHLD = $(LD)
fe4da5cc 42SOFLAGS = -Wl,-soname,$(notdir $@) -shared
43SHLIB = -lg2c
44
45LIBS = $(ROOTLIBS) -lm -ldl -rdynamic
46GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -ldl -lcrypt -rdynamic
47