Import Geant4 8.1.0 source tree
This commit is contained in:
+21
-4
@@ -13,11 +13,29 @@ ifeq ($(G4SYSTEM),DEC-cxx)
|
||||
endif
|
||||
endif
|
||||
CXXFLAGS += -ieee -timplicit_local
|
||||
CXXFLAGS += -std strict_ansi
|
||||
SHEXT := so
|
||||
#future G4RUNPATHOPTION := -rpath
|
||||
G4RUNPATHOPTION := -rpath
|
||||
FC := f77
|
||||
FCLIBS := -lUfor -lfor -lFutil -lots
|
||||
X11FLAGS := -I/usr/include/X11/extensions -I/usr/include/X11
|
||||
ifndef X11FLAGS
|
||||
X11FLAGS := -I/usr/include/X11/extensions -I/usr/include/X11
|
||||
endif
|
||||
ifndef X11LIBS
|
||||
X11LIBS := -lXmu -lXt -lXext -lX11
|
||||
endif
|
||||
ifndef XMFLAGS
|
||||
XMFLAGS :=
|
||||
endif
|
||||
ifndef XMLIBS
|
||||
XMLIBS := -lXm
|
||||
endif
|
||||
ifndef XAWFLAGS
|
||||
XAWFLAGS :=
|
||||
endif
|
||||
ifndef XAWLIBS
|
||||
XAWLIBS := -lXaw
|
||||
endif
|
||||
ifndef OGLFLAGS
|
||||
OGLFLAGS := -I$(OGLHOME)/include
|
||||
# OGLFLAGS := -I/usr/include -I/usr/local/include
|
||||
@@ -26,7 +44,6 @@ ifeq ($(G4SYSTEM),DEC-cxx)
|
||||
OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL
|
||||
# OGLLIBS := -lMesaGLU -lMesaGL
|
||||
endif
|
||||
CXXFLAGS += -std strict_ansi
|
||||
|
||||
define build-granular-shared-lib
|
||||
@libdir=`(cd $(@D);/bin/pwd)`; \
|
||||
@@ -35,6 +52,6 @@ ifeq ($(G4SYSTEM),DEC-cxx)
|
||||
endef
|
||||
# transform-RPath = 1
|
||||
define build-global-shared-lib
|
||||
@echo "Global shared Libraries not yet supported on $(G4SYSTEM)
|
||||
@echo "Global shared Libraries not supported on $(G4SYSTEM)
|
||||
endef
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user