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

Last change on this file since 765 was 758, checked in by garnier, 18 years ago

QT moc remove before compiling

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