]> git.uio.no Git - u/mrichter/AliRoot.git/blob - conf/MachineDef.Linux
Adding Geant4 configuration file
[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 # AWK
19 AWK           = awk
20
21 # The options
22 #
23 # starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
24 # not necessary any more
25 #
26 CXXOPTS       = $(OPT) -Wall -fPIC -pipe
27 COPT          = $(OPT)
28 FOPT          = $(OPT) -fno-second-underscore
29
30 # CERNLIB defines
31
32 CLIBDEFS      = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
33 CLIBCXXOPTS   =
34 CLIBCOPT      =
35 CLIBFOPT      =
36
37 # Additional directories for dependencies
38
39 DEPINC        = `rm -f /tmp/d_$$$$.cxx; touch /tmp/d_$$$$.cxx ; \
40                  g++ -v -c /tmp/d_$$$$.cxx -o /dev/null 2>&1 | \
41                  awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
42                  if(i==1) printf "%s",$$sub(" ","-I")" "; \
43                  if(substr($$0,1,10) == "\#include <") i=1}' ; \
44                  rm /tmp/d_$$$$.cxx`
45                 
46 LD            = g++
47 LDFLAGS       = $(OPT)
48
49 SHLD          = $(LD)
50 SOFLAGS       = -Wl,-soname,$(notdir $@) -shared 
51 SHLIB         = -lg2c
52
53 LIBS          = $(ROOTLIBS) 
54 GLIBS         = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt
55