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