Moved from AliTransbit to AliL3Transbit.
[u/mrichter/AliRoot.git] / conf / MachineDef.Linux
CommitLineData
809ca4d8 1# $Id$
2
fe4da5cc 3# Which Machine
4PLATFORM = linux
5
6# The compilers
5c76f8ad 7CXX = g++
8F77 = g77
9CC = gcc
fe4da5cc 10
11# Global optimisation
65fb704d 12OPT = -O -g
fe4da5cc 13
14# Shared library suffix
15SL = so
16
0237511c 17# AWK
18AWK = awk
19
fe4da5cc 20# The options
9d02daf6 21#
22# starting from root.2.22 on Linux the flags -fno-rtti -fno-exceptions are
23# not necessary any more
24#
34a2cc5e 25CXXOPTS = $(OPT) -Wall -fPIC -pipe
fe4da5cc 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
126a9774 38DEPINC = `rm -f /tmp/d_$$$$.cxx; touch /tmp/d_$$$$.cxx ; \
39 g++ -v -c /tmp/d_$$$$.cxx -o /dev/null 2>&1 | \
9e11827b 40 awk 'BEGIN {i=0} {if(substr($$0,1,10)=="End of sea") i=0; \
41 if(i==1) printf "%s",$$sub(" ","-I")" "; \
126a9774 42 if(substr($$0,1,10) == "\#include <") i=1}' ; \
43 rm /tmp/d_$$$$.cxx`
fe4da5cc 44
45LD = g++
46LDFLAGS = $(OPT)
40da9a8f 47
48SHLD = $(LD)
fe4da5cc 49SOFLAGS = -Wl,-soname,$(notdir $@) -shared
50SHLIB = -lg2c
51
084c1b4a 52LIBS = $(ROOTLIBS)
6719f3be 53LIBNOVER = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
54GLIBS = $(ROOTLIBS) -L/usr/X11R6/lib -lX11 -lg2c -lcrypt $(LIBNOVER)
deced392 55GLIBS += -L/usr/local/lib -lXm -lXt
fe4da5cc 56