Geant4 Cross Reference |
1 # 1 # 2 # -------- DEC --------- !!! not supported 2 # -------- DEC --------- !!! not supported !!! 3 # OSF V4.0, cxx C++ V6 3 # OSF V4.0, cxx C++ V6.1-027 4 ifeq ($(G4SYSTEM),DEC-cxx) 4 ifeq ($(G4SYSTEM),DEC-cxx) 5 CXX := cxx 5 CXX := cxx 6 ifdef G4OPTIMISE 6 ifdef G4OPTIMISE 7 CXXFLAGS := -O 7 CXXFLAGS := -O 8 else 8 else 9 ifdef G4DEBUG 9 ifdef G4DEBUG 10 CXXFLAGS := -gall 10 CXXFLAGS := -gall 11 FCFLAGS := -g 11 FCFLAGS := -g 12 CCFLAGS := -g 12 CCFLAGS := -g 13 endif 13 endif 14 endif 14 endif 15 CXXFLAGS += -ieee -timplicit_local 15 CXXFLAGS += -ieee -timplicit_local 16 CXXFLAGS += -std strict_ansi 16 CXXFLAGS += -std strict_ansi 17 SHEXT := so 17 SHEXT := so 18 G4RUNPATHOPTION := -rpath 18 G4RUNPATHOPTION := -rpath 19 FC := f77 19 FC := f77 20 FCLIBS := -lUfor -lfor -lFutil -lots 20 FCLIBS := -lUfor -lfor -lFutil -lots 21 LOADLIBS += -lm -lstdc++ 21 LOADLIBS += -lm -lstdc++ 22 ifndef X11FLAGS 22 ifndef X11FLAGS 23 X11FLAGS := -I/usr/include/X11/extensions 23 X11FLAGS := -I/usr/include/X11/extensions -I/usr/include/X11 24 endif 24 endif 25 ifndef X11LIBS 25 ifndef X11LIBS 26 X11LIBS := -lXmu -lXt -lXext -lX11 26 X11LIBS := -lXmu -lXt -lXext -lX11 27 endif 27 endif 28 ifndef XMFLAGS 28 ifndef XMFLAGS 29 XMFLAGS := 29 XMFLAGS := 30 endif 30 endif 31 ifndef XMLIBS 31 ifndef XMLIBS 32 XMLIBS := -lXm 32 XMLIBS := -lXm 33 endif 33 endif 34 ifndef XAWFLAGS 34 ifndef XAWFLAGS 35 XAWFLAGS := 35 XAWFLAGS := 36 endif 36 endif 37 ifndef XAWLIBS 37 ifndef XAWLIBS 38 XAWLIBS := -lXaw 38 XAWLIBS := -lXaw 39 endif 39 endif 40 ifndef OGLFLAGS 40 ifndef OGLFLAGS 41 OGLFLAGS := -I$(OGLHOME)/include 41 OGLFLAGS := -I$(OGLHOME)/include 42 # OGLFLAGS := -I/usr/include -I/usr/local/i 42 # OGLFLAGS := -I/usr/include -I/usr/local/include 43 endif 43 endif 44 ifndef OGLLIBS 44 ifndef OGLLIBS 45 OGLLIBS := -L$(OGLHOME)/lib -lGL << 45 OGLLIBS := -L$(OGLHOME)/lib -lGLU -lGL 46 # OGLLIBS := -lMesaGL << 46 # OGLLIBS := -lMesaGLU -lMesaGL 47 endif 47 endif 48 48 49 define build-granular-shared-lib 49 define build-granular-shared-lib 50 @libdir=`(cd $(@D);/bin/pwd)`; \ 50 @libdir=`(cd $(@D);/bin/pwd)`; \ 51 cd $(G4TMPDIR); \ 51 cd $(G4TMPDIR); \ 52 $(CXX) -shared -o $$libdir/$(@F) *.o 52 $(CXX) -shared -o $$libdir/$(@F) *.o 53 endef 53 endef 54 # transform-RPath = 1 54 # transform-RPath = 1 55 define build-global-shared-lib 55 define build-global-shared-lib 56 @echo "Global shared Libraries not support 56 @echo "Global shared Libraries not supported on $(G4SYSTEM) 57 endef 57 endef 58 endif 58 endif