source: trunk/config/interactivity.gmk @ 1213

Last change on this file since 1213 was 1213, checked in by garnier, 15 years ago

Suppression de Xaw. Sauf dans Configure et les fichier G4UIXaw.hh et cc

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########################### 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
60ifdef INC_X11
61  CPPFLAGS += $(X11FLAGS)
62endif
63ifdef LOAD_X11
64  INTYLIBS += $(X11LIBS)
65endif
66
67
68########################### and finally... #######################
69
70ifdef G4INTY_BUILD_XT
71  CPPFLAGS += -DG4INTY_BUILD_XT
72endif
73
74ifdef G4INTY_BUILD_QT
75  CPPFLAGS += -DG4INTY_BUILD_QT
76endif
77
78ifdef G4INTY_USE_XT
79  CPPFLAGS += -DG4INTY_USE_XT
80endif
81
82ifdef G4INTY_USE_QT
83  CPPFLAGS += -DG4INTY_USE_QT
84endif
85
86ifdef G4INTY_BUILD_WIN32
87  CPPFLAGS += -DG4INTY_BUILD_WIN32
88endif
89
90ifdef G4INTY_USE_WIN32
91  CPPFLAGS += -DG4INTY_USE_WIN32
92  INTYLIBS += $(UI32LIBS)
93endif
94
Note: See TracBrowser for help on using the repository browser.