Using TMath::Log instead of log
[u/mrichter/AliRoot.git] / build / Makefile.solarisCC5
CommitLineData
d95a3ef8 1# -*- mode: makefile -*-
02a1d5c1 2# Makefile to build ALIROOT for SunOS
3
8229c658 4# System dependent commands
5
6XARGS = xargs
7
02a1d5c1 8# The compilers
9CXX = /opt/SUNWspro/bin/CC
10CC = /opt/SUNWspro/bin/cc
8229c658 11F77 = /opt/SUNWspro/bin/f77
02a1d5c1 12
13# Global optimisation
19ca05d1 14OPT = -g -O
15NOOPT = -g
02a1d5c1 16
19ca05d1 17CXXOPT = $(OPT)
18CXXNOOPT = $(NOOPT)
19COPT = $(OPT)
20FOPT = $(OPT)
02a1d5c1 21
22# CERNLIB defines
02a1d5c1 23CLIBDEFS = -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
24CLIBCXXOPTS =
25CLIBCOPT =
19ca05d1 26CLIBFOPT = $(CLIBDEFS) -xpp=cpp
02a1d5c1 27
19ca05d1 28# Compiler flags
8229c658 29CXXFLAGS = $(CXXOPT) +w -KPIC -features=rtti -D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D__EXTENSIONS__
19ca05d1 30CXXFLAGSNO = $(CXXNOOPT) +w -KPIC -features=rtti
31CFLAGS = $(COPT) -KPIC -erroff=%none
32FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -KPIC
33# rmkdepend flags for building dependencies of FORTRAN files
34DEPENDFFLAGS = $(FFLAGS)
35
36# rootcint flags
37CINTFLAGS =
38
8229c658 39SHLIB =
02a1d5c1 40SOEXT = so
41
42LD = /opt/SUNWspro/bin/CC
43LDFLAGS = $(OPT) -Qoption ld -t
44
45SHLD = $(LD)
46SOFLAGS = -G $(LDFLAGS) $(SHLIB)
47
de6c7cfd 48SYSLIBS := -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt \
8229c658 49 -lX11 -lm -lgen -ldl -lsocket -lsunmath -lfsu -lfui -lnsl
02a1d5c1 50
51# Additional flags and libraries for building aliroot executable
de6c7cfd 52
53EXEFLAGS := -O -Qoption ld -t
02a1d5c1 54
55
56
57
58