########################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
# Module name   : makefile.pl
# Module type   : JATS Makefile
# Environment(s): JATS Build System
#
# Description   : Makefile for debian_packager 
#
#......................................................................#
#
# exec build system
#
require "$ARGV[1]";

# Build platform definitions ..
#
Platform( '*' );

############################################################################
# Packaging definitions
#
PackageFile ( '*'   , 'descpkg' );
PackageFile ( '*'   , '--DirTree=tools' );
PackageFile ( '*'   , '--DirTree=gbe' );

# Need this package at run-time as well as build-time
#   Duplicate the package into dpkg_acrhive
Src ('*', 'gbe/DIRECTIVES/PackagerUtils.pm' );
PackageFile ( '*', 'PackagerUtils.pm', '--Subdir=tools/scripts');

#.............................................................................
# Finally generate the makefile
#
MakefileGenerate();

#..  Successful termination
1;

