summaryrefslogtreecommitdiff
path: root/project2/Jamfile.jam
blob: 594bbd15e5e81971c1381df74e3249bba97f33a5 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
import package ;
import feature : feature ;

alias glibmm : : : :
	<cflags>"`pkg-config --cflags glibmm-2.4`"
	<linkflags>"`pkg-config --libs glibmm-2.4`"
	;

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 boost_regex : : <name>boost_regex ;
lib boost_filesystem : : <name>boost_filesystem ;
lib boost_date_time : : <name>boost_date_time ;
lib boost_program_options : : <name>boost_program_options ;
lib cgicc : : <name>cgicc ;
lib esmtp : : <name>esmtp ;
lib curl : : <name>curl ;
lib osspuuid : : <name>ossp-uuid++ ;

alias p2parts : : : :
	<library>p2common
	<library>p2url
	<library>p2files
	<library>p2processes
	<library>p2sql
	<library>p2mail
	<library>p2regex
	<library>p2xml
	;

feature uuid : boost ossp : propagated ;
feature odbc : yes no ;
feature pq : yes no ;

lib p2uuid :
	uuid.cpp
	:
	<uuid>ossp:<define>OSSP_UUID
	<uuid>boost:<define>BOOST_UUID
	<uuid>ossp:<library>osspuuid
	;

lib p2common :
	appEngine.cpp dataSource.cpp environment.cpp fileStarGlibIoChannel.cpp iHaveParameters.cpp
	iterate.cpp paramChecker.cpp presenter.cpp rawView.cpp logger.cpp if.cpp
	sourceObject.cpp task.cpp variables.cpp variableConvert.cpp view.cpp xmlObjectLoader.cpp exceptions.cpp
	sessionClearTask.cpp session.cpp sessionSetTask.cpp commonObjects.cpp xmlPresenter.cpp
	rowView.cpp rowSet.cpp rowUser.cpp rowProcessor.cpp config.cpp fileStrmVarWriter.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	<library>boost_filesystem
	<library>boost_date_time
	<library>boost_program_options
	;

lib p2xml :
	xmlRows.cpp xslRows.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	<library>libxslt
	;

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

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

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

lib p2xmlSession :
	sessionContainer.cpp sessionXml.cpp
	:
	<library>../libmisc//misc
	<library>libxmlpp
	: :
	<library>p2uuid
	;

obj rdbmsDataSource :
	rdbmsDataSource.cpp :
	<odbc>yes:<define>WITH_ODBC
	<pq>yes:<define>WITH_PQ
	<odbc>yes:<library>../libodbcpp//odbcpp
	<pq>yes:<library>../libpqpp//pqpp
	<library>libxmlpp
	<library>../libmisc//misc
	;
	
lib p2sql :
	[ glob sql*.cpp ] tablepatch.cpp rdbmsDataSource
	../libdbpp//dbpp
	:
	<odbc>yes:<library>../libodbcpp//odbcpp
	<pq>yes:<library>../libpqpp//pqpp
	<library>libxmlpp
	: :
	<odbc>yes:<library>../libodbcpp//odbcpp
	<pq>yes:<library>../libpqpp//pqpp
	;

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

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

lib p2web :
	[ glob cgi/cgi*.cpp ]
	:
	<library>../libmisc//misc
	<library>cgicc
	<library>glibmm
	<library>libxmlpp
	: :
	<library>p2parts
	<library>p2xmlSession
	;

exe p2cgi :
	cgi/p2webCgi.cpp
	:
	<library>p2web
	;

exe p2fcgi :
	cgi/p2webFCgi.cpp cgi/FCgiIO.cpp
	fcgi++
	fcgi
	:
	<library>p2web
	;

exe p2console :
	[ glob console/*.cpp ]
	:
	<library>p2parts
	;

explicit install installp2con installp2cgi installp2fcgi ;
package.install install : : p2console p2cgi p2fcgi ;
package.install installp2con : : p2console ;
package.install installp2cgi : : p2cgi ;
package.install installp2fcgi : : p2fcgi ;