Subversion Repositories DevTools

Rev

Rev 882 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
882 mhunt 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
 
10
# target platforms
11
Platform( 'WIN32', '--OnlyProd' );
12
 
13
# build flags and paths
14
AddLibDir('*', '.');
15
# source types
16
 
17
# source files
18
Src( '*', 'attend.cc' );
19
Src( '*', 'Process.cc' );
20
Src( '*', 'Process.h' );
21
Src( 'WIN32', 'psapi.h' );
22
Src( 'WIN32', 'psapi.dll' );
23
 
24
# files to be generated
25
 
26
# additional rules
27
 
28
# headers to be installed
29
 
30
# headers to be installed outside the sandbox
31
 
32
# libraries to be made
33
 
34
# programs to be made
35
 
36
# libraries to be installed into the 'export' lib directory
37
 
38
# headers to be installed outside the sandbox
39
 
40
# libraries to be made
41
 
42
# programs to be made
43
Prog( 'WIN32', 'attend',
44
	'attend.o', 'Process.o',
45
	'-LAdvapi32',
46
	'-LPsapi' );
47
 
48
# libraries to be installed into the 'export' lib directory
49
 
50
# libraries to be installed outside the sandbox
51
PackageProg( '*', 'attend' );
52
 
53
#--- Finally generate the makefile
54
MakefileGenerate();