Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
# -*- mode: perl; tabs: 8; indent-width: 4; show-tabs: yes; -*-
2
# Copyright (C) 1998-2004 ERG Transit Systems, All rights reserved
3
#
4
# Module name   : Makelib.pl
5
# Module type   : Makefile system
6
#
7
# Description:
8
#       This modules builds the primary makefile for each directory,
9
#       used in conjunction with Makelib.pl2.  The produced makefile
10
#       acts as a frontend to platform builds.
11
#
12
# Notes:
13
#
14
#                       *** DO NOT DETAB ***
15
#
16
#       Beware the use of space v's tab characters within the
17
#       makefile generation sessions.
18
#
19
#.........................................................................#
20
 
255 dpurdie 21
require 5.006_001;
227 dpurdie 22
use strict;
23
use warnings;
261 dpurdie 24
use Getopt::Long;
263 dpurdie 25
use JatsError;
227 dpurdie 26
use JatsEnv;
27
use JatsMakeInfo qw(:create);
28
 
29
our $MakelibVersion         = "2.33";           # makelib.pl version
30
 
31
our $ScmRoot                = "";
32
our $ScmSrcDir              = "";
33
our $ScmMakelib             = "";
34
our @ScmDepends             = ();
35
our $ScmExpert              = 0;
36
our $ScmAll                 = 0;
37
our $ProjectBase            = "";               # Base of the user's project
38
our $ScmInterface           = "interface";
39
 
40
our @SUBDIRS                = ();
41
our @PLATFORMS              = ();
42
our %PLATFORMARGS           = ();
43
our @DEFINES                = "";
44
our @RULES                  = ();
45
 
46
our %PACKAGE_DIST           = ();
47
 
48
our $ROOTMAKEFILE           = 0;
49
our $PLATFORMINCLUDED       = 0;
50
our @BUILDPLATFORMS         = ();
51
 
263 dpurdie 52
our $GBE_CONFIG;
53
our $GBE_TOOLS;
54
our $GBE_PERL;
227 dpurdie 55
 
56
#.. Running under 'buildlib.pl' ?
331 dpurdie 57
#       This will be the 'require .../makelib.pl' that is present in
58
#       the build.pl files. Yes, its overly complicated, but it was
59
#       the way it was done.
227 dpurdie 60
#
61
unless ( $::ScmBuildlib )
62
{
63
    MakeLibInit();
64
}
65
 
66
sub MakeLibInit
67
{
261 dpurdie 68
    #.. Test environment
69
    #
227 dpurdie 70
    EnvImport( "GBE_BIN" );
71
    EnvImport( "GBE_PERL" );
72
    EnvImport( "GBE_TOOLS" );
73
    EnvImport( "GBE_CONFIG" );
74
    EnvImport( "GBE_MACHTYPE" );
75
 
261 dpurdie 76
    #.. Common stuff
77
    #
227 dpurdie 78
    require "$::GBE_TOOLS/common.pl";
79
 
80
    CommonInit( "makelib " );
81
    Debug( "version:   $MakelibVersion" );
82
 
261 dpurdie 83
    #.. Parse command line
84
    #       makefile.pl  rootdir Makelib.pl [options ...]
85
    #
86
    Verbose ("Command Line: @ARGV");
87
    my $opt_help = 0;
88
    my $result = GetOptions (
89
                "help+"         => \$opt_help,
90
                "interface=s"   => \$::ScmInterface,
91
                );
92
 
93
    MLUsage() if ( $opt_help || !$result );
94
 
95
    #
96
    #   Needs 2 command line arguments
97
    #
227 dpurdie 98
    $::ScmRoot    = StripDrive( ${ARGV[0]} );
279 dpurdie 99
    $::ScmRoot    = '/./' if ( $::ScmRoot eq '/'  );    # Prevent leading '//'
227 dpurdie 100
    $::ProjectBase= $::ScmRoot;
101
    $::ScmMakelib = ${ARGV[1]};
102
 
103
    Debug( "ARGV:      @ARGV" );
104
    Debug( "Root:      $::ScmRoot" );
105
    Debug( "Makelib:   $::ScmMakelib" );
106
 
261 dpurdie 107
    #.. Get the stuff from the platform definition file
108
    #
227 dpurdie 109
    ConfigLoad();
110
 
261 dpurdie 111
    #.. Get the stuff from the package definition file
112
    #
227 dpurdie 113
    require "$::ScmRoot/package.pl"
114
        if ( -f "$::ScmRoot/package.pl" );
115
}
116
 
