| 2551 |
dpurdie |
1 |
########################################################################
|
|
|
2 |
# Copyright (C) 1998-2012 Vix Technology, All rights reserved
|
|
|
3 |
#
|
|
|
4 |
# Module name : Makefile.pl
|
|
|
5 |
# Module type : JATS Build File
|
|
|
6 |
# Environment(s): JATS Build System
|
|
|
7 |
#
|
|
|
8 |
# Description: makefile.pl for package nsis_library_prj
|
|
|
9 |
#
|
|
|
10 |
#.........................................................................#
|
|
|
11 |
|
|
|
12 |
die "Usage: Makefile.pl rootdir Makelib.pl\n"
|
|
|
13 |
unless( $#ARGV+1 >= 2 );
|
|
|
14 |
require "$ARGV[1]";
|
|
|
15 |
|
|
|
16 |
#
|
|
|
17 |
# Build platform definitions ..
|
|
|
18 |
#
|
|
|
19 |
Platform( '*' );
|
|
|
20 |
|
|
|
21 |
PackageHdr ('*', 'SetupInstallationLibrairie.nsi' );
|
|
|
22 |
PackageHdr ('*', 'SetupMain.nsi' );
|
|
|
23 |
|
|
|
24 |
############################################################################
|
|
|
25 |
# Package up all the files in a form suitable for NSIS
|
|
|
26 |
# These are packaged such that NSIS will automatically search for them
|
|
|
27 |
# To have NSIS automatically pick them up package:
|
|
|
28 |
# DLLs into : tools/bin/win32/nsis
|
|
|
29 |
# .NSH files into: tools/scripts/nsis
|
|
|
30 |
#
|
|
|
31 |
PackageFile ('*', '--DirTree=Include', '--StripDir', '--Dir=tools/scripts/nsis' );
|
|
|
32 |
|
|
|
33 |
#.............................................................................
|
|
|
34 |
# Finally generate the makefile
|
|
|
35 |
#
|
|
|
36 |
MakefileGenerate();
|
|
|
37 |
|
|
|
38 |
#.. Successful termination
|
|
|
39 |
1;
|