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