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