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

Last change on this file since 633 was 486, checked in by garnier, 17 years ago

r576@mac-90108: laurentgarnier | 2007-06-05 18:11:08 +0200
modifs

File size: 1.8 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########################### Qt ###################
66
67ifdef INC_QT
68  CPPFLAGS += $(QTFLAGS)
69endif
70ifdef LOAD_QT
71  INTYLIBS += $(QTLIBS)
72endif
73
74########################### and finally... #######################
75
76ifdef G4INTY_BUILD_XT
77  CPPFLAGS += -DG4INTY_BUILD_XT
78endif
79
80ifdef G4INTY_BUILD_QT
81  CPPFLAGS += -DG4INTY_BUILD_QT
82endif
83
84ifdef G4INTY_USE_XT
85  CPPFLAGS += -DG4INTY_USE_XT
86endif
87
88ifdef G4INTY_USE_QT
89  CPPFLAGS += -DG4INTY_USE_QT
90endif
91
92ifdef G4INTY_BUILD_WIN32
93  CPPFLAGS += -DG4INTY_BUILD_WIN32
94endif
95
96ifdef G4INTY_USE_WIN32
97  CPPFLAGS += -DG4INTY_USE_WIN32
98  INTYLIBS += $(UI32LIBS)
99endif
100
Note: See TracBrowser for help on using the repository browser.