Changeset 8313


Ignore:
Timestamp:
Apr 29, 2002, 1:34:59 PM (24 years ago)
Author:
bird
Message:

--with-klib option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Configure.cmd

    r5499 r8313  
    1 /* $Id: Configure.cmd,v 1.3 2001-04-14 07:22:12 bird Exp $
     1/* $Id: Configure.cmd,v 1.4 2002-04-29 11:34:59 bird Exp $
    22 *
    33 * Configuration script.
     
    1515    fInteractive    = 1;
    1616    fWin32k         = 1;
     17    fWithkLib       = 0;
     18
    1719
    1820    /* parse arguments */
     
    3537                when (ch = 'W') then
    3638                    fWin32k = 0;
     39                when (ch = '-') then
     40                do
     41                    parse var sArg sParm'='sOpt
     42                    select
     43                        when (sParm = '-WITH-KLIB') then
     44                            fWithkLib = 1;
     45                        otherwise
     46                            say 'syntax error ('asArgs.i')';
     47                            exit(2);
     48                    end
     49                end
     50
    3751                when (ch = '?' | ch = 'H' | substr(sArg, 1, 2) = '-H') then
    3852                do
    39                     say 'Odin32 Configure.cmd. $Revision: 1.3 $.'
     53                    say 'Odin32 Configure.cmd. $Revision: 1.4 $.'
    4054                    say 'syntax: Configure.cmd [-n] [-w]'
    41                     say '  -n   Noninteractive.'
    42                     say '  -w   Don''t build Win32k.'
    43                     say '  -h   This text.'
     55                    say '  -n           Noninteractive.'
     56                    say '  -w           Don''t build Win32k.'
     57                    say '  --with-klib  Build with kLib. (Will checkout kLib for you.)'
     58                    say '  -h           This text.'
    4459                    exit(1);
    4560                end
     
    8095        call lineout sIncFile, 'ODIN32_INCLUDE   =' sOdin32Base'\include';
    8196        call lineout sIncFile, 'ODIN32_TOOLS     =' sOdin32Base'\tools\bin';
     97        if (fWithkLib) then
     98            call lineout sIncFile, 'WITH_KLIB        = 1'
     99        call lineout sIncFile, ''
    82100        call lineout sIncFile, ''
    83101        call lineout sIncFile, '################################################################################'
Note: See TracChangeset for help on using the changeset viewer.