########################################################################
# Copyright (C) 1998-2012 Vix Technology, All rights reserved
#
# Module name   : Makefile.pl
# Module type   : JATS Build File
# Environment(s): JATS Build System
#
# Description:    makefile.pl for package nsis_library_prj
#
#.........................................................................#

die "Usage: Makefile.pl rootdir Makelib.pl\n"
    unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";

#
# Build platform definitions ..
#
Platform( '*' );

PackageHdr  ('*', 'SetupInstallationLibrairie.nsi' );
PackageHdr  ('*', 'SetupMain.nsi' );

############################################################################
#   Package up all the files in a form suitable for NSIS
#   These are packaged such that NSIS will automatically search for them
#   To have NSIS automatically pick them up package:
#       DLLs into      : tools/bin/win32/nsis
#       .NSH files into: tools/scripts/nsis
#
PackageFile ('*', '--DirTree=Include', '--StripDir', '--Dir=tools/scripts/nsis' );

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;
