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 |
a4a43406 |
10 | OPT = -O2 |
fe4da5cc |
11 | |
12 | # Shared library suffix |
13 | SL = so |
14 | |
15 | # The options |
a4a43406 |
16 | CXXOPTS = $(OPT) -Wall -fPIC -fno-rtti -fno-exceptions |
fe4da5cc |
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) |
40da9a8f |
35 | |
36 | SHLD = $(LD) |
fe4da5cc |
37 | SOFLAGS = -Wl,-soname,$(notdir $@) -shared |
38 | SHLIB = -lg2c |
39 | |
40 | LIBS = $(ROOTLIBS) -lm -ldl -rdynamic |
41 | GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib -lX11 -lg2c -ldl -lcrypt -rdynamic |
42 | |