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