Subversion Repositories DevTools

Rev

Rev 2126 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2136 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        ( '*', "createWordDoc.cs" );
28
Src        ( '*', "createWordDoc.resx" );
29
Src        ( '*', "DocReferenceForm.cs" );
30
Src        ( '*', "DocReferenceForm.resx" );
31
Src        ( '*', "DocSectionTracking.cs" );
32
Src        ( '*', "EA_Constants.cs" );
33
Src        ( '*', "EA_DocGenOptions.cs" );
34
Src        ( '*', "EA_DocGenOptionsForm.cs" );
35
Src        ( '*', "EA_DocGenOptionsForm.resx" );
36
Src        ( '*', "EA_ElementAccumulator.cs" );
37
Src        ( '*', "EA_ElementSorter.cs" );
38
Src        ( '*', "EA_Finders.cs" );
39
Src        ( '*', "EA_RelationshipMatrix.cs" );
40
Src        ( '*', "RelationshipMatrixType.cs" );
41
Src        ( '*', "RelationshipMatrixType.resx" );
42
Src        ( '*', "EA_Utilities.cs" );
43
Src        ( '*', "FormatTagHelp.cs" );
44
Src        ( '*', "FormatTagHelp.resx" );
45
Src        ( '*', "GUID_Clipboard.cs" );
46
Src        ( '*', "Main.cs" );
47
Src        ( '*', "Sorters.cs" );
48
Src        ( '*', "StyleContent.cs" );
49
Src        ( '*', "TabularContent.cs" );
50
Src        ( '*', "TerminologyForm.cs" );
51
Src        ( '*', "TerminologyForm.resx" );
52
Src        ( '*', "TextualContent.cs" );
53
Src        ( '*', "TextParser.cs" );
54
 
55
SharedLib  ( '*', "EA_DocGen", @CSRCS, "-LInterop.EA", "-LMicrosoft.Office.Interop.Word", "-LOffice" );
56
 
57
#.............................................................................
58
# Packaging definitions
59
#
60
PackageLib ('*', @SHLIBS );
61
 
62
 
63
#.............................................................................
64
# Finally generate the makefile
65
#
66
MakefileGenerate();
67
 
68
#..  Successful termination
69
1;
70