| 2139 |
ghuddy |
1 |
# Copyright (C) 1998-2007 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 template example
|
|
|
9 |
#
|
|
|
10 |
#.........................................................................#
|
|
|
11 |
|
|
|
12 |
die "Usage: Makefile.pl rootdir Makelib.pl\n"
|
|
|
13 |
unless( $#ARGV+1 >= 2 );
|
|
|
14 |
require "$ARGV[1]";
|
|
|
15 |
|
|
|
16 |
# Build platform definitions ..
|
|
|
17 |
#
|
|
|
18 |
Platform( 'CSHARP' );
|
|
|
19 |
|
|
|
20 |
############################################################################
|
|
|
21 |
# Define the source files
|
|
|
22 |
#
|
|
|
23 |
Src ( '*', "AssemblyInfo.cs" );
|
| 2141 |
ghuddy |
24 |
Src ( '*', "CopyReqProDatabase.cs");
|
|
|
25 |
Src ( '*', "CopyReqProDatabaseToMemory.cs");
|
|
|
26 |
Src ( '*', "EA_ElementSorter.cs" );
|
|
|
27 |
Src ( '*', "EA_Utilities.cs" );
|
|
|
28 |
Src ( '*', "ExportToReqProCSVForm.cs");
|
|
|
29 |
Src ( '*', "ExportToReqProCSVForm.resx");
|
|
|
30 |
Src ( '*', "ImportReqProDatabase.cs");
|
| 2139 |
ghuddy |
31 |
Src ( '*', "Logon.cs" );
|
|
|
32 |
Src ( '*', "Logon.resx" );
|
| 2151 |
ghuddy |
33 |
Src ( '*', "MessageBoxEx.cs" );
|
|
|
34 |
Src ( '*', "MessageBoxEx.resx" );
|
| 2141 |
ghuddy |
35 |
Src ( '*', "ReqPro_object.cs");
|
|
|
36 |
Src ( '*', "ReqPro_ReqStatus.cs");
|
|
|
37 |
Src ( '*', "ReqPro_ReqType.cs");
|
|
|
38 |
Src ( '*', "ReqProDB_Artifact.cs");
|
|
|
39 |
Src ( '*', "ReqProFilterForm.cs");
|
|
|
40 |
Src ( '*', "ReqProFilterForm.resx");
|
|
|
41 |
Src ( '*', "ReqProMain.cs" );
|
|
|
42 |
Src ( '*', "ReqProParser.cs");
|
| 2139 |
ghuddy |
43 |
|
|
|
44 |
SharedLib ( '*', "EA_ReqPro", @CSRCS, "-LInterop.EA", "-LInterop.ReqPro40" );
|
|
|
45 |
|
|
|
46 |
#.............................................................................
|
|
|
47 |
# Packaging definitions
|
|
|
48 |
#
|
|
|
49 |
PackageLib ('*', @SHLIBS );
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
#.............................................................................
|
|
|
53 |
# Finally generate the makefile
|
|
|
54 |
#
|
|
|
55 |
MakefileGenerate();
|
|
|
56 |
|
|
|
57 |
#.. Successful termination
|
|
|
58 |
1;
|
|
|
59 |
|