]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - build/Makefile.hpuxacc
Updated compilation options
[u/mrichter/AliRoot.git] / build / Makefile.hpuxacc
index f467b367ae1f8a0ccbef80a09cd8d8d0f353479d..cbdc7f79c8fa4410d57b4bdb636f15c6746955d7 100644 (file)
@@ -1,6 +1,9 @@
+# -*- mode: makefile -*-
 # Makefile to build AliRoot on HP-UX
 
-PLATFORM      = hpux
+# System dependent commands
+
+XARGS = xargs
 
 # The compilers
 CXX           = aCC
@@ -8,29 +11,29 @@ F77        = f77
 CC           = cc
 
 # Global optimisation
-OPT           = -O
-
-CXXOPTS       = $(OPT) -Wc,-ansi_for_scope,on +Z -z +W70,495,740,749,823,829 -Dextname
-COPT          = $(OPT) +Z -Ae
-FOPT          = $(OPT) +ppu +Z
-
-
+OPT           = -g -O
+NOOPT         = -g
 
-CXXFLAGS      = $(CXXOPTS)
-CFLAGS       = $(COPT)
-
-# rootcint flags
-CINTFLAGS     = 
+CXXOPT        = $(OPT)
+CXXNOOPT      = $(NOOPT)
+COPT          = $(OPT)
+FOPT          = $(OPT)
 
 # CERNLIB defines
-
 CLIBDEFS      = -DCERNLIB_HPUX -DCERNLIB_BLDLIB -DCERNLIB_CZ
 CLIBCXXOPTS   =
 CLIBCOPT      = +z -Ae 
-CLIBFOPT      = -WF,-P
+CLIBFOPT      = $(CLIBDEFS) -WF,-P
 
-# Common Fortran compilation flags
-FFLAGS = $(CLIBFOPT)  $(CLIBDEFS) $(FOPT)
+CXXFLAGS      = $(CXXOPT)   -Wc,-ansi_for_scope,on +Z -z +W70,495,740,749,823,829 -Dextname
+CXXFLAGSNO    = $(CXXNOOPT) -Wc,-ansi_for_scope,on +Z -z +W70,495,740,749,823,829 -Dextname
+CFLAGS       = $(COPT) +Z -Ae
+FFLAGS        = $(CLIBFOPT) $(FOPT) +ppu +Z
+# rmkdepend flags for building dependencies of FORTRAN files
+DEPENDFFLAGS  = $(FFLAGS)
+
+# rootcint flags
+CINTFLAGS     = 
 
 LD            = aCC
 LDFLAGS       = $(OPT) -z -Wl,+s -Wl,-E
@@ -41,14 +44,7 @@ SOFLAGS       = -b /usr/lib/libm.sl
 SOEXT        = sl
 
 # additional ROOT libraries
-ROOTLIBS  += -lcrypt 
-
-# rmkdepend flags for building dependencies of FORTRAN files
-DEPENDFFLAGS = $(FFLAGS)
-
-GLIBS         = -L/usr/lib/X11R6 -lX11 
-
-# System libraries
+SYSLIBS      := -lcrypt -L/usr/lib/X11R6 -lX11