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