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