| 2031 |
ghuddy |
1 |
# Copyright (C) 1998-2010 ERG Limited, All rights reserved
|
|
|
2 |
#
|
|
|
3 |
# Module name : Makefile.pl
|
|
|
4 |
# Module type : JATS Build File
|
|
|
5 |
# Environment(s): JATS Build System
|
|
|
6 |
#
|
| 2033 |
dpurdie |
7 |
# Description: makefile.pl for package nsis_library
|
| 2031 |
ghuddy |
8 |
#
|
|
|
9 |
#.........................................................................#
|
|
|
10 |
|
|
|
11 |
die "Usage: Makefile.pl rootdir Makelib.pl\n"
|
|
|
12 |
unless( $#ARGV+1 >= 2 );
|
|
|
13 |
require "$ARGV[1]";
|
|
|
14 |
|
|
|
15 |
#
|
|
|
16 |
# Build platform definitions ..
|
|
|
17 |
#
|
|
|
18 |
Platform( '*' );
|
|
|
19 |
|
| 2033 |
dpurdie |
20 |
############################################################################
|
|
|
21 |
# Package up all the files in a form suitable for NSIS
|
|
|
22 |
# These are packaged such that NSIS will automatically search for them
|
|
|
23 |
# To have NSIS automatically pick them up package:
|
|
|
24 |
# DLLs into : tools/bin/win32/nsis
|
|
|
25 |
# .NSH files into: tools/scripts/nsis
|
|
|
26 |
#
|
|
|
27 |
Src ('*', 'nsODBC/nsODBC.dll' );
|
|
|
28 |
PackageFile ('*', 'nsODBC.dll', '--Dir=tools/bin/win32/nsis' );
|
|
|
29 |
|
| 2035 |
dpurdie |
30 |
|
|
|
31 |
Src ('*', 'nsisXML/nsisXML.dll' );
|
|
|
32 |
PackageFile ('*', 'nsisXML.dll', '--Dir=tools/bin/win32/nsis' );
|
|
|
33 |
|
| 2322 |
gchristi |
34 |
Src ('*', 'VIX/VixPageEditDialogs.nsh' );
|
|
|
35 |
Src ('*', 'VIX/VixMacros.nsh' );
|
|
|
36 |
PackageFile ('*', 'VixPageEditDialogs.nsh', '--Dir=tools/scripts/nsis' );
|
|
|
37 |
PackageFile ('*', 'VixMacros.nsh', '--Dir=tools/scripts/nsis' );
|
|
|
38 |
|
| 2035 |
dpurdie |
39 |
Src ('*', 'TextReplace/TextReplace.dll' );
|
|
|
40 |
Src ('*', 'TextReplace/TextReplace.nsh' );
|
|
|
41 |
PackageFile ('*', 'TextReplace.dll', '--Dir=tools/bin/win32/nsis' );
|
|
|
42 |
PackageFile ('*', 'TextReplace.nsh', '--Dir=tools/scripts/nsis' );
|
|
|
43 |
|
| 4945 |
gchristi |
44 |
Src ('*', 'SimpleService/SimpleSC.dll' );
|
|
|
45 |
Src ('*', 'SimpleService/SimpleSC.txt' );
|
|
|
46 |
PackageFile ('*', 'SimpleSC.dll', '--Dir=tools/bin/win32/nsis' );
|
|
|
47 |
PackageFile ('*', 'SimpleSC.txt', '--Dir=tools/doc' );
|
| 2035 |
dpurdie |
48 |
|
| 2031 |
ghuddy |
49 |
#.............................................................................
|
| 2033 |
dpurdie |
50 |
# Packaging definitions
|
|
|
51 |
# Packaged in a manner that NSIS will not pick them up
|
| 2031 |
ghuddy |
52 |
#
|
|
|
53 |
PackageFile ( '*', '--DirTree=System' );
|
|
|
54 |
PackageFile ( '*', '--DirTree=SearchAndReplace' );
|
|
|
55 |
|
|
|
56 |
#.............................................................................
|
|
|
57 |
# Finally generate the makefile
|
|
|
58 |
#
|
|
|
59 |
MakefileGenerate();
|
|
|
60 |
|
|
|
61 |
#.. Successful termination
|
|
|
62 |
1;
|