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