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

Last change on this file since 787 was 787, checked in by garnier, 16 years ago

r806@wl-72126: garnier | 2008-04-22 18:00:13 +0200
mise a jour

File size: 2.0 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########################### Qt ###############################
27# Should be before X11.
28ifdef INC_QT
29  CPPFLAGS += $(QTFLAGS)
30endif
31ifdef LOAD_QT
32  INTYLIBS += $(QTLIBS)
33endif
34
35########################### Open GL Qt ###############################
36# Should be before X11.
37ifdef LOAD_GLQT
38  INTYLIBS += $(GLQTLIBS)
39endif
40
41########################### OpenGL ###############################
42
43ifdef INC_GL
44  CPPFLAGS += $(OGLFLAGS)
45endif
46ifdef LOAD_GL
47  INTYLIBS += $(OGLLIBS)
48endif
49
50########################### Motif, Athena, X11 ###################
51# Motif raise X11 flags.
52
53# Should be before X11.
54ifdef INC_XM
55  INC_X11   = 1
56  CPPFLAGS += $(XMFLAGS)
57endif
58ifdef LOAD_XM
59  LOAD_X11           = 1
60  INTYLIBS += $(XMLIBS)
61endif
62
63# Should be before X11.
64ifdef INC_XAW
65  INC_X11   = 1
66  CPPFLAGS += $(XAWFLAGS)
67endif
68ifdef LOAD_XAW
69  LOAD_X11           = 1
70  INTYLIBS += $(XAWLIBS)
71endif
72
73
74ifdef INC_X11
75  CPPFLAGS += $(X11FLAGS)
76endif
77ifdef LOAD_X11
78  INTYLIBS += $(X11LIBS)
79endif
80
81
82########################### and finally... #######################
83
84ifdef G4INTY_BUILD_XT
85  CPPFLAGS += -DG4INTY_BUILD_XT
86endif
87
88ifdef G4INTY_BUILD_QT
89  CPPFLAGS += -DG4INTY_BUILD_QT
90endif
91
92ifdef G4INTY_USE_XT
93  CPPFLAGS += -DG4INTY_USE_XT
94endif
95
96ifdef G4INTY_USE_QT
97  CPPFLAGS += -DG4INTY_USE_QT
98endif
99
100ifdef G4INTY_BUILD_WIN32
101  CPPFLAGS += -DG4INTY_BUILD_WIN32
102endif
103
104ifdef G4INTY_USE_WIN32
105  CPPFLAGS += -DG4INTY_USE_WIN32
106  INTYLIBS += $(UI32LIBS)
107endif
108
Note: See TracBrowser for help on using the repository browser.