Warning, /geant4/config/interactivity.gmk is written in an unsupported language. File is not indexed.
0001 # GNUmakefile for CPPFLAGS, LDFLAGS for interactivy,
0002 # ie interfaces and visualization.
0003 #
0004 # Here we really set the CCPFLAGS, LDFLAGS for X11, Motif,...
0005 # according various INC_xxx, LOAD_xxx flags setted in
0006 # G4[UI, VIS]_[USE, BUILD].gmk. With this logic the
0007 # flags for one product (X11, Motif,...) will appear once
0008 # in the compilation/load command line.
0009 #
0010 # Guy Barrand, 7th July 1998.
0011
0012 # Other libraries
0013
0014 ########################### Inventor ############
0015
0016 # Should be before OpenGL.
0017 ifdef INC_IV
0018 INC_GL = 1
0019 CPPFLAGS += $(OIVFLAGS)
0020 endif
0021 ifdef LOAD_IV
0022 LOAD_GL = 1
0023 INTYLIBS += $(OIVLIBS)
0024 endif
0025
0026 ########################### Qt ###############################
0027 # Should be before X11.
0028 ifdef INC_QT
0029 CPPFLAGS += -DQT_NO_DEPRECATED_WARNINGS $(QTFLAGS)
0030 endif
0031 ifdef LOAD_QT
0032 INTYLIBS += $(QTLIBS)
0033 endif
0034 ifdef LOAD_3DQT
0035 INTYLIBS += $(QT3DLIBS)
0036 endif
0037 ifdef LOAD_GLQT
0038 INTYLIBS += $(GLQTLIBS)
0039 endif
0040
0041 ########################### Wt ###############################
0042 # Should be before X11.
0043 ifdef INC_WT
0044 CPPFLAGS += $(WTFLAGS)
0045 endif
0046 ifdef LOAD_WT
0047 INTYLIBS += $(WTLIBS)
0048 endif
0049
0050 ########################### OpenGL ###############################
0051
0052 ifdef INC_GL
0053 CPPFLAGS += $(OGLFLAGS)
0054 endif
0055 ifdef LOAD_GL
0056 INTYLIBS += $(OGLLIBS)
0057 endif
0058
0059 ########################### Motif, Athena, X11 ###################
0060 # Motif raise X11 flags.
0061
0062 # Should be before X11.
0063 ifdef INC_XM
0064 INC_X11 = 1
0065 CPPFLAGS += $(XMFLAGS)
0066 endif
0067 ifdef LOAD_XM
0068 LOAD_X11 = 1
0069 INTYLIBS += $(XMLIBS)
0070 endif
0071
0072 # Should be before X11.
0073 ifdef INC_XAW
0074 INC_X11 = 1
0075 CPPFLAGS += $(XAWFLAGS)
0076 endif
0077 ifdef LOAD_XAW
0078 LOAD_X11 = 1
0079 INTYLIBS += $(XAWLIBS)
0080 endif
0081
0082
0083 ifdef INC_X11
0084 CPPFLAGS += $(X11FLAGS)
0085 endif
0086 ifdef LOAD_X11
0087 INTYLIBS += $(X11LIBS)
0088 endif
0089
0090
0091 ########################### and finally... #######################
0092
0093 ifdef G4INTY_BUILD_XT
0094 CPPFLAGS += -DG4INTY_BUILD_XT
0095 endif
0096
0097 ifdef G4INTY_BUILD_QT
0098 CPPFLAGS += -DG4INTY_BUILD_QT
0099 endif
0100
0101 ifdef G4INTY_BUILD_WT
0102 CPPFLAGS += -DG4INTY_BUILD_WT
0103 endif
0104
0105 ifdef G4INTY_USE_XT
0106 CPPFLAGS += -DG4INTY_USE_XT
0107 endif
0108
0109 ifdef G4INTY_USE_QT
0110 CPPFLAGS += -DG4INTY_USE_QT
0111 endif
0112
0113 ifdef G4INTY_USE_WT
0114 CPPFLAGS += -DG4INTY_USE_WT
0115 endif
0116
0117 ifdef G4INTY_BUILD_WIN32
0118 CPPFLAGS += -DG4INTY_BUILD_WIN32
0119 endif
0120
0121 ifdef G4INTY_USE_WIN32
0122 CPPFLAGS += -DG4INTY_USE_WIN32
0123 INTYLIBS += $(UI32LIBS)
0124 endif
0125