Added cvs Id to all files
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
1 # $Id$
2  
3 # Which Machine 
4 PLATFORM      = linux
5
6 # The compilers
7 CXX           = echo $*.cxx ; g++
8 F77           = echo $*.F ; g77
9 CC            = echo $*.c ; gcc
10
11 # Global optimisation
12 OPT           = -O2
13 OPT           = -g
14
15 # Shared library suffix
16 SL            = so
17
18 # The options
19 #
20 # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
21 # not necessary any more
22 #
23 CXXOPTS       = $(OPT) -Wall -fPIC
24 COPT          = $(OPT)
25 FOPT          = $(OPT) -fno-second-underscore
26
27 # CERNLIB defines
28
29 CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
30 CLIBCXXOPTS   =
31 CLIBCOPT      =
32 CLIBFOPT      =
33
34 # Additional directories for dependencies
35
36 DEPINC        = `rm -f /tmp/d.cxx; touch /tmp/d.cxx ; \
37                  g++ -v -c /tmp/d.cxx -o /dev/null 2>&1 | \
38                  awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
39                  if(i==1) printf "%s",$$sub(" ","-I")" "; \
40                  if(substr($$0,1,10) == "\#include <") i=1}' ; rm /tmp/d.cxx`
41                 
42 LD            = g++
43 LDFLAGS       = $(OPT)
44
45 SHLD          = $(LD)
46 SOFLAGS       = -Wl,-soname,$(notdir $@) -shared 
47 SHLIB         = -lg2c
48
49 LIBS          = $(ROOTLIBS) -lm -ldl -rdynamic
50 GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -ldl -lcrypt -rdynamic
51