117
#   MLUsage ---
118
#       Makelib command line usage.
119
#..
120
 
121
sub MLUsage
122
{
261 dpurdie 123
    Error ( "Usage: perl makefile.pl <ROOTDIR> <makelib.pl> [options ...]",
124
            "Valid options:",
125
            "   --help            Display Help",
126
            "   --interface=name  Set interface directory",
127
            );
227 dpurdie 128
}
129
 
130
#-------------------------------------------------------------------------------
131
# Function        : SubDir
132
#
133
# Description     : Recurse into the specified sub directories
134
#                   This is one of the very few directives in a 'makefile.pl'
135
#                   that is processed by this script - all the others are
136
#                   processed by makelib.pl2.
137
#
138
#                   This directive MUST appear before the 'Platform' directive
139
#
140
# Inputs          : List of sub directories to visit
141
#
142
# Returns         : Nothing
143
#
144
sub SubDir
145
{
146
    my( @NewDirs );
147
    Debug( "SubDir(@_)" );
148
    Error ("Directive 'SubDir' not allowed in this context") if ( $::ScmBuildlib  );
149
 
150
    #
151
    #   Support different constructs:
152
    #       'dir1 dir2'
153
    #       'dir1','dir2'
154
    #
155
    @NewDirs = map { split /\s+/ } @_;
156
    @NewDirs = grep { defined $_ } @NewDirs;
157
 
158
    foreach my $ThisDir ( @NewDirs )
159
    {
160
        Warning ("SubDir contains a '\\' character: $ThisDir" )
161
            if ( $ThisDir =~ m~\\~);
162
 
163
        if ( grep /^$ThisDir$/, @::SUBDIRS )
164
        {
165
            Warning( "Duplicate SubDir '$ThisDir' -- ignored." );
166
            next;
167
        }
168
        if ( ! ( -e $ThisDir and -d $ThisDir ) )
169
        {
170
            Error( "SubDir(): Subdirectory not found: '$ThisDir'",
171
                   "Current directory: $::Cwd" );
172
        }
173
        if ( ! -f $ThisDir . '/makefile.pl' )
174
        {
175
            Error( "SubDir(): makefile.pl not found in subdirectory: '$ThisDir'",
176
                   "Current directory: $::Cwd" );
177
        }
178
 
179
        push(@::SUBDIRS, $ThisDir);
180
    }
181
}
182
 
183
 
184
#-------------------------------------------------------------------------------
185
# Function        : RootMakefile
186
#
187
# Description     : This function is called from buildlib.pl prior to the
188
#                   generation of the root makefile. The Root Makefile is
189
#                   different to the others in this it does not have any platform
190
#                   specific makefiles associated with it. It is simply used to
191
#                   invoke the makefile in the 'src' subdirectory
192
#
193
# Inputs          : None
194
#
195
# Returns         : Nothing
196
#
197
sub RootMakefile
198
{
199
    Error ("Directive 'RootMakefile' not allowed in this context") if ( $::ScmBuildlib  );
200
    $::ROOTMAKEFILE = 1;
201
}
202
 
203
 
204
sub PackageDist
205
{
206
    my( $name, @elements ) = @_;
207
    Error ("Directive 'PackageDist' not allowed in this context") if ( $::ScmBuildlib  );
208
 
209
    foreach ( @elements ) {
210
        HashJoin( \%::PACKAGE_DIST, $;, $name, "$_" );
211
    }
212
}
213
 
214
 
215
sub Define
216
{
217
    Error ("Directive 'Define' not allowed in this context") if ( $::ScmBuildlib  );
218
    push( @::DEFINES, @_ );
219
}
220
 
221
 
222
sub Defines
223
{
224
    my( $path, $script ) = @_;
225
    my( $line );
226
    Error ("Directive 'Defines' not allowed in this context") if ( $::ScmBuildlib  );
227
 
228
    $script = Exists( $path, $script, "Defines" );
285 dpurdie 229
    open( my $fh, '<' ,$script ) ||
227 dpurdie 230
        Error( "cannot open '$script'" );
285 dpurdie 231
    while (<$fh>) {
227 dpurdie 232
        $_ =~ s/\s*(\n|$)//;                    # kill trailing whitespace & nl
233
        push( @::DEFINES, $_ );
234
    }
235
    push( @::ScmDepends, "$script" );           # makefile dependencies
285 dpurdie 236
    close( $fh );
227 dpurdie 237
}
238
 
