| 4192 |
dpurdie |
1 |
########################################################################
|
|
|
2 |
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
|
|
|
3 |
# Module name : makefile.pl
|
|
|
4 |
# Module type : JATS Makefile
|
|
|
5 |
# Environment(s): JATS Build System
|
|
|
6 |
#
|
|
|
7 |
# Description : Makefile for checkReg
|
|
|
8 |
#
|
|
|
9 |
#......................................................................#
|
|
|
10 |
#
|
|
|
11 |
# exec build system
|
|
|
12 |
#
|
|
|
13 |
die "Usage: Makefile.pl rootdir Makelib.pl\n" unless( $#ARGV+1 >= 2 );
|
|
|
14 |
require "$ARGV[1]";
|
|
|
15 |
|
|
|
16 |
# Build platform definitions ..
|
|
|
17 |
#
|
|
|
18 |
Platform( '*' );
|
|
|
19 |
|
|
|
20 |
############################################################################
|
|
|
21 |
# Define the source files
|
|
|
22 |
#
|
|
|
23 |
Src ('*', "checkReg.c");
|
|
|
24 |
Prog('*', "checkReg", @OBJS, '-LAdvapi32' );
|
|
|
25 |
|
|
|
26 |
#.............................................................................
|
|
|
27 |
# Packaging definitions
|
|
|
28 |
#
|
|
|
29 |
InstallProg ( '*' , @PROGS );
|
|
|
30 |
PackageProg ( '*' , @PROGS );
|
|
|
31 |
|
|
|
32 |
#.............................................................................
|
|
|
33 |
# Finally generate the makefile
|
|
|
34 |
#
|
|
|
35 |
MakefileGenerate();
|
|
|
36 |
|
|
|
37 |
#.. Successful termination
|
|
|
38 |
1;
|
|
|
39 |
|