Make coherent ROOTLIBS definition
[u/mrichter/AliRoot.git] / build / Makefile.HP-UX
1 PLATFORM:= hpux
2
3 # The compilers
4
5 # The compilers
6 CXX           = aCC
7 F77           = f77
8 CC            = cc
9
10 # Global optimisation
11 OPT           = -O
12
13 CXXOPTS       = $(OPT) -Wc,-ansi_for_scope,on +Z -z +W70,495,740,749,823,829 -Dextname
14 COPT          = $(OPT) +Z
15 FOPT          = $(OPT) +ppu +Z
16
17
18
19 CXXFLAGS      = $(CXXOPTS)
20 CFLAGS        = $(COPT)
21
22 # rootcint flags
23 CINTFLAGS     = #$(CXXFLAGS)
24
25 # CERNLIB defines
26
27 CLIBDEFS      = -DCERNLIB_HPUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
28 CLIBCXXOPTS   =
29 CLIBCOPT      = +z -Ae 
30 CLIBFOPT      = -WF,-P
31
32 # Common Fortran compilation flags
33 FFLAGS = $(CLIBFOPT)  $(CLIBDEFS) $(FOPT)
34
35 LD            = aCC
36 LDFLAGS       = $(OPT) -z -Wl,+s -Wl,-E
37
38 SHLD          = $(LD)
39 SOFLAGS       = -b /usr/lib/libm.sl 
40
41 LIBS          = $(ROOTLIBS)
42 GLIBS         = $(ROOTLIBS) -L/usr/lib/X11R6 -lX11 
43
44 SOEXT         = sl
45
46 # additional ROOT libraries
47 ROOTLIBS  += -lcrypt 
48
49 # rmkdepend flags for building dependencies of FORTRAN files
50 DEPENDFFLAGS = $(FFLAGS)
51
52
53 LIBS          = $(ROOTLIBS)
54 GLIBS         = $(ROOTLIBS) -L/usr/lib/X11R6 -lX11 
55
56 # System libraries
57
58
59
60
61