Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
27 rsolanki 1
# Copyright (C) 1998-2006 ERG Limited, All rights reserved
2
#
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
7
#
8
# Description:    makefile.pl for package Deployment_Manager
9
#
10
#.........................................................................#
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
15
 
16
#
17
# Build platform definitions ..
18
#
19
Platform( '*' );
20
 
33 ghuddy 21
GenerateFiles ('*', 'jats_transform_file',
22
                    '--NoVarTag',
23
                    '-infile=--Prerequisite(_about.template)',
24
                    '-outfile=--GeneratedCommon(_about.asp)',
25
                    '-tag=__NAME__,--Var(BuildName)',
26
                    '-tag=__VERSION__,--Var(BuildVersion)',
27
                    '-tag=__VERSIONNUM__,--Var(BuildVersionNum)',
28
                );
29
 
30
 
27 rsolanki 31
############################################################################
32
#   Define the source files
33
#
34
 
35
#.............................................................................
36
# Packaging definitions
37
#
35 ghuddy 38
PackageFile ( '*', '--DirTree=.', '--FilterOut=.jats.packageroot', '--FilterOut=build.pl', '--FilterOut=descpkg', '--FilterOut=Makefile.gbe', '--FilterOut=makefile.pl', '--Prod', '--Prefix=etc' );
33 ghuddy 39
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
27 rsolanki 40
 
41
#..
42
#
43
Src         ( '*'   , 'descpkg' );
44
PackageFile ( '*'   , 'descpkg' );
45
 
46
#.............................................................................
47
# Finally generate the makefile
48
#
49
MakefileGenerate();
50
 
51
#..  Successful termination
52
1;