Warning, /geant4/config/G4VIS_BUILD.gmk is written in an unsupported language. File is not indexed.
0001 # -------------------------------------------------------------
0002 # Visualization-specific CPPFLAGS for BUILD phase.
0003 # John Allison, 24th January 1998.
0004 # Include this *after* architecture.gmk
0005 # Include this *before* interactivity.gmk
0006
0007 ifndef G4VIS_NONE
0008 G4VIS_BUILD = 1
0009 CPPFLAGS += -DG4VIS_BUILD
0010
0011 # The following drivers are built by default (no environment
0012 # variables needed)...
0013 # G4VIS_BUILD_ASCIITREE_DRIVER
0014 # G4VIS_BUILD_DAWNFILE_DRIVER
0015 # G4VIS_BUILD_GMOCRENFILE_DRIVER
0016 # G4VIS_BUILD_HEPREPFILE_DRIVER
0017 # G4VIS_BUILD_RAYTRACER_DRIVER
0018 # G4VIS_BUILD_VRMLFILE_DRIVER
0019 # G4VIS_BUILD_TOOLSSG_OFFSCREEN_DRIVER
0020
0021 ifdef G4VIS_BUILD_OPENGLXM_DRIVER
0022 # OPENGLXM requires OPENGLX...
0023 G4VIS_BUILD_OPENGLX_DRIVER = 1
0024 G4INTY_BUILD_XT = 1
0025 INC_XM = 1
0026 CPPFLAGS += -DG4VIS_BUILD_OPENGLXM_DRIVER
0027 endif
0028 ifdef G4VIS_BUILD_OPENGLQT_DRIVER
0029 G4VIS_BUILD_OPENGL_DRIVER = 1
0030 G4INTY_BUILD_QT = 1
0031 INC_QT = 1
0032 CPPFLAGS += -DG4VIS_BUILD_OPENGLQT_DRIVER
0033 endif
0034 ifdef G4VIS_BUILD_OPENGLWT_DRIVER
0035 G4VIS_BUILD_OPENGL_DRIVER = 1
0036 G4INTY_BUILD_WT = 1
0037 INC_WT = 1
0038 G4INTY_BUILD_QT = 1
0039 INC_QT = 1
0040 CPPFLAGS += -DG4VIS_BUILD_OPENGLWT_DRIVER
0041 endif
0042 ifdef G4VIS_BUILD_OPENGLX_DRIVER
0043 G4VIS_BUILD_OPENGL_DRIVER = 1
0044 INC_X11 = 1
0045 CPPFLAGS += -DG4VIS_BUILD_OPENGLX_DRIVER
0046 endif
0047 ifdef G4VIS_BUILD_OPENGLWIN32_DRIVER
0048 G4VIS_BUILD_OPENGL_DRIVER = 1
0049 G4INTY_BUILD_WIN32 = 1
0050 CPPFLAGS += -DG4VIS_BUILD_OPENGLWIN32_DRIVER
0051 endif
0052 ifdef G4VIS_BUILD_OPENGL_DRIVER
0053 INC_GL = 1
0054 CPPFLAGS += -DG4VIS_BUILD_OPENGL_DRIVER
0055 endif
0056
0057 ifdef G4VIS_BUILD_OIX_DRIVER
0058 G4VIS_BUILD_OI_DRIVER = 1
0059 G4INTY_BUILD_XT = 1
0060 INC_XM = 1
0061 CPPFLAGS += -DG4VIS_BUILD_OIX_DRIVER
0062 endif
0063 ifdef G4VIS_BUILD_OIQT_DRIVER
0064 G4VIS_BUILD_OI_DRIVER = 1
0065 G4INTY_BUILD_QT = 1
0066 INC_QT = 1
0067 CPPFLAGS += -DG4VIS_BUILD_OIQT_DRIVER
0068 endif
0069 ifdef G4VIS_BUILD_OIWIN32_DRIVER
0070 G4VIS_BUILD_OI_DRIVER = 1
0071 G4INTY_BUILD_WIN32 = 1
0072 CPPFLAGS += -DG4VIS_BUILD_OIWIN32_DRIVER
0073 endif
0074 ifdef G4VIS_BUILD_OI_DRIVER
0075 INC_IV = 1
0076 CPPFLAGS += -DG4VIS_BUILD_OI_DRIVER
0077 endif
0078 ifdef G4VIS_BUILD_QT3D_DRIVER
0079 G4INTY_BUILD_QT = 1
0080 INC_QT = 1
0081 CPPFLAGS += -DG4VIS_BUILD_QT3D_DRIVER
0082 endif
0083
0084 ifdef G4VIS_BUILD_RAYTRACERX_DRIVER
0085 CPPFLAGS += -DG4VIS_BUILD_RAYTRACERX_DRIVER
0086 INC_X11 = 1
0087 endif
0088
0089 ifdef G4LIB_BUILD_SHARED
0090 # build shared libs MUST resolve external libs at library build time
0091 ifdef G4VIS_BUILD_OPENGLX_DRIVER
0092 G4VIS_USE_OPENGLX = 1
0093 endif
0094
0095 ifdef G4VIS_BUILD_OPENGLWIN32_DRIVER
0096 G4VIS_USE_OPENGLWIN32 = 1
0097 endif
0098
0099 ifdef G4VIS_BUILD_OPENGLXM_DRIVER
0100 G4VIS_USE_OPENGLXM = 1
0101 endif
0102
0103 ifdef G4VIS_BUILD_OPENGLQT_DRIVER
0104 G4VIS_USE_OPENGLQT = 1
0105 endif
0106
0107 ifdef G4VIS_BUILD_OPENGLWT_DRIVER
0108 G4VIS_USE_OPENGLWT = 1
0109 endif
0110
0111 ifdef G4VIS_BUILD_OPENGL_DRIVER
0112 G4VIS_USE_OPENGL = 1
0113 endif
0114
0115 ifdef G4VIS_BUILD_OIX_DRIVER
0116 G4VIS_USE_OIX = 1
0117 endif
0118
0119 ifdef G4VIS_BUILD_OIQT_DRIVER
0120 G4VIS_USE_OIQT = 1
0121 endif
0122
0123 ifdef G4VIS_BUILD_OIWIN32_DRIVER
0124 G4VIS_USE_OIWIN32 = 1
0125 endif
0126
0127 ifdef G4VIS_BUILD_OI_DRIVER
0128 G4VIS_USE_OI = 1
0129 endif
0130
0131 ifdef G4VIS_BUILD_RAYTRACERX_DRIVER
0132 G4VIS_USE_RAYTRACERX = 1
0133 endif
0134
0135 include $(G4INSTALL)/config/G4VIS_USE.gmk
0136
0137 endif # G4LIB_BUILD_SHARED
0138
0139 endif #G4VIS_NONE