]> git.uio.no Git - u/mrichter/AliRoot.git/blob - build/Makefile.alphacxx6
corrections from Alberto
[u/mrichter/AliRoot.git] / build / Makefile.alphacxx6
1 # Makefile to build AliRoot for Alpha OSF1
2
3 # System dependent commands
4
5 XARGS = xargs
6
7 # The compilers
8 CXX           = cxx 
9 F77           = f77
10
11 # Global optimisation
12 OPT           = -O
13 NOOPT         = -O0 
14
15 CXXOPT        = $(OPT)
16 CXXNOOPT      = $(NOOPT)
17 COPT          = $(OPT)
18 FOPT          = $(OPT)
19
20 # CERNLIB defines
21 CLIBDEFS      = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ
22 CLIBCXXOPTS   =
23 CLIBCOPT      =
24 CLIBFOPT      = -I. $(CLIBDEFS)
25
26 # Compiler flags
27 CXXFLAGS      = $(CXXOPT)   -nostdnew -rtti -taso
28 CXXFLAGSNO    = $(CXXNOOPT) -nostdnew -rtti -taso
29 CFLAGS        = $(COPT) -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha
30 FFLAGS        = $(FOPT) -nofor_main -warn noinformational -taso $(CLIBFOPT)
31 # rmkdepend flags for building dependencies of FORTRAN files
32 DEPENDFFLAGS  = $(filter-out -warn noinformational,$(FFLAGS))
33
34 # rootcint flags
35 CINTFLAGS     = -D__DECCXX
36                 
37 LD            = cxx
38 LDFLAGS       = 
39
40 SHLD          = ld
41 SOFLAGS       =  -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \
42                  -expect_unresolved "*" -msym -shared -taso \
43                  /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o
44
45 SHLIB         = -lUfor -lfor -lFutil
46 SOEXT         = so
47
48 #System libraries
49
50 # Flags for static libraries
51 AFLAGS = $(filter-out -rpath /usr/lib/cmplrs/cxx -msym -shared /usr/lib/cmplrs/cc/crt0.o,$(SOFLAGS))
52 AFLAGS += $(SHLIB)
53
54 # Additional flags and libraries for building aliroot executable
55 SYSLIBS     := -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots -taso -lbsd
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