Corrected path to mapping libraries.
[u/mrichter/AliRoot.git] / build / Makefile.SunOS
CommitLineData
f0a26826 1# Makefile to build ALIROOT for SunOS
2
3# Which Machine
4PLATFORM = solaris
5
6# The compilers
7CXX = /opt/SUNWspro/bin/CC
8CC = /opt/SUNWspro/bin/cc
9F77 = f77
10
11# Global optimisation
12OPT = -O
13
14CXXOPTS = $(OPT) +w -KPIC -features=rtti
15COPT = $(OPT) -KPIC -erroff=%none -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
16FOPT = $(OPT) -KPIC
17CXXFLAGS = $(CXXOPTS)
fa2fdd07 18CFLAGS = $(OPT)
f0a26826 19
20# rootcint flags
21CINTFLAGS = $(filter-out -O +w -KPIC -features=rtti,$(CXXFLAGS))
22
23# CERNLIB defines
24
25CLIBDEFS = -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
26CLIBCXXOPTS =
27CLIBCOPT =
28CLIBFOPT = -xpp=cpp
29
30SHLIB = -L/opt/SUNWspro/lib -lF77 -lM77 /opt/SUNWspro/lib/libsunmath.so.1
31SOEXT = so
32
33LD = /opt/SUNWspro/bin/CC
34LDFLAGS = $(OPT) -Qoption ld -t
35
36SHLD = $(LD)
37SOFLAGS = -G $(LDFLAGS) $(SHLIB)
38
39# Common Fortran compilation flags
40FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
41
42# rmkdepend flags for building dependencies of FORTRAN files
43DEPENDFFLAGS = $(FFLAGS)
44
fa2fdd07 45ROOTLIBS += -lm -ldl -lnsl -lsocket
f0a26826 46
47# Additional flags and libraries for building aliroot executable
48EXEFLAGS += -O -Qoption ld -t -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt -lX11 -lm -lgen -ldl -lsocket -lsunmath
49
50
51
52
53