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