Updated flags
[u/mrichter/AliRoot.git] / build / Makefile.alphacxx6
CommitLineData
b934f194 1# Makefile to build AliRoot for Alpha OSF1
2
02a1d5c1 3# The compilers
4CXX = cxx
5F77 = f77
6
7# Global optimisation
464338e6 8OPT = -O
9NOOPT = -O0
02a1d5c1 10
19ca05d1 11CXXOPT = $(OPT)
12CXXNOOPT = $(NOOPT)
02a1d5c1 13COPT = $(OPT)
19ca05d1 14FOPT = $(OPT)
02a1d5c1 15
16# CERNLIB defines
02a1d5c1 17CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
18CLIBCXXOPTS =
19CLIBCOPT =
19ca05d1 20CLIBFOPT = -I. $(CLIBDEFS)
21
22# Compiler flags
23CXXFLAGS = $(CXXOPT) -nostdnew -rtti -taso
24CXXFLAGSNO = $(CXXNOOPT) -nostdnew -rtti -taso
25CFLAGS = $(COPT) -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
26FFLAGS = $(FOPT) -nofor_main -warn noinformational -taso $(CLIBFOPT)
27# rmkdepend flags for building dependencies of FORTRAN files
28DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS))
02a1d5c1 29
19ca05d1 30# rootcint flags
31CINTFLAGS = -D__DECCXX
02a1d5c1 32
33LD = cxx
34LDFLAGS =
35
36SHLD = ld
37SOFLAGS = -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \
464338e6 38 -expect_unresolved "*" -msym -shared -taso \
39 /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o
02a1d5c1 40
41SHLIB = -lUfor -lfor -lFutil
42SOEXT = so
43
02a1d5c1 44#System libraries
02a1d5c1 45
46# Flags for static libraries
47AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
19ca05d1 48AFLAGS += $(SHLIB)
02a1d5c1 49
50# Additional flags and libraries for building aliroot executable
de6c7cfd 51SYSLIBS := -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots -taso -lbsd
02a1d5c1 52
53# Cure funny problem
54# sometimes in dependencies system include files of the sort
55# /usr/.../filename AND /usr/.../filename.cc are present
56# DEC believes that /usr/.../filename is the executable to be
57# built from /usr/.../filename.cc
58# Just avoid this to happen
59
60% : %.cc
61 @;
62
63
64
65
66
67
68
69
70