239
 
240
sub Rule
241
{
242
    Error ("Directive 'Rule' not allowed in this context") if ( $::ScmBuildlib  );
243
    push( @::RULES, @_ );
244
}
245
 
246
 
247
sub Rules
248
{
249
    Error ("Directive 'Rules' not allowed in this context") if ( $::ScmBuildlib  );
250
    my( $path, $script ) = @_;
251
    my( $line );
252
 
253
    $script = Exists( $path, $script, "Rules" );
285 dpurdie 254
    open( my $fh, '<' ,$script ) ||
227 dpurdie 255
        Error( "cannot open '$script'" );
285 dpurdie 256
    while (<$fh>) {
227 dpurdie 257
        $_ =~ s/\s*(\n|$)//;                    # kill trailing whitespace & nl
258
        push( @::RULES, $_ );
259
    }
260
    push( @::ScmDepends, "$script" );           # makefile dependencies
285 dpurdie 261
    close( $fh );
227 dpurdie 262
}
263
 
264
#-------------------------------------------------------------------------------
265
# Function        : Platform
266
#
267
# Description     : Within "makelib.pl" the Platform directive is processed
268
#                   in such a manner as to trigger the verification and
269
#                   generation of Makefile and xxxxx.mk files in the tree
270
#                   below the makefile.pl
271
#
272
# Inputs          : A list of platforms for which the body of the makefile.pl
273
#                   are to be processed + GBE_PLATFORM
274
#
275
#                   "*", ...            - A wildcard for all platforms
276
#                                         Options include
277
#                                           --Targets (Not Products)
278
#                                           --Products
279
#                                           --NoPlatformBuilds
280
#                                           !xxx - Exclude a platform
281
#
282
#                   "--NoPlatformBuilds"
283
#
284
#                   "xxx"[, "yyy"]*     - A list of platforms and aliases
285
#
286
#                   "!xxx"              - A platform to be excluded
287
#
288
# Returns         :
289
#
290
sub Platform
291
{
292
    my ( @platforms ) = @_;
285 dpurdie 293
    my $exitVal;
294
    my $platform;
227 dpurdie 295
    my $noplatforms = 0;
296
    my $defplatforms = 0;
297
    my %platforms;
298
 
299
    Debug( "Platform(@_)" );
300
    Error ("Directive 'Platform' not allowed in this context") if ( $::ScmBuildlib  );
301
 
302
    #
303
    #   Import user platform specification (GBE_PLATFORM)
304
    #   Note: This is also used by the Makefile and it cannot be
305
    #         alias expanded or sanitised. Its not really really useful
306
    #
307
    #   Only use GB_PLATFORM if the user has not specified to build ALL
308
    #   makefiles.
309
    #
310
    my %filter;
311
    my $filter_present = 0;
312
 
313
    if (  $::ScmAll == 0  )
314
    {
239 dpurdie 315
        $filter{GENERIC} = 1;
227 dpurdie 316
        foreach ( split( ' ', $ENV{ "GBE_PLATFORM" } || '' ) )
317
        {
318
            $filter{$_} = 1;
319
            $filter_present = 1;
320
        }
321
    }
322
 
323
    #
324
    #   Expand out the directive platform list (and optional arguments)
325
    #   Expand wildcards and aliases
326
    #
327
    #   Handle format
328
    #       Platform ('*', '--Options', [!Name]);
329
    #       Platform ('--NoPlatformBuilds' );
330
    #       Platform ('Name', '--Options', [!Name] );
331
    #       Platform ('!Name' );
332
    #
333
    #
334
    if ( $platforms[0] && $platforms[0] eq '*' )
335
    {
336
        my( $targets, $products );              # options
337
        my( @args );
338
        my( @exclude );
339
 
340
        $targets = $products = 0;
341
 
285 dpurdie 342
        foreach ( @platforms ) {
227 dpurdie 343
            next if ( /^\*$/);
344
            next if ( /^--Targets$/ && ($targets = 1));
345
            next if ( /^--Products$/ && ($products = 1));
346
            next if ( /^--NoPlatformBuilds/ && ($noplatforms = 1));
347
            next if ( /^--/ && push @args, $_ );
348
            next if ( /^!/  && push @exclude, $_ );
349
            Warning( "Platform: unknown option $_ -- ignored\n" );
350
        }
351
 
352
        #
353
        #   Determine the list of platforms to expand the '*' into
354
        #   The result may be modified by optional arguments
355
        #       --Targets           # Expands to all targets
356
        #       --Products          # Expands to all products
357
        #       OtherWise           # Expands to all build platforms
358
        #
359
        @platforms = ();                        # zap list
360
 
361
                                                # 'all' platforms
362
        push( @platforms, @::DEFBUILDPLATFORMS )
363
            unless ( $targets | $products );
364
 
365
        #
366
        #   Expand the '*' into a list of platforms that are NOT products
367
        #
368
        if ( $targets && defined( %::ScmBuildPlatforms ) )
369
        {                                       # targets
370
            foreach my $key (keys %::ScmBuildPlatforms) {
371
                push( @platforms, $key )
372
                    if (! defined( %::ScmBuildProducts ) ||
373
                            ! scalar $::ScmBuildProducts{ $key } );
374
            }
375
        }
376
 
377
        #
378
        #   Expand the '*' into a list of platforms that are 'products'
379
        #
380
        if ( $products && defined( %::ScmBuildProducts ) )
381
        {                                       # products
382
            foreach my $key (keys %::ScmBuildProducts) {
383
                push( @platforms, $key );
384
            }
385
        }
386
 
387
        #
388
        #   Distribute arguments over all expanded platforms
389
        #
390
        if ( @args )
391
        {
392
            my @baseplatforms;
393
            foreach  ( @platforms )
394
            {
395
                push @baseplatforms, $_, @args;
396
            }
397
            @platforms = @baseplatforms;
398
        }
399
 
400
        #
401
        #   Place the excluded platforms at the end of the list
402
        #
403
        push @platforms, ExpandPlatforms( @exclude );
404
 
405
    }
406
    elsif ( scalar @platforms == 1 && $platforms[0] eq "--NoPlatformBuilds" )
407
    {                                           # short-cut
408
        $noplatforms = 1;
409
        @platforms = @::DEFBUILDPLATFORMS;
410
    }
411
    else
412
    {                                           # aliasing
413
        @platforms = ExpandPlatforms( @platforms );
414
        #
415
        #   Process excluded platform lists
416
        #   Migrate excluded platforms to the end of the list
417
        #
418
        my (@include, @exclude);
419
 
420
        foreach ( @platforms )
421
        {
422
            next if ( m/^!/ && push @exclude, $_ );
423
            push @include, $_;
424
        }
425
 
426
        #
427
        #   If no included platforms have been found then assume that the
428
        #   list is an exclusion list and seed the platform list with
429
        #   a set of defualt platforms - like '*'
430
        #
431
        #
432
        @include = @::DEFBUILDPLATFORMS unless @include;
433
        @platforms = ( @include, @exclude );
434
    }
435
 
436
    $platform = "";                             # current platform
437
 
438
    #
439
    #   Process the directives expanded list of platforms
440
    #
441
 
442
    #
443
    #   Generate a HASH of lowercase known platform names
444
    #   This will be used to quickly validate platform names
445
    #
446
    my %lc_platforms;
447
    foreach  ( @::BUILDPLATFORMS )
448
    {
449
        $lc_platforms{ lc($_) } = $_;
450
    }
451
 
452
FILTER:
453
    foreach $_ ( @platforms )
454
    {
455
        if ( ! /^--(.*)/ )
456
        {
457
            $_ =~ s/^\s*//g;                    # leading white space
458
            $_ =~ s/\s*(\n|$)//;                # trailing white space
459
 
460
 
461
            #
462
            #   Remove specific platforms from the list
463
            #
464
            $defplatforms = 1;
465
            if ( m/!(.*)/ )
466
            {
467
                Verbose( "Excluded platform removed: $1" );
468
                delete $platforms{$1};
469
                next FILTER;
470
            }
471
 
472
 
473
            if ( exists $platforms{$_}  )
474
            {
475
                Warning( "duplicate platform '$_' -- ignored." );
476
                $platform = "";
477
                next FILTER;
478
            }
479
 
480
            #
481
            #   validate 'platform'
482
            #   Allow the user to have a bad case match ( Fred == fred == FRED )
483
            #
484
            my $lc_platform = lc($_);
485
            unless ( exists( $lc_platforms{$lc_platform}  ) )
486
            {
487
                Warning( "Platform '$_' not contained within BuildPlatforms -- ignored." )
488
                    unless ( exists( $::ScmBuildPlatforms{$_} ));
489
                $platform = "";
490
                next FILTER;
491
            }
492
 
493
            $lc_platform = $lc_platforms{$lc_platform};
494
            if ( $_ ne $lc_platform )
495
            {
496
                Warning( "Mixed case usage of platform '$_' -- corrected." );
497
                $_ = $lc_platform;
498
            }
499
 
500
                                                # filter 'platform'
501
            if ( $filter_present  )
502
            {
503
                if ( ! exists $filter{$_} )
504
                {
505
                    Verbose( "GBE_PLATFORM override $_ -- ignored" );
506
                    $platform = "";
507
                    next FILTER;
508
                }
509
            }
510
 
511
            #
512
            #   Platform not filtered out - must be using it.
513
            #
514
            Verbose( "Platform ... $_" );
515
            $platforms{$_} = 1;                 # Add to platform list
516
            $platform = $_;                     # new platform
517
        }
518
 
519
        elsif ( /^--NoPlatformBuilds$/ )
520
        {
521
            $noplatforms = 1;
522
        }
523
 
524
        elsif ( $platform ne "" )
525
        {                                       # other arguments
526
            Verbose( "          .. $_" );
527
 
528
            HashUniqueJoin( \%::PLATFORMARGS, $; , $platform, $1 ) ||
529
                Warning( "Duplicate argument '$platform=$_' -- ignored." );
530
        }
531
    }
532
    #
533
    #   Sort the platforms to ensure that the ordering is consistient throughout
534
    #
535
    @::PLATFORMS = sort keys %platforms;
536
 
537
    #
538
    #   Trap makefiles that don't have any platforms
539
    #   The user 'should' mark these as --NoPlatformBuilds
540
    #
541
    unless ( @::PLATFORMS )
542
    {
543
        Warning( "No platform definitions." )
544
            unless( $noplatforms || $defplatforms);
545
        $noplatforms = 1;
546
    }
547
 
548
#.. Common rules
549
#
550
    my( $file ) = Require( "$::GBE_CONFIG", "Rules", "Common rules " );
551
    push( @::ScmDepends, "$file" );
552
 
553
 
554
#.. Generate primary makefile
555
#
556
    $exitVal = Generate( $noplatforms );
557
    if ($::ROOTMAKEFILE == 1) {
558
        print STDERR "WARNING: problem generating Makefile ($exitVal)\n"
261 dpurdie 559
            if ($exitVal);
227 dpurdie 560
        return ($exitVal);
561
    }
562
 
563
    Debug( "Platform ExitVal:   $exitVal" );
564
    exit( $exitVal );
565
}
566
 
