summaryrefslogtreecommitdiff
path: root/project2/Jamfile.jam
blob: 754adbf23b797e746234d83a066a065d40a55949 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
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 fileStarGlibIoChannel.cpp iHaveParameters.cpp
	iterate.cpp paramChecker.cpp perRowValues.cpp presenter.cpp rawView.cpp
	sourceObject.cpp task.cpp variables.cpp view.cpp xmlObjectLoader.cpp
	sessionClearTask.cpp session.cpp sessionSetTask.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	<library>boost_filesystem
	;

lib p2processes :
	procRows.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	;

lib p2files :
	fileRows.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	;

lib p2regex :
	regexCheck.cpp
	:
	<library>../libmisc//misc
	<library>boost_regex
	<library>libxmlpp
	;

lib p2xmlSession :
	sessionContainer.cpp sessionXml.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>p2url
	<library>p2sql
	<library>p2mail
	<library>p2files
	<library>p2regex
	<library>p2processes
	<library>p2xmlSession
	<library>fcgi++
	<library>fcgi
	<library>cgicc
	;

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

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