]>
Commit | Line | Data |
---|---|---|
1 | # $Id$ | |
2 | ||
3 | # Which Machine | |
4 | PLATFORM = alpha | |
5 | ||
6 | # The compilers | |
7 | CXX = echo $*.cxx ; cxx | |
8 | F77 = echo $*.F ; f77 | |
9 | ||
10 | # Global optimisation | |
11 | OPT = -O2 | |
12 | ||
13 | # Shared library suffix | |
14 | SL = so | |
15 | ||
16 | # AWK | |
17 | AWK = awk | |
18 | ||
19 | # The options | |
20 | CXXOPTS = $(OPT) -nostdnew -nortti | |
21 | COPT = $(OPT) | |
22 | FOPT = $(OPT) -nofor_main -warn noinformational | |
23 | ||
24 | # CERNLIB defines | |
25 | ||
26 | CLIBDEFS = -DCERNLIB_DECS -DCERNLIB_BLDLIB -DCERNLIB_CZ | |
27 | CLIBCXXOPTS = | |
28 | CLIBCOPT = | |
29 | CLIBFOPT = -I. -warn noinformational | |
30 | ||
31 | # Additional directories for dependencies | |
32 | ||
33 | DEPINC = -I/usr/include/cxx | |
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 | SHLIB = -lUfor -lfor -lFutil | |
43 | ||
44 | LIBS = $(ROOTLIBS) | |
45 | GLIBS = $(ROOTLIBS) -lXm -lXt -lX11 -lm -lPW -lUfor -lfor -lFutil -lots | |
46 | ||
47 | CLIBS = $(LIBDIR)/libminicern.a | |
48 | ||
49 | # Cure funny problem | |
50 | # sometimes in dependencies system include files of the sort | |
51 | # /usr/.../filename AND /usr/.../filename.cc are present | |
52 | # DEC believes that /usr/.../filename is the executable to be | |
53 | # built from /usr/.../filename.cc | |
54 | # Just avoid this to happen | |
55 | ||
56 | % : %.cc | |
57 | @; | |
58 |