Unify syntax for alpha and other systems for the creation of shared libraries.
[u/mrichter/AliRoot.git] / conf / MachineDef.SunOS
1 # Which Machine 
2 PLATFORM      = solaris
3
4 # The compilers
5 CXX           = /opt/SUNWspro/bin/CC
6 CC            = /opt/SUNWspro/bin/cc
7 F77           = f77
8
9 # Global optimisation
10 OPT           = -O
11 OPT           = -g
12
13 # Shared library suffix
14 SL            = so
15
16 # The options
17 CXXOPTS       = +w -KPIC
18 COPT          = $(OPT) -KPIC -erroff=%none
19 FOPT          = $(OPT) -KPIC
20
21 # CERNLIB stuff
22
23 CLIBDEFS      = -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
24 CLIBCXXOPTS   = 
25 CLIBCOPT      = 
26 CLIBFOPT      =
27
28 # Additional directories for dependencies
29
30 DEPINC        = -I/opt/SUNWspro/SC4.0/include/CC -I/opt/SUNWspro/SC4.0/include/cc
31                 
32 LD            = /opt/SUNWspro/bin/CC
33 LDFLAGS       = $(OPT) -Qoption ld -t
34
35 SHLD          = $(LD)
36 SOFLAGS       = -G
37 SHLIB         = -L/opt/SUNWspro/lib -lF77 -lM77 /opt/SUNWspro/lib/libsunmath.so.1
38
39 G3LIBS        = -lgeant321
40 CLIBS         = -lminicern
41
42 LIBS          = $(ROOTLIBS) -lm -lgen -ldl -lsocket -lsunmath
43 GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/dt/lib -L/usr/openwin/lib \
44                 -L/usr/ccs/lib -lXm -lXt -lX11 -lm -lgen -ldl -lsocket -lsunmath
45