config.wxi   [plain text]


<?xml version="1.0" encoding="utf-8"?>
<!--

  Copyright (C) 2004 by the Massachusetts Institute of Technology.
  All rights reserved.
 
  Export of this software from the United States of America may
    require a specific license from the United States Government.
    It is the responsibility of any person or organization contemplating
    export to obtain such a license before exporting.
 
  WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
  distribute this software and its documentation for any purpose and
  without fee is hereby granted, provided that the above copyright
  notice appear in all copies and that both that copyright notice and
  this permission notice appear in supporting documentation, and that
  the name of M.I.T. not be used in advertising or publicity pertaining
  to distribution of the software without specific, written prior
  permission.  Furthermore if you modify this software you must label
  your software as modified software and not distribute it in such a
  fashion that it might be confused with the original M.I.T. software.
  M.I.T. makes no representations about the suitability of
  this software for any purpose.  It is provided "as is" without express
  or implied warranty.
  
  -->
<Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi">

    <!-- include site sepecific customizations -->
    <?include site-local.wxi?>
    
    <!-- Sanity checks -->
    <?ifndef var.CL1200?>
        <?ifndef var.CL1300?>
            <?ifndef var.CL1310?>
                <?ifndef var.CL1400?>
                    <?error Must define one of CL1200, CL1300, CL1310 or CL1400?>
                <?endif?>
            <?endif?>
        <?endif?>
    <?endif?>
    
    
    <?define KfwRegRoot="SOFTWARE\MIT\Kerberos"?>
    
    <?define BinDir="$(var.TargetDir)bin\i386\"?>
    <?define DocDir="$(var.TargetDir)doc\"?>
    <?define IncDir="$(var.TargetDir)inc\"?>
    <?define LibDir="$(var.TargetDir)lib\i386\"?>
    <?define InstallDir="$(var.TargetDir)install\"?>
    <?define SystemDir="$(env.SystemRoot)\System32\"?>

    <?include lang\config_$(var.BuildLang).wxi?>
    
    <!-- Parameters for the features containing debug symbols -->
    <?ifdef DebugSyms?>
         <?ifdef Debug?>
             <?define DebugSymInstallDefault="followParent"?>
             <?define DebugSymLowLevel="30"?>
             <?define DebugSymHighLevel="130"?>
         <?else?>
             <?define DebugSymInstallDefault="followParent"?>
             <?define DebugSymLowLevel="130"?>
             <?define DebugSymHighLevel="130"?>
         <?endif?>
    <?endif?>
    
    <!-- Configuration macros -->
    <?ifndef LeashAfsStatus?>
        <?define LeashAfsStatus="1"?>
    <?endif?>
    <?ifndef LeashCreateMissingConfig?>
        <?define LeashCreateMissingConfig="0"?>
    <?endif?>
    <?ifndef LeashAutoRenewTickets?>
        <?define LeashAutoRenewTickets="1"?>
    <?endif?>
    <?ifndef LeashLockFileLocations?>
        <?define LeashLockFileLocations="0"?>
    <?endif?>
    <?ifndef LeashMsLsaImport?>
        <?define LeashMsLsaImport="2"?>
    <?endif?>
    <?ifndef LeashLifetime?>
        <?define LeashLifetime="0"?>
    <?endif?>
    <?ifndef LeashRenewTill?>
        <?define LeashRenewTill="0"?>
    <?endif?>
    <?ifndef LeashRenewable?>
        <?define LeashRenewable="0"?>
    <?endif?>
    <?ifndef LeashForwardable?>
        <?define LeashForwardable="1"?>
    <?endif?>
    <?ifndef LeashNoAddresses?>
        <?define LeashNoAddresses="1"?>
    <?endif?>
    <?ifndef LeashProxiable?>
        <?define LeashProxiable="0"?>
    <?endif?>
    <?ifndef LeashPublicIp?>
        <?define LeashPublicIp="0"?>
    <?endif?>
    <?ifndef LeashUseKrb4?>
        <?define LeashUseKrb4="1"?>
    <?endif?>
    <?ifndef LeashHideKinitOptions?>
        <?define LeashHideKinitOptions="0"?>
    <?endif?>
    <?ifndef LeashLifeMin?>
        <?define LeashLifeMin="5"?>
    <?endif?>
    <?ifndef LeashLifeMax?>
        <?define LeashLifeMax="1440"?>
    <?endif?>
    <?ifndef LeashRenewMin?>
        <?define LeashRenewMin="600"?>
    <?endif?>
    <?ifndef LeashRenewMax?>
        <?define LeashRenewMax="43200"?>
    <?endif?>
    <?ifndef LeashUppercaseRealm?>
        <?define LeashUppercaseRealm="1"?>
    <?endif?>
    <?ifndef LeashTimeHost?>
        <?define LeashTimeHost="time"?>
    <?endif?>
    <?ifndef LeashPreserveKinitOptions?>
        <?define LeashPreserveKinitOptions="0"?>
    <?endif?>
    <!-- These actually have no defaults. -->
    <?ifndef Krb4KrbRealms?>
        <?define Krb4KrbRealms=""?>
    <?endif?>
    <?ifndef Krb4KrbConf?>
        <?define Krb4KrbConf=""?>
    <?endif?>
    <?ifndef Krb4ConfigDir?>
        <?define Krb4ConfigDir=""?>
    <?endif?>
    <?ifndef Krb4TicketFile?>
        <?define Krb4TicketFile=""?>
    <?endif?>
    <?ifndef Krb5Config?>
        <?define Krb5Config=""?>
    <?endif?>
    <?ifndef Krb5CcName?>
        <?define Krb5CcName=""?>
    <?endif?>
    <?ifndef Krb5PreserveIdentity?>
        <?define Krb5PreserveIdentity="1"?>
    <?endif?>
</Include>