summaryrefslogtreecommitdiff
path: root/project2/Jamfile.jam
blob: b39688770a12edb229236ba5301ee8b177c5a369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
using gcc ;
import package ;

alias libxmlpp : : : :
	<cflags>"`pkg-config --cflags libxml++-2.6`"
	<linkflags>"`pkg-config --libs libxml++-2.6`" ;
alias libxslt : : : :
	<cflags>"`pkg-config --cflags libexslt`"
	<linkflags>"`pkg-config --libs libexslt`" ;

lib fcgi : : <name>fcgi ;
lib fcgi++ : : <name>fcgi++ ;
lib odbc : : <name>odbc ;
lib boost_regex : : <name>boost_regex ;
lib boost_filesystem : : <name>boost_filesystem ;
lib cgicc : : <name>cgicc ;
lib esmtp : : <name>esmtp ;
lib curl : : <name>curl ;

lib p2common :
	appEngine.cpp dataSource.cpp environment.cpp fileRows.cpp fileStarGlibIoChannel.cpp iHaveParameters.cpp
	iterate.cpp paramChecker.cpp perRowValues.cpp presenter.cpp procRows.cpp rawView.cpp regexCheck.cpp
	sourceObject.cpp task.cpp variables.cpp view.cpp xmlObjectLoader.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	<library>boost_regex
	<library>boost_filesystem
	;

lib p2session :
	[ glob session*.cpp ]
	:
	<library>../libmisc//misc
	<library>libxmlpp
	;

lib p2sql :
	[ glob sql*.cpp tablepatch.cpp rdbmsDataSource.cpp ]
	:
	<library>../libmisc//misc
	<library>../libodbcpp//odbcpp
	<library>libxmlpp
	<library>odbc
	;

lib p2url :
	urlRows.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	<library>curl
	;

lib p2mail :
	sendmailTask.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	<library>libxslt
	<library>esmtp
	;

exe p2web :
	[ glob cgi/*.cpp ] :
	<library>p2common
	<library>p2session
	<library>p2url
	<library>p2sql
	<library>p2mail
	<library>fcgi++
	<library>fcgi
	<library>cgicc
	;

exe p2console :
	[ glob console/*.cpp ] :
	<library>p2common
	<library>p2url
	<library>p2sql
	<library>p2mail
	;

explicit install ;
package.install install : : p2console p2web ;