1 # Makefile to build ALIROOT for SunOS
3 # System dependent commands
8 CXX = /opt/SUNWspro/bin/CC
9 CC = /opt/SUNWspro/bin/cc
10 F77 = /opt/SUNWspro/bin/f77
22 CLIBDEFS = -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
25 CLIBFOPT = $(CLIBDEFS) -xpp=cpp
28 CXXFLAGS = $(CXXOPT) +w -KPIC -features=rtti -D_XOPEN_SOURCE -D_XOPEN_VERSION=4 -D__EXTENSIONS__
29 CXXFLAGSNO = $(CXXNOOPT) +w -KPIC -features=rtti
30 CFLAGS = $(COPT) -KPIC -erroff=%none
31 FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -KPIC
32 # rmkdepend flags for building dependencies of FORTRAN files
33 DEPENDFFLAGS = $(FFLAGS)
41 LD = /opt/SUNWspro/bin/CC
42 LDFLAGS = $(OPT) -Qoption ld -t
45 SOFLAGS = -G $(LDFLAGS) $(SHLIB)
47 SYSLIBS := -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt \
48 -lX11 -lm -lgen -ldl -lsocket -lsunmath -lfsu -lfui -lnsl
50 # Additional flags and libraries for building aliroot executable
52 EXEFLAGS := -O -Qoption ld -t