Subversion Repositories DevTools

Rev

Rev 2169 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2169 Rev 2177
Line 1... Line 1...
1
# Copyright (C) 1998-2007 ERG Limited, All rights reserved
1
# Copyright (C) 1998-2007 ERG Limited, All rights reserved
2
#
2
#
3
# Module name   : Makefile.pl
3
# Module name   : Makefile.pl
4
# Module type   : Makefile system
4
# Module type   : Makefile system
5
# Compiler(s)   : ANSI C
5
# Compiler(s)   : ANSI C
6
# Environment(s): n/a
6
# Environment(s): n/a
7
#
7
#
8
# Description:    makefile.pl template example
8
# Description:    makefile.pl template example
9
#
9
#
10
#.........................................................................#
10
#.........................................................................#
11
 
11
 
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
12
die "Usage: Makefile.pl rootdir Makelib.pl\n"
13
    unless( $#ARGV+1 >= 2 );
13
    unless( $#ARGV+1 >= 2 );
14
require "$ARGV[1]";
14
require "$ARGV[1]";
15
 
15
 
16
# Build platform definitions ..
16
# Build platform definitions ..
17
#
17
#
18
Platform( 'CSHARP' );
18
Platform( 'CSHARP2005' );
19
 
19
 
20
############################################################################
20
############################################################################
21
#   Define the source files
21
#   Define the source files
22
#
22
#
23
Src        ( '*', "About.cs" );
23
Src        ( '*', "About.cs" );
24
Src        ( '*', "About.resx" );
24
Src        ( '*', "About.resx" );
25
Src        ( '*', "AssemblyInfo.cs" );
25
Src        ( '*', "AssemblyInfo.cs" );
26
Src        ( '*', "AssemblyVersionInfo.cs" );
26
Src        ( '*', "AssemblyVersionInfo.cs" );
27
Src        ( '*', "Constants.cs");
27
Src        ( '*', "Constants.cs");
28
Src        ( '*', "CopyReqProDatabase.cs");
28
Src        ( '*', "CopyReqProDatabase.cs");
29
Src        ( '*', "CopyReqProDatabaseToMemory.cs");
29
Src        ( '*', "CopyReqProDatabaseToMemory.cs");
30
Src        ( '*', "CWaitCursor.cs");
30
Src        ( '*', "CWaitCursor.cs");
31
Src        ( '*', "EA_Connectors.cs" );
31
Src        ( '*', "EA_Connectors.cs" );
32
Src        ( '*', "EA_ElementAccumulator.cs" );
32
Src        ( '*', "EA_ElementAccumulator.cs" );
33
Src        ( '*', "EA_ElementSorter.cs" );
33
Src        ( '*', "EA_ElementSorter.cs" );
34
Src        ( '*', "EA_Package.cs" );
34
Src        ( '*', "EA_Package.cs" );
35
Src        ( '*', "EA_Parsing.cs" );
35
Src        ( '*', "EA_Parsing.cs" );
36
Src        ( '*', "EA_ProjectBrowser.cs" );
36
Src        ( '*', "EA_ProjectBrowser.cs" );
37
Src        ( '*', "EA_RecursionWorker.cs" );
37
Src        ( '*', "EA_RecursionWorker.cs" );
38
Src        ( '*', "EA_TaggedValues.cs" );
38
Src        ( '*', "EA_TaggedValues.cs" );
39
Src        ( '*', "ExportForm.cs");
39
Src        ( '*', "ExportForm.cs");
40
Src        ( '*', "ExportForm.resx");
40
Src        ( '*', "ExportForm.resx");
41
Src        ( '*', "ExportToReqProCSVForm.cs");
41
Src        ( '*', "ExportToReqProCSVForm.cs");
42
Src        ( '*', "ExportToReqProCSVForm.resx");
42
Src        ( '*', "ExportToReqProCSVForm.resx");
43
Src        ( '*', "ExportToReqProDatabase.cs");
43
Src        ( '*', "ExportToReqProDatabase.cs");
44
Src        ( '*', "ImportReqProDatabase.cs");
44
Src        ( '*', "ImportReqProDatabase.cs");
45
Src        ( '*', "Logon.cs" );
45
Src        ( '*', "Logon.cs" );
46
Src        ( '*', "Logon.resx" );
46
Src        ( '*', "Logon.resx" );
47
Src        ( '*', "MessageBoxEx.cs" );
47
Src        ( '*', "MessageBoxEx.cs" );
48
Src        ( '*', "QueryForm.cs" );
48
Src        ( '*', "QueryForm.cs" );
49
Src        ( '*', "QueryForm.resx" );
49
Src        ( '*', "QueryForm.resx" );
50
Src        ( '*', "ReqProDatabase.cs");
50
Src        ( '*', "ReqProDatabase.cs");
51
Src        ( '*', "ReqPro_object.cs");
51
Src        ( '*', "ReqPro_object.cs");
52
Src        ( '*', "ReqPro_ReqStatus.cs");
52
Src        ( '*', "ReqPro_ReqStatus.cs");
53
Src        ( '*', "ReqPro_ReqType.cs");
53
Src        ( '*', "ReqPro_ReqType.cs");
54
Src        ( '*', "ReqProDB_Artifact.cs");
54
Src        ( '*', "ReqProDB_Artifact.cs");
55
Src        ( '*', "ReqProFilterForm.cs");
55
Src        ( '*', "ReqProFilterForm.cs");
56
Src        ( '*', "ReqProFilterForm.resx");
56
Src        ( '*', "ReqProFilterForm.resx");
57
Src        ( '*', "ReqProMain.cs" );
57
Src        ( '*', "ReqProMain.cs" );
58
Src        ( '*', "ReqProParser.cs");
58
Src        ( '*', "ReqProParser.cs");
59
 
59
 
60
SharedLib  ( '*', "EA_ReqPro", @CSRCS, "-LInterop.EA", "-LInterop.ReqPro40" );
60
SharedLib  ( '*', "EA_ReqPro", @CSRCS, "-LInterop.EA", "-LInterop.ReqPro40" );
61
 
61
 
62
#.............................................................................
62
#.............................................................................
63
# Packaging definitions
63
# Packaging definitions
64
#
64
#
65
PackageLib ('*', @SHLIBS );
65
PackageLib ('*', @SHLIBS );
66
 
66
 
67
 
67
 
68
#.............................................................................
68
#.............................................................................
69
# Finally generate the makefile
69
# Finally generate the makefile
70
#
70
#
71
MakefileGenerate();
71
MakefileGenerate();
72
 
72
 
73
#..  Successful termination
73
#..  Successful termination
74
1;
74
1;
75
 
75