1 # Makefile to build ALIROOT for OSF1
13 CXXOPTS = $(OPT) -nostdnew -rtti -taso
15 FOPT = $(OPT) -nofor_main -warn noinformational -taso
17 CFLAGS = -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
20 CINTFLAGS = -D__DECCXX
22 # rmkdepend flags for building dependencies of FORTRAN files
23 DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS))
27 CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
30 CLIBFOPT = -I. -warn noinformational
32 # Common Fortran compilation flags
33 FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
39 SOFLAGS = -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \
40 -expect_unresolved "*" -msym -shared \
41 /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o
42 SOFLAGS += -lUfor -lfor -lFutil
45 SHLIB = -lUfor -lfor -lFutil
53 # Flags for static libraries
54 AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
56 # Additional flags and libraries for building aliroot executable
57 EXEFLAGS += -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots
61 # sometimes in dependencies system include files of the sort
62 # /usr/.../filename AND /usr/.../filename.cc are present
63 # DEC believes that /usr/.../filename is the executable to be
64 # built from /usr/.../filename.cc
65 # Just avoid this to happen