package         G4UIbasic
version         v4r1
branches        cmt doc G4UIbasic 

# =============================================================================
# ============ dependencies ===================================================
# =============================================================================
use            G4UIcommon   v*   Geant4
use            G4run        v*   Geant4

# =============================================================================
# ============ library ========================================================
# =============================================================================
library        G4UIbasic    $(G4LibraryFlags) \ 
                            ../basic/src/*.cc 


# =============================================================================
# ============ macros for using the basic interfaces ==========================
# =============================================================================
macro          G4UIbasic_pp_cppflags   " $(X11include) " \
macro_append   G4UIbasic_pp_cppflags   "  -DG4UI_USE_XM" \ 
               WIN32                   ' /D"G4UI_USE_WIN32" ' 

# =============================================================================
# ============ mandatory patterns =============================================
# =============================================================================
apply_pattern  G4AllCMTpatterns

# =============================================================================
# ============ macros for building the basic interfaces =======================
# =============================================================================
private
macro_append   G4UIbasic_pp_cppflags   "  -DG4UI_BUILD_XM_SESSION" \
               WIN32                   ' /D"G4UI_BUILD_WIN32_SESSION" ' 

macro_append   G4UIbasic_shlibflags   "$(X_linkopts) "

private
macro G4UIbasic_source "$(G4CONFIGROOT)/cmt/copy_UI_source"
setup_script $(G4UIbasic_source)




