source: trunk/config/interactivity.gmk @ 1351

Last change on this file since 1351 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

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