| 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" );
|
|
|
24 |
Src ( '*', "ReqProMain.cs" );
|
|
|
25 |
Src ( '*', "Logon.cs" );
|
|
|
26 |
Src ( '*', "Logon.resx" );
|
|
|
27 |
Src ( '*', "RQConnection.cs" );
|
|
|
28 |
Src ( '*', "EA_Utilities.cs" );
|
|
|
29 |
|
|
|
30 |
SharedLib ( '*', "EA_ReqPro", @CSRCS, "-LInterop.EA", "-LInterop.ReqPro40" );
|
|
|
31 |
|
|
|
32 |
#.............................................................................
|
|
|
33 |
# Packaging definitions
|
|
|
34 |
#
|
|
|
35 |
PackageLib ('*', @SHLIBS );
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
#.............................................................................
|
|
|
39 |
# Finally generate the makefile
|
|
|
40 |
#
|
|
|
41 |
MakefileGenerate();
|
|
|
42 |
|
|
|
43 |
#.. Successful termination
|
|
|
44 |
1;
|
|
|
45 |
|