Warning, /geant4/config/sys/DEC-cxx.gmk is written in an unsupported language. File is not indexed.
0001 #
0002 # -------- DEC --------- !!! not supported !!!
0003 # OSF V4.0, cxx C++ V6.1-027
0004 ifeq ($(G4SYSTEM),DEC-cxx)
0005 CXX := cxx
0006 ifdef G4OPTIMISE
0007 CXXFLAGS := -O
0008 else
0009 ifdef G4DEBUG
0010 CXXFLAGS := -gall
0011 FCFLAGS := -g
0012 CCFLAGS := -g
0013 endif
0014 endif
0015 CXXFLAGS += -ieee -timplicit_local
0016 CXXFLAGS += -std strict_ansi
0017 SHEXT := so
0018 G4RUNPATHOPTION := -rpath
0019 FC := f77
0020 FCLIBS := -lUfor -lfor -lFutil -lots
0021 LOADLIBS += -lm -lstdc++
0022 ifndef X11FLAGS
0023 X11FLAGS := -I/usr/include/X11/extensions -I/usr/include/X11
0024 endif
0025 ifndef X11LIBS
0026 X11LIBS := -lXmu -lXt -lXext -lX11
0027 endif
0028 ifndef XMFLAGS
0029 XMFLAGS :=
0030 endif
0031 ifndef XMLIBS
0032 XMLIBS := -lXm
0033 endif
0034 ifndef XAWFLAGS
0035 XAWFLAGS :=
0036 endif
0037 ifndef XAWLIBS
0038 XAWLIBS := -lXaw
0039 endif
0040 ifndef OGLFLAGS
0041 OGLFLAGS := -I$(OGLHOME)/include
0042 # OGLFLAGS := -I/usr/include -I/usr/local/include
0043 endif
0044 ifndef OGLLIBS
0045 OGLLIBS := -L$(OGLHOME)/lib -lGL
0046 # OGLLIBS := -lMesaGL
0047 endif
0048
0049 define build-granular-shared-lib
0050 @libdir=`(cd $(@D);/bin/pwd)`; \
0051 cd $(G4TMPDIR); \
0052 $(CXX) -shared -o $$libdir/$(@F) *.o
0053 endef
0054 # transform-RPath = 1
0055 define build-global-shared-lib
0056 @echo "Global shared Libraries not supported on $(G4SYSTEM)
0057 endef
0058 endif