| 2177 |
brianf |
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( 'CSHARP2005' );
|
|
|
19 |
|
|
|
20 |
############################################################################
|
|
|
21 |
# Define the source files
|
|
|
22 |
#
|
|
|
23 |
Src ( '*', "About.cs" );
|
|
|
24 |
Src ( '*', "About.resx" );
|
|
|
25 |
Src ( '*', "AssemblyInfo.cs" );
|
|
|
26 |
Src ( '*', "AssemblyVersionInfo.cs" );
|
|
|
27 |
Src ( '*', "Constants.cs");
|
|
|
28 |
Src ( '*', "CopyReqProDatabase.cs");
|
|
|
29 |
Src ( '*', "CopyReqProDatabaseToMemory.cs");
|
|
|
30 |
Src ( '*', "CWaitCursor.cs");
|
|
|
31 |
Src ( '*', "EA_Connectors.cs" );
|
|
|
32 |
Src ( '*', "EA_ElementAccumulator.cs" );
|
|
|
33 |
Src ( '*', "EA_ElementSorter.cs" );
|
|
|
34 |
Src ( '*', "EA_Package.cs" );
|
|
|
35 |
Src ( '*', "EA_Parsing.cs" );
|
|
|
36 |
Src ( '*', "EA_ProjectBrowser.cs" );
|
|
|
37 |
Src ( '*', "EA_RecursionWorker.cs" );
|
|
|
38 |
Src ( '*', "EA_TaggedValues.cs" );
|
|
|
39 |
Src ( '*', "ExportForm.cs");
|
|
|
40 |
Src ( '*', "ExportForm.resx");
|
|
|
41 |
Src ( '*', "ExportToReqProCSVForm.cs");
|
|
|
42 |
Src ( '*', "ExportToReqProCSVForm.resx");
|
|
|
43 |
Src ( '*', "ExportToReqProDatabase.cs");
|
|
|
44 |
Src ( '*', "ImportReqProDatabase.cs");
|
|
|
45 |
Src ( '*', "Logon.cs" );
|
|
|
46 |
Src ( '*', "Logon.resx" );
|
|
|
47 |
Src ( '*', "MessageBoxEx.cs" );
|
|
|
48 |
Src ( '*', "QueryForm.cs" );
|
|
|
49 |
Src ( '*', "QueryForm.resx" );
|
|
|
50 |
Src ( '*', "ReqProDatabase.cs");
|
|
|
51 |
Src ( '*', "ReqPro_object.cs");
|
|
|
52 |
Src ( '*', "ReqPro_ReqStatus.cs");
|
|
|
53 |
Src ( '*', "ReqPro_ReqType.cs");
|
|
|
54 |
Src ( '*', "ReqProDB_Artifact.cs");
|
|
|
55 |
Src ( '*', "ReqProFilterForm.cs");
|
|
|
56 |
Src ( '*', "ReqProFilterForm.resx");
|
|
|
57 |
Src ( '*', "ReqProMain.cs" );
|
|
|
58 |
Src ( '*', "ReqProParser.cs");
|
|
|
59 |
|
|
|
60 |
SharedLib ( '*', "EA_ReqPro", @CSRCS, "-LInterop.EA", "-LInterop.ReqPro40" );
|
|
|
61 |
|
|
|
62 |
#.............................................................................
|
|
|
63 |
# Packaging definitions
|
|
|
64 |
#
|
|
|
65 |
PackageLib ('*', @SHLIBS );
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
#.............................................................................
|
|
|
69 |
# Finally generate the makefile
|
|
|
70 |
#
|
|
|
71 |
MakefileGenerate();
|
|
|
72 |
|
|
|
73 |
#.. Successful termination
|
|
|
74 |
1;
|
|
|
75 |
|