Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/config/G4UI_BUILD.gmk is written in an unsupported language. File is not indexed.

0001 # -------------------------------------------------------------
0002 # Interfaces-specific CPPFLAGS for BUILD phase.
0003 #   John Allison, 6th July 1998.
0004 # Include this *after*  architecture.gmk
0005 # Include this *before* interactivity.gmk
0006 
0007 ifndef G4UI_NONE
0008   G4UI_BUILD = 1
0009   CPPFLAGS += -DG4UI_BUILD
0010   INC_X11 = 1
0011 
0012 # The following sessions are built by default (no environment
0013 #   variables needed)...
0014 # TERMINAL_SESSION
0015 
0016 # Special case: if OPENGLXM vis driver requested, G4Xt must be built.
0017 ifdef G4VIS_BUILD_OPENGLXM_DRIVER
0018   G4INTY_BUILD_XT = 1
0019 endif
0020 
0021 # Special case: if OIX/OIQt vis driver requested, G4Xt/G4Qt must be built.
0022 ifdef G4VIS_BUILD_OIX_DRIVER
0023   G4INTY_BUILD_XT  = 1
0024 endif
0025 ifdef G4VIS_BUILD_OIQT_DRIVER
0026   G4INTY_BUILD_QT  = 1
0027 endif
0028 
0029 ifdef G4UI_BUILD_XM_SESSION
0030   G4UI_BUILD_BASIC_SESSION = 1
0031   G4INTY_BUILD_XT = 1
0032   INC_XM = 1
0033   CPPFLAGS += -DG4UI_BUILD_XM_SESSION
0034 endif
0035 
0036 ifdef G4UI_BUILD_QT_SESSION
0037   G4UI_BUILD_BASIC_SESSION = 1
0038   G4INTY_BUILD_QT = 1
0039   INC_QT   = 1
0040   CPPFLAGS += -DG4UI_BUILD_QT_SESSION
0041 endif
0042 
0043 ifdef G4UI_BUILD_WT_SESSION
0044   G4UI_BUILD_BASIC_SESSION = 1
0045   G4INTY_BUILD_WT = 1
0046   INC_WT   = 1
0047   CPPFLAGS += -DG4UI_BUILD_WT_SESSION
0048 endif
0049 
0050 ifdef G4UI_BUILD_XAW_SESSION
0051   G4UI_BUILD_BASIC_SESSION = 1
0052   G4INTY_BUILD_XT = 1
0053   INC_XAW = 1
0054   CPPFLAGS += -DG4UI_BUILD_XAW_SESSION
0055 endif
0056 
0057 ifdef G4UI_BUILD_WIN32_SESSION
0058   G4UI_BUILD_BASIC_SESSION = 1
0059   G4INTY_BUILD_WIN32 = 1
0060   CPPFLAGS += -DG4UI_BUILD_WIN32_SESSION
0061 endif
0062 
0063 ########################### interfaces/XVT - not currently implemented #####
0064 
0065 ############################################################################
0066 
0067 ifdef G4LIB_BUILD_SHARED
0068 
0069    ifdef G4UI_BUILD_XM_SESSION
0070      G4UI_USE_XM = 1
0071    endif
0072 
0073    ifdef G4UI_BUILD_QT_SESSION
0074      G4UI_USE_QT = 1
0075    endif
0076 
0077    ifdef G4UI_BUILD_XAW_SESSION
0078      G4UI_USE_XAW = 1
0079    endif
0080 
0081    ifdef G4UI_BUILD_WIN32_SESSION
0082      G4UI_USE_WIN32 = 1
0083    endif
0084 
0085   include $(G4INSTALL)/config/G4UI_USE.gmk
0086 
0087 endif # G4LIB_BUILD_SHARED
0088 
0089 endif #G4UI_NONE
0090