1 # -*- mode: makefile -*-
2 # Makefile to build AliRoot for Alpha OSF1
4 # System dependent commands
22 CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
25 CLIBFOPT = -I. $(CLIBDEFS)
28 CXXFLAGS = $(CXXOPT) -nostdnew -rtti -taso
29 CXXFLAGSNO = $(CXXNOOPT) -nostdnew -rtti -taso
30 CFLAGS = $(COPT) -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
31 FFLAGS = $(FOPT) -nofor_main -warn noinformational -taso $(CLIBFOPT)
32 # rmkdepend flags for building dependencies of FORTRAN files
33 DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS))
36 CINTFLAGS = -D__DECCXX
42 SOFLAGS = -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \
43 -expect_unresolved "*" -msym -shared -taso \
44 /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o
46 SHLIB = -lUfor -lfor -lFutil
51 # Flags for static libraries
52 AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
55 # Additional flags and libraries for building aliroot executable
56 SYSLIBS := -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots -taso -lbsd
59 # sometimes in dependencies system include files of the sort
60 # /usr/.../filename AND /usr/.../filename.cc are present
61 # DEC believes that /usr/.../filename is the executable to be
62 # built from /usr/.../filename.cc
63 # Just avoid this to happen