Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
724 buildadm 1
#..
2
# Copyright (C) 1998-2000 ERG Transit Systems, All rights reserved
3
#
4
die "Usage: Makefile.pl rootdir Makelib.pl\n"
5
unless( $#ARGV+1 >= 2 );
6
require "$ARGV[1]";
7
 
8
# subdirectories to recurse
9
SubDir( 'config' );
10
SubDir( 'jwrap' );
11
SubDir( 'genbuild' );
12
SubDir( 'publish' );
13
 
14
# target platforms
15
Platform( 'WIN32', 'SOLARIS' );
16
 
17
# build flags and paths
18
 
19
# source types
20
Src( '*', 'version.c' );
21
 
22
# source files
23
 
24
# files to be generated
25
 
26
# additional rules
27
InstallHdr('*',		'version.h' );
28
 
29
# Libraries to be built
30
#
31
Lib('*',		'version', 'version.o');
32
 
33
# Libraries to be installed
34
#
35
InstallLib('*', 	'version' );
36
 
37
# headers to be installed
38
 
39
# headers to be installed outside the sandbox
40
 
41
# libraries to be made
42
 
43
# programs to be made
44
 
45
# libraries to be installed into the 'export' lib directory
46
 
47
# libraries to be installed outside the sandbox
48
Script( '*', 'descpkg' );
49
PackageProg( '*', 'descpkg', "--Dir=$Pbase", '--Set=A' );
50
 
51
#--- Finally generate the makefile
52
MakefileGenerate();