567
###############################################################################
568
# Private function section.
569
#       The following functions are used INTERNALLY by makelib.pl.
570
#
571
###############################################################################
572
 
573
#-------------------------------------------------------------------------------
574
# Function        : Generate
575
#
576
# Description     : Build makefiles ...
577
#                   Creates the command data files and the per-target .MK files
578
#
579
# Inputs          : $noplatforms    - 1 if this makefile does not have
580
#                                       any platforms
581
#
582
# Returns         : $exitVal
583
#
584
sub Generate
585
{
586
    my( $noplatforms ) = @_;
587
    my( $exitVal ) = 0;
588
 
589
    #.. Dont build platforms within root directory
590
    #
591
    $noplatforms = 1
592
        if ($::ROOTMAKEFILE == 1);
593
 
594
    #.. Build 'makefile'
595
    #
596
    $exitVal = GeneratePlatforms()
597
        unless ($noplatforms );
598
 
599
    GenerateMakefile( $noplatforms );
600
    return $exitVal;
601
}
602
 
603
 
604
#
605
#   Note:
606
#   Currently this function will create all .mk files in the current directory
607
#
608
#   Note: Cleanup of unused .mk files is done when the WriteCommonInfo  is
609
#         processed. Makefiles that are no lonker used will be purged
610
#
611
sub GeneratePlatforms
612
{
613
    my( $exitVal, $exitVal2 ) = 0;
614
 
615
    foreach my $platform ( @::PLATFORMS )
616
    {
261 dpurdie 617
        my @CmdLine;
618
        push @CmdLine, $::GBE_PERL, $0, $::ScmRoot;
619
        push @CmdLine, $::ScmMakelib . "2";
620
        push @CmdLine, $platform;
621
        push @CmdLine, "--interface=$::ScmInterface" if ( $::ScmInterface ne "" );
227 dpurdie 622
 
623
        #
624
        #   Insert platform local arguments
625
        #
626
        if ($::PLATFORMARGS{ $platform })
627
        {
261 dpurdie 628
            foreach my $arg (split( /$;/, $::PLATFORMARGS{ $platform } )) {
629
                push @CmdLine,"--arg=$arg";
227 dpurdie 630
            }
631
        }
632
 
261 dpurdie 633
        #
634
        #   Invoke the command
635
        #   Don't use a Shell. Don't need the overhead
636
        #
637
        $exitVal2 = System( '--NoShell', @CmdLine );
227 dpurdie 638
 
261 dpurdie 639
        #
640
        #   Warn on any error
641
        #   Overall return code will be set if any platform fails
642
        #
643
        if ( $exitVal2 )
644
        {
645
            Warning ("Problem generating $platform.mk in $::Cwd ($exitVal2)");
227 dpurdie 646
            $exitVal = $exitVal2;
647
        }
648
    }
649
 
650
    return $exitVal;
651
}
652
 
