]>
Commit | Line | Data |
---|---|---|
b934f194 | 1 | # Makefile to build AliRoot for Alpha OSF1 |
2 | ||
3 | PLATFORM = alpha | |
02a1d5c1 | 4 | |
02a1d5c1 | 5 | # The compilers |
6 | CXX = cxx | |
7 | F77 = f77 | |
8 | ||
9 | # Global optimisation | |
10 | OPT = -g | |
11 | ||
12 | CXXOPTS = $(OPT) -nostdnew -rtti -taso | |
13 | COPT = $(OPT) | |
14 | FOPT = $(OPT) -nofor_main -warn noinformational -taso | |
15 | CXXFLAGS = $(CXXOPTS) | |
16 | CFLAGS = -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha | |
17 | ||
18 | # rootcint flags | |
19 | CINTFLAGS = -D__DECCXX | |
20 | ||
21 | # rmkdepend flags for building dependencies of FORTRAN files | |
22 | DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS)) | |
23 | ||
24 | # CERNLIB defines | |
25 | ||
26 | CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ | |
27 | CLIBCXXOPTS = | |
28 | CLIBCOPT = | |
29 | CLIBFOPT = -I. -warn noinformational | |
30 | ||
31 | # Common Fortran compilation flags | |
32 | FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) | |
33 | ||
34 | LD = cxx | |
35 | LDFLAGS = | |
36 | ||
37 | SHLD = ld | |
38 | SOFLAGS = -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 | |
41 | SOFLAGS += -lUfor -lfor -lFutil | |
42 | SOFLAGS += -taso | |
43 | ||
44 | SHLIB = -lUfor -lfor -lFutil | |
45 | SOEXT = so | |
46 | ||
47 | ROOTLIBS += | |
48 | ||
49 | #System libraries | |
50 | SYSLIBS = -lbsd | |
51 | ||
52 | # Flags for static libraries | |
53 | AFLAGS = $(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 | |
56 | EXEFLAGS += -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots | |
57 | EXEFLAGS += -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 |