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