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