source: trunk/config/sys/DEC-cxx.gmk @ 868

Last change on this file since 868 was 472, checked in by garnier, 17 years ago

r549@wl-72148: laurentgarnier | 2007-05-15 10:37:42 +0200
import de geant4

File size: 1.3 KB
Line 
1#
2# -------- DEC ---------    !!! not supported !!!
3#                         OSF V4.0, cxx C++ V6.1-027
4ifeq ($(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  ifndef X11FLAGS
22    X11FLAGS  := -I/usr/include/X11/extensions -I/usr/include/X11
23  endif
24  ifndef X11LIBS
25    X11LIBS   := -lXmu -lXt -lXext -lX11
26  endif
27  ifndef XMFLAGS
28    XMFLAGS   :=
29  endif
30  ifndef XMLIBS
31    XMLIBS    := -lXm
32  endif
33  ifndef XAWFLAGS
34    XAWFLAGS   :=
35  endif
36  ifndef XAWLIBS
37    XAWLIBS    := -lXaw
38  endif
39  ifndef OGLFLAGS
40    OGLFLAGS  := -I$(OGLHOME)/include
41#   OGLFLAGS  := -I/usr/include -I/usr/local/include
42  endif
43  ifndef OGLLIBS
44    OGLLIBS   := -L$(OGLHOME)/lib -lGLU -lGL
45#   OGLLIBS   := -lMesaGLU -lMesaGL
46  endif
47
48  define build-granular-shared-lib
49    @libdir=`(cd $(@D);/bin/pwd)`; \
50     cd $(G4TMPDIR); \
51     $(CXX) -shared -o $$libdir/$(@F) *.o
52  endef
53#  transform-RPath = 1
54  define build-global-shared-lib
55    @echo "Global shared Libraries not supported on $(G4SYSTEM)
56  endef
57endif
Note: See TracBrowser for help on using the repository browser.