]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | # Which Machine |
2 | PLATFORM = linux | |
3 | ||
4 | # The compilers | |
5 | CXX = echo $*.cxx ; g++ | |
6 | F77 = echo $*.F ; g77 | |
7 | CC = echo $*.c ; gcc | |
8 | ||
9 | # Global optimisation | |
10 | OPT = -g | |
11 | ||
12 | # Shared library suffix | |
13 | SL = so | |
14 | ||
15 | # The options | |
16 | CXXOPTS = -Wall -fPIC -fno-rtti -fno-exceptions | |
17 | COPT = $(OPT) | |
18 | FOPT = $(OPT) -fno-second-underscore | |
19 | ||
20 | # CERNLIB defines | |
21 | ||
22 | CLIBDEFS = -DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ | |
23 | CLIBCXXOPTS = | |
24 | CLIBCOPT = | |
25 | CLIBFOPT = | |
26 | ||
27 | # Additional directories for dependencies | |
28 | ||
29 | DEPINC = -I/usr/local/include/g++ -I/usr/local/include \ | |
30 | -I/usr/local/i686-pc-linux-gnu/include \ | |
31 | -I/usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.60/include | |
32 | ||
33 | LD = g++ | |
34 | LDFLAGS = $(OPT) | |
35 | SOFLAGS = -Wl,-soname,$(notdir $@) -shared | |
36 | SHLIB = -lg2c | |
37 | ||
38 | LIBS = $(ROOTLIBS) -lm -ldl -rdynamic | |
39 | GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -ldl -lcrypt -rdynamic | |
40 |