source: trunk/geant4/config/interactivity.gmk @ 472

Last change on this file since 472 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.6 KB
Line 
1#  GNUmakefile for CPPFLAGS, LDFLAGS for interactivy,
2# ie interfaces and visualization.
3#
4#  Here we really set the CCPFLAGS, LDFLAGS for X11, Motif,...
5# according various INC_xxx, LOAD_xxx flags setted in
6# G4[UI, VIS]_[USE, BUILD].gmk. With this logic the
7# flags for one product (X11, Motif,...) will appear once
8# in the compilation/load command line.
9#
10#   Guy Barrand, 7th July 1998.
11
12# Other libraries
13
14########################### Inventor ############
15
16# Should be before OpenGL.
17ifdef INC_IV
18  INC_GL    = 1
19  CPPFLAGS += $(OIVFLAGS)
20endif
21ifdef LOAD_IV
22  LOAD_GL  = 1
23  INTYLIBS += $(OIVLIBS)
24endif
25
26########################### OpenGL ###############################
27
28ifdef INC_GL
29  CPPFLAGS += $(OGLFLAGS)
30endif
31ifdef LOAD_GL
32  INTYLIBS += $(OGLLIBS)
33endif
34
35########################### Motif, Athena, X11 ###################
36# Motif raise X11 flags.
37
38# Should be before X11.
39ifdef INC_XM
40  INC_X11   = 1
41  CPPFLAGS += $(XMFLAGS)
42endif
43ifdef LOAD_XM
44  LOAD_X11           = 1
45  INTYLIBS += $(XMLIBS)
46endif
47
48# Should be before X11.
49ifdef INC_XAW
50  INC_X11   = 1
51  CPPFLAGS += $(XAWFLAGS)
52endif
53ifdef LOAD_XAW
54  LOAD_X11           = 1
55  INTYLIBS += $(XAWLIBS)
56endif
57
58ifdef INC_X11
59  CPPFLAGS += $(X11FLAGS)
60endif
61ifdef LOAD_X11
62  INTYLIBS += $(X11LIBS)
63endif
64
65########################### and finally... #######################
66
67ifdef G4INTY_BUILD_XT
68  CPPFLAGS += -DG4INTY_BUILD_XT
69endif
70
71ifdef G4INTY_USE_XT
72  CPPFLAGS += -DG4INTY_USE_XT
73endif
74
75ifdef G4INTY_BUILD_WIN32
76  CPPFLAGS += -DG4INTY_BUILD_WIN32
77endif
78
79ifdef G4INTY_USE_WIN32
80  CPPFLAGS += -DG4INTY_USE_WIN32
81  INTYLIBS += $(UI32LIBS)
82endif
83
Note: See TracBrowser for help on using the repository browser.