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

Last change on this file since 1213 was 1213, checked in by garnier, 15 years ago

Suppression de Xaw. Sauf dans Configure et les fichier G4UIXaw.hh et cc

File size: 1.2 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 OGLFLAGS
34    OGLFLAGS  := -I$(OGLHOME)/include
35#   OGLFLAGS  := -I/usr/include -I/usr/local/include
36  endif
37  ifndef OGLLIBS
38    OGLLIBS   := -L$(OGLHOME)/lib -lGLU -lGL
39#   OGLLIBS   := -lMesaGLU -lMesaGL
40  endif
41
42  define build-granular-shared-lib
43    @libdir=`(cd $(@D);/bin/pwd)`; \
44     cd $(G4TMPDIR); \
45     $(CXX) -shared -o $$libdir/$(@F) *.o
46  endef
47#  transform-RPath = 1
48  define build-global-shared-lib
49    @echo "Global shared Libraries not supported on $(G4SYSTEM)
50  endef
51endif
Note: See TracBrowser for help on using the repository browser.