| 227 |
dpurdie |
1 |
# Copyright (C) 1998-2004 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 |
#.........................................................................#
|
|
|
9 |
|
|
|
10 |
die "Usage: Makefile.pl rootdir Makelib.pl\n"
|
|
|
11 |
unless( $#ARGV+1 >= 2 );
|
|
|
12 |
require "$ARGV[1]";
|
|
|
13 |
|
|
|
14 |
# Build platform definitions ..
|
|
|
15 |
#
|
|
|
16 |
Platform( '*' );
|
|
|
17 |
|
|
|
18 |
############################################################################
|
|
|
19 |
# Define the source files
|
|
|
20 |
#
|
|
|
21 |
Src ( '*' , "ShowDLLs.cpp" );
|
|
|
22 |
|
|
|
23 |
#
|
|
|
24 |
# Build and install the library
|
|
|
25 |
Prog ( '*' , "ShowDLLs", @OBJS );
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
#.............................................................................
|
|
|
29 |
# Packaging definitions
|
|
|
30 |
#
|
|
|
31 |
PackageProg ( '*', @PROGS, '--Prod' );
|
|
|
32 |
|
|
|
33 |
#.............................................................................
|
|
|
34 |
# Finally generate the makefile
|
|
|
35 |
#
|
|
|
36 |
MakefileGenerate();
|
|
|
37 |
|
|
|
38 |
#.. Successful termination
|
|
|
39 |
1;
|
|
|
40 |
|