Subversion Repositories DevTools

Rev

Rev 2092 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2088 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        ( '*', "Main.cs" );
25
Src        ( '*', "About.cs" );
26
Src        ( '*', "About.resx" );
27
Src        ( '*', "createWordDoc.cs" );
28
Src        ( '*', "createWordDoc.resx" );
29
Src        ( '*', "EA_RelationshipMatrix.cs" );
30
Src        ( '*', "GUID_Clipboard.cs" );
31
Src        ( '*', "EA_Finders.cs" );
32
Src        ( '*', "EA_DocGenOptions.cs" );
33
Src        ( '*', "EA_Utilities.cs" );
34
Src        ( '*', "EA_ElementSorter.cs" );
35
 
36
SharedLib  ( '*', "EA_DocGen", @CSRCS, "-LInterop.EA", "-LInterop.Word" );
37
 
38
#.............................................................................
39
# Packaging definitions
40
#
41
PackageLib ('*', @SHLIBS );
42
 
43
 
44
#.............................................................................
45
# Finally generate the makefile
46
#
47
MakefileGenerate();
48
 
49
#..  Successful termination
50
1;
51