653
#-------------------------------------------------------------------------------
654
# Function        : GenerateMakefile
655
#
656
# Description     : Generate the non-platform specific makefile
657
#                   Once upon a time this was a real makefile
658
#                   Now its a simple file and a database as this offeres greater
659
#                   flexability.
660
#
661
#                   The file, "Makefile.gbe" contains enough info to get to the
662
#                   interface directory.
663
#
664
#                   The "database" is held in the interface directory as
665
#                       Makfile.cfg     - index to locate Makefile_nn.cfg
666
#                       Makefile_nn.cfg - data from a makefile.pl
667
#
668
# Inputs          : $noplatforms        - 1: no platform makefiles in this dir
669
#
670
# Returns         : Nothing
671
#
672
sub GenerateMakefile
673
{
674
    my( $noplatforms ) = @_;
675
    my %platform_info;
676
 
677
    #
678
    #   Determine targets that are limited to either debug or production builds
679
    #   This information may come from several places
680
    #
681
    foreach my $key ( @PLATFORMS )
682
    {
683
        my @args;
684
        UniquePush (\@args, split ( /$;/, $::PLATFORMARGS{$key} ))
685
            if ($::PLATFORMARGS{$key});
686
 
687
        UniquePush (\@args, map { s/^--//; $_} split ( /$;/, $::ScmBuildPlatforms{$key} ))
688
            if($::ScmBuildPlatforms{$key});
689
 
690
        my $hasOnlyProd  =  grep /^OnlyProd/, @args;
691
        my $hasOnlyDebug =  grep /^OnlyDebug/, @args;
692
 
693
        if ( $hasOnlyProd && $hasOnlyDebug )
694
        {
695
            Warning ("Target \"$key\" has both OnlyDebug and OnlyProd options",
696
                     "Both options ignored. Target will be built" );
697
 
698
            $hasOnlyProd = $hasOnlyDebug = 0;
699
        }
700
        $platform_info{$key}{prod}  = 1 unless $hasOnlyDebug;
701
        $platform_info{$key}{debug} = 1 unless $hasOnlyProd;
702
    }
703
 
704
    #
705
    #   Update common information in the Makefile_x.cfg file
706
    #
707
    WriteCommonInfo( \@::SUBDIRS, \%platform_info, $noplatforms, $::ROOTMAKEFILE );
708
 
709
    #
710
    #.. Maintain local information in Makefile.gbe
711
    #   This allows us to locate the interface directory
712
    #
713
    Message "[Control] $::Cwd";
714
    CreateMakeInfo();
715
}
716
 
717
1;
718