]> git.uio.no Git - u/mrichter/AliRoot.git/blame - build/Makefile.alphacxx6
Removing obsolete dependences
[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
45SYSLIBS = -lbsd
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
52EXEFLAGS += -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots
53EXEFLAGS += -taso
54
55# Cure funny problem
56# sometimes in dependencies system include files of the sort
57# /usr/.../filename AND /usr/.../filename.cc are present
58# DEC believes that /usr/.../filename is the executable to be
59# built from /usr/.../filename.cc
60# Just avoid this to happen
61
62% : %.cc
63 @;
64
65
66
67
68
69
70
71
72