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