1 # -*- mode: makefile -*-
2 # Makefile to build ALIROOT for SunOS
4 # System dependent commands
18 CLIBDEFS = -DCERNLIB_SUN -DCERNLIB_BLDLIB -DCERNLIB_CZ
21 CLIBFOPT = $(CLIBDEFS) -xpp=cpp
24 CXXFLAGS = $(CXXOPT) +w -KPIC -template=no%extdef
25 CXXFLAGSNO = $(CXXNOOPT) +w -KPIC -template=no%extdef
26 CFLAGS = $(COPT) -KPIC -erroff=%none
27 FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) -KPIC
28 # rmkdepend flags for building dependencies of FORTRAN files
29 DEPENDFFLAGS = $(FFLAGS)
37 LD = $(shell root-config --cxx)
38 LDFLAGS = $(OPT) -Qoption ld -t
41 SOFLAGS = -G $(LDFLAGS) $(SHLIB)
43 SYSLIBS := -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -lXm -lXt \
44 -lX11 -lm -lgen -ldl -lsocket -lsunmath -lfsu -lfui -lnsl
46 # Additional flags and libraries for building aliroot executable
48 EXEFLAGS := -O -Qoption ld -t