| 66 |
ghuddy |
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 Production_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 |
|
|
|
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 |
############################################################################
|
|
|
31 |
# Define the source files
|
|
|
32 |
#
|
|
|
33 |
|
|
|
34 |
#.............................................................................
|
|
|
35 |
# Packaging definitions
|
|
|
36 |
#
|
| 70 |
brianf |
37 |
PackageFile ( '*', '--DirTree=.', '--FilterOut=.jats.packageroot', '--FilterOut=build.pl', '--FilterOut=descpkg', '--FilterOut=Makefile.gbe', '--FilterOut=makefile.pl', '--Prod', '--Prefix=etc' );
|
| 66 |
ghuddy |
38 |
PackageFile ( '*', '_about.asp', '--Prefix=etc' );
|
|
|
39 |
|
|
|
40 |
#..
|
|
|
41 |
#
|
|
|
42 |
Src ( '*' , 'descpkg' );
|
|
|
43 |
PackageFile ( '*' , 'descpkg' );
|
|
|
44 |
|
|
|
45 |
#.............................................................................
|
|
|
46 |
# Finally generate the makefile
|
|
|
47 |
#
|
|
|
48 |
MakefileGenerate();
|
|
|
49 |
|
|
|
50 |
#.. Successful termination
|
|
|
51 |
1;
|