Commits

Anonymous committed f375cb2

dummy f-hepevt library

  • Participants

Comments (0)

Files changed (2)

File src/hepevt.f

+      subroutine inihepevt
+      implicit none
+C...HEPEVT commonblock.
+      integer nmxhep,nevhep, nhep,isthep,idhep,jmohep,jdahep
+      PARAMETER (NMXHEP=4000)
+      COMMON/HEPEVT/NEVHEP,NHEP,ISTHEP(NMXHEP),IDHEP(NMXHEP),
+     &JMOHEP(2,NMXHEP),JDAHEP(2,NMXHEP),PHEP(5,NMXHEP),VHEP(4,NMXHEP)
+      DOUBLE PRECISION PHEP,VHEP
+
+      nevhep = 0
+      nhep = 0
+      isthep = 0
+      idhep = 0
+      jmohep = 0
+      jdahep = 0
+      phep = 0.
+      vhep = 0.
+      end
+#
+
+top = '.'
+out = '__build__'
+
+def options(ctx):
+    ctx.load('compiler_c')
+    ctx.load('compiler_fc')
+    
+def configure(ctx):
+
+    ctx.load('compiler_fc')
+    ctx.env['FCFLAGS'] = ['-Wall', '-W', '-O2']
+    ctx.check_fortran()
+    ctx.check_fortran_verbose_flag()
+    ctx.check_fortran_clib()
+    #ctx.check_fortran_mangling()
+    
+def build(ctx):
+
+    ctx(features='fc fcshlib',
+        name ='f-hepevt',
+        source='src/hepevt.f',
+        target='f-hepevt',
+        fcflags=['-fPIC',],
+        lib=['gfortran',]
+        )