]>
Commit | Line | Data |
---|---|---|
1 | # Makefile to build ALIROOT for OSF1 | |
2 | ||
3 | # The compilers | |
4 | CXX = cxx | |
5 | F77 = f77 | |
6 | ||
7 | # Global optimisation | |
8 | OPT = -g | |
9 | ||
10 | CXXOPTS = $(OPT) -nostdnew -rtti -taso | |
11 | COPT = $(OPT) | |
12 | FOPT = $(OPT) -nofor_main -warn noinformational -taso | |
13 | CXXFLAGS = $(CXXOPTS) | |
14 | CFLAGS = -fPIC -pipe -mcpu=ev5 -D__osf__ -D__alpha | |
15 | ||
16 | # rootcint flags | |
17 | CINTFLAGS = -D__DECCXX | |
18 | ||
19 | # rmkdepend flags for building dependencies of FORTRAN files | |
20 | DEPENDFFLAGS = $(filter-out -warn noinformational,$(FFLAGS)) | |
21 | ||
22 | # CERNLIB defines | |
23 | ||
24 | CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ | |
25 | CLIBCXXOPTS = | |
26 | CLIBCOPT = | |
27 | CLIBFOPT = -I. -warn noinformational | |
28 | ||
29 | # Common Fortran compilation flags | |
30 | FFLAGS = $(FOPT) $(CLIBFOPT) $(CLIBDEFS) | |
31 | ||
32 | LD = cxx | |
33 | LDFLAGS = | |
34 | ||
35 | SHLD = ld | |
36 | SOFLAGS = -L/usr/lib/cmplrs/cxx -rpath /usr/lib/cmplrs/cxx \ | |
37 | -expect_unresolved "*" -msym -shared \ | |
38 | /usr/lib/cmplrs/cc/crt0.o /usr/lib/cmplrs/cxx/_main.o | |
39 | SOFLAGS += -lUfor -lfor -lFutil | |
40 | SOFLAGS += -taso | |
41 | ||
42 | SHLIB = -lUfor -lfor -lFutil | |
43 | SOEXT = so | |
44 | ||
45 | ROOTLIBS += | |
46 | ||
47 | #System libraries | |
48 | SYSLIBS = -lbsd | |
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 | ||
53 | # Additional flags and libraries for building aliroot executable | |
54 | EXEFLAGS += -lXm -lXt -lX11 -lPW -lUfor -lfor -lFutil -lots | |
55 | EXEFLAGS += -taso | |
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 |