Subversion Repositories DevTools

Rev

Rev 1024 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1024 Rev 1026
Line -... Line 1...
-
 
1
########################################################################
1
# Copyright (C) 1998-2005 ERG Limited, All rights reserved
2
# Copyright (C) Vix Technology, All rights reserved
2
#
3
#
3
# Module name   : Makefile.pl
4
# Module name   : makefile.pl
4
# Module type   : Makefile system
5
# Module type   : JATS Makefile
5
# Compiler(s)   : ANSI C
-
 
6
# Environment(s): n/a
6
# Environment(s): JATS Build System
7
#
7
#
8
# Description:    Makefile for generating binflow
8
# Description   : Makefile for binflow
9
#
9
#
10
#.........................................................................#
10
#......................................................................#
11
 
11
#
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
# exec build system
-
 
13
#
13
    unless( $#ARGV+1 >= 2 );
14
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
require "$ARGV[1]";
15
 
16
 
-
 
17
 
16
# Build platform definitions ..
18
# Build platform definitions ..
17
#
19
#
18
Platform( '*' );
20
Platform( '*' );
19
AddFlags( '*', "-D_CONSOLE" );
21
AddFlags( '*', "-D_CONSOLE" );
20
AddFlags( '*', "-D_MBCS" );
22
AddFlags( '*', "-D_MBCS" );
Line 29... Line 31...
29
 
31
 
30
#.............................................................................
32
#.............................................................................
31
#   Packaging definitions
33
#   Packaging definitions
32
#   Package the program as a JATS toolset extension
34
#   Package the program as a JATS toolset extension
33
#
35
#
34
PackageProg  ( '*', @PROGS );
36
PackageProg ( '*', @PROGS, '--Tool=tools/bin' );
35
 
-
 
36
 
-
 
37
Src         ( '*', 'descpkg' );
-
 
38
PackageFile ( '*', 'descpkg' );
37
PackageFile ( '*', 'descpkg' );
39
 
38
 
40
#.............................................................................
39
#.............................................................................
41
# Finally generate the makefile
40
# Finally generate the makefile
42
#
41
#