Subversion Repositories DevTools

Rev

Rev 1024 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1026 dpurdie 1
########################################################################
2
# Copyright (C) Vix Technology, All rights reserved
1024 ghuddy 3
#
1026 dpurdie 4
# Module name   : makefile.pl
5
# Module type   : JATS Makefile
6
# Environment(s): JATS Build System
1024 ghuddy 7
#
1026 dpurdie 8
# Description   : Makefile for binflow
1024 ghuddy 9
#
1026 dpurdie 10
#......................................................................#
11
#
12
# exec build system
13
#
14
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
1024 ghuddy 15
require "$ARGV[1]";
16
 
1026 dpurdie 17
 
1024 ghuddy 18
# Build platform definitions ..
19
#
20
Platform( '*' );
21
AddFlags( '*', "-D_CONSOLE" );
22
AddFlags( '*', "-D_MBCS" );
23
AddFlags( '*', "-DWIN32" );
24
 
25
 
26
############################################################################
27
#   Define the source files
28
#
29
Src     ('*',  'binflow.c');
30
Prog    ('*',  'binflow', @OBJS );
31
 
32
#.............................................................................
33
#   Packaging definitions
34
#   Package the program as a JATS toolset extension
35
#
1026 dpurdie 36
PackageProg ( '*', @PROGS, '--Tool=tools/bin' );
1024 ghuddy 37
PackageFile ( '*', 'descpkg' );
38
 
39
#.............................................................................
40
# Finally generate the makefile
41
#
42
MakefileGenerate();
43
 
44
#..  Successful termination
45
1;
46