Compilation on solarisCC5
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2008 16:34:36 +0000 (16:34 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Oct 2008 16:34:36 +0000 (16:34 +0000)
LHAPDF/lhapdf5.3.1/LHpdflib.f
LHAPDF/lhapdf5.5.1/src/LHpdflib.f
LHAPDF/liblhapdf.pkg

index d432e8b..dba23e2 100644 (file)
@@ -41,6 +41,7 @@ c      integer :: ierror
       character*512 dirpath, homepath, dotlhapath, cachepath, setpath
 c pr      
       INTEGER LNROOT
+      INTEGER LEN_TRIM
       CHARACTER*1000 CHROOT
       CHROOT=' '
                 
index cc6c3ad..52c031e 100644 (file)
@@ -35,6 +35,7 @@ subroutine InitPDFsetByNameM(nset,setname)
   character setname*(*)
   integer nset
   character*512 dirpath, setpath
+  integer len_trim
 
   ! Initialise common blocks  
   call commoninit()
@@ -221,6 +222,7 @@ subroutine setPDFpath(pathname)
   include 'parmsetup.inc'
   character*(*) pathname
   integer j
+  integer len_trim
 
   call commoninit()
   lhaparm(20) = 'LHAPATH'
index b007032..e950932 100644 (file)
@@ -56,7 +56,12 @@ lhapdf5.5.1/src/wrapwhitg.f \
 lhapdf5.5.1/src/wrapzeus.f \
 lhapdf5.5.1/src/lhaglue.f\
 lhapdf5.5.1/src/wrapUSER.f
+
+ifeq (solarisCC5,$(ALICE_TARGET))
+PACKFFLAGS = $(FFLAGS) -free
+else
 PACKFFLAGS = $(FFLAGS) -ffree-form
+endif
 PACKCXXFLAGS = $(CXXFLAGS) -DDEFAULTPREFIXPATH=\"NONE\" -DDEFAULTLHAPATH=\"$(ALICE_ROOT)/LHAPDF/PDFsets\"
 EXPORT:=AliStructFuncType.h