introduce platform dependent Makefiles using names as provided by
[u/mrichter/AliRoot.git] / build / Makefile.alphacxx6
CommitLineData
02a1d5c1 1# Makefile to build ALIROOT for OSF1
2
3# Which Machine
4PLATFORM = alpha
5
6# The compilers
7CXX = cxx
8F77 = f77
9
10# Global optimisation
11OPT = -g
12
13CXXOPTS = $(OPT) -nostdnew -rtti -taso
14COPT = $(OPT)
15FOPT = $(OPT) -nofor_main -warn noinformational -taso
16CXXFLAGS = $(CXXOPTS)
17CFLAGS = -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
18
19# rootcint flags
20CINTFLAGS = -D__DECCXX
21
22# rmkdepend flags for building dependencies of FORTRAN files
23DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS))
24
25# CERNLIB defines
26
27CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
28CLIBCXXOPTS =
29CLIBCOPT =
30CLIBFOPT = -I. -warn noinformational
31
32# Common Fortran compilation flags
33FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS)
34
35LD = cxx
36LDFLAGS =
37
38SHLD = ld
39SOFLAGS = -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
42SOFLAGS += -lUfor -lfor -lFutil
43SOFLAGS += -taso
44
45SHLIB = -lUfor -lfor -lFutil
46SOEXT = so
47
48ROOTLIBS +=
49
50#System libraries
51SYSLIBS = -lbsd
52
53# Flags for static libraries
54AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
55
56# Additional flags and libraries for building aliroot executable
57EXEFLAGS += -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots
58EXEFLAGS += -taso
59
60# Cure funny problem
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
66
67% : %.cc
68 @;
69
70
71
72
73
74
75
76
77