Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

#..
# Copyright (C) 1999-2002 ERG Limited, All rights reserved
#
# Module name:  Makelib.pl
# Module type:  Makefile system
#
# Description:  Resource compiler
#
#...........................................................................

# exec build system
#
die "Usage: Makefile.pl rootdir Makelib.pl\n"
    unless( $#ARGV+1 >= 2 );
require "$ARGV[1]";

Platform( '*' );

#.............................................................................
# Platforms definitions
#

AddFlags( 'WIN32',         '-DMICRO_SOFT' );
AddIncDir( '*',            '.' );

# Any source/headers etc
#..
Src( '*',                  'sl.h', 'enum.h', 'tmp.h' );
Src( '*',                  'cpp.c', 'cpp.h' );
Src( '*',                  'def.c' );
Src( '*',                  'dir.c' );
Src( '*',                  'glb.c', 'glb.h' );
Src( '*',                  'mem.c' );
Src( '*',                  'mst.c' );
Src( '*',                  'pr.c' );
Src( '*',                  'str.c' );
Src( '*',                  'sys.c' );
Src( '*',                  'tok.c' );
Src( '*',                  'utl.c' );


# Applications to be built
#..
Prog( 'WIN32',             'rpccpp', @OBJS );

# Packaging installation
#..
PackageProg( '*',          'rpccpp' );

#.............................................................................
# Finally generate the makefile
MakefileGenerate();