# $Id: G4VIS_BUILD.gmk,v 1.2 2010/06/11 10:12:32 arce Exp $ # ------------------------------------------------------------- # Visualization-specific CPPFLAGS for BUILD phase. # John Allison, 24th January 1998. # Include this *after* architecture.gmk # Include this *before* interactivity.gmk ifndef G4VIS_NONE G4VIS_BUILD = 1 CPPFLAGS += -DG4VIS_BUILD # The following drivers are built by default (no environment # variables needed)... # G4VIS_BUILD_ASCIITREE_DRIVER # G4VIS_BUILD_DAWNFILE_DRIVER # G4VIS_BUILD_GAGTREE_DRIVER # G4VIS_BUILD_HEPREPFILE_DRIVER # G4VIS_BUILD_RAYTRACER_DRIVER # G4VIS_BUILD_VRMLFILE_DRIVER ifdef G4VIS_BUILD_DAWN_DRIVER CPPFLAGS += -DG4VIS_BUILD_DAWN_DRIVER endif ifdef G4VIS_BUILD_OPENGLXM_DRIVER # OPENGLXM requires OPENGLX... G4VIS_BUILD_OPENGLX_DRIVER = 1 G4INTY_BUILD_XT = 1 INC_XM = 1 CPPFLAGS += -DG4VIS_BUILD_OPENGLXM_DRIVER endif ifdef G4VIS_BUILD_OPENGLX_DRIVER G4VIS_BUILD_OPENGL_DRIVER = 1 INC_X11 = 1 CPPFLAGS += -DG4VIS_BUILD_OPENGLX_DRIVER endif ifdef G4VIS_BUILD_OPENGLWIN32_DRIVER G4VIS_BUILD_OPENGL_DRIVER = 1 G4INTY_BUILD_WIN32 = 1 CPPFLAGS += -DG4VIS_BUILD_OPENGLWIN32_DRIVER endif ifdef G4VIS_BUILD_OPENGL_DRIVER INC_GL = 1 CPPFLAGS += -DG4VIS_BUILD_OPENGL_DRIVER endif ifdef G4VIS_BUILD_OIX_DRIVER G4VIS_BUILD_OI_DRIVER = 1 G4INTY_BUILD_XT = 1 CPPFLAGS += -DG4VIS_BUILD_OIX_DRIVER endif ifdef G4VIS_BUILD_OIWIN32_DRIVER G4VIS_BUILD_OI_DRIVER = 1 G4INTY_BUILD_WIN32 = 1 CPPFLAGS += -DG4VIS_BUILD_OIWIN32_DRIVER endif ifdef G4VIS_BUILD_OI_DRIVER INC_IV = 1 CPPFLAGS += -DG4VIS_BUILD_OI_DRIVER endif ifdef G4VIS_BUILD_RAYTRACERX_DRIVER CPPFLAGS += -DG4VIS_BUILD_RAYTRACERX_DRIVER INC_X11 = 1 endif ifdef G4VIS_BUILD_VRML_DRIVER CPPFLAGS += -DG4VIS_BUILD_VRML_DRIVER endif ifdef G4LIB_BUILD_SHARED # build shared libs MUST resolve external libs at library build time ifdef G4VIS_BUILD_DAWN_DRIVER G4VIS_USE_DAWN = 1 endif ifdef G4VIS_BUILD_OPENGLX_DRIVER G4VIS_USE_OPENGLX = 1 endif ifdef G4VIS_BUILD_OPENGLWIN32_DRIVER G4VIS_USE_OPENGLWIN32 = 1 endif ifdef G4VIS_BUILD_OPENGLXM_DRIVER G4VIS_USE_OPENGLXM = 1 endif ifdef G4VIS_BUILD_OPENGL_DRIVER G4VIS_USE_OPENGL = 1 endif ifdef G4VIS_BUILD_OIX_DRIVER G4VIS_USE_OIX = 1 endif ifdef G4VIS_BUILD_OIWIN32_DRIVER G4VIS_USE_OIWIN32 = 1 endif ifdef G4VIS_BUILD_OI_DRIVER G4VIS_USE_OI = 1 endif ifdef G4VIS_BUILD_RAYTRACERX_DRIVER G4VIS_USE_RAYTRACERX = 1 endif ifdef G4VIS_BUILD_VRML_DRIVER G4VIS_USE_VRML = 1 endif include $(GAMOSINSTALL)/config/G4VIS_USE.gmk endif # G4LIB_BUILD_SHARED endif #G4VIS_NONE