From 7f0328a07bccd1fbde8579ac0a121f16f03e0c6d Mon Sep 17 00:00:00 2001 From: randomdan Date: Tue, 1 Mar 2011 09:52:20 +0000 Subject: Just build the needed bits of libmisc into places they're needed, don't build all of it --- project2/Jamfile.jam | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/project2/Jamfile.jam b/project2/Jamfile.jam index 4f8ba1a..1d9ba9b 100644 --- a/project2/Jamfile.jam +++ b/project2/Jamfile.jam @@ -53,8 +53,10 @@ lib p2common : sourceObject.cpp task.cpp variables.cpp variableConvert.cpp view.cpp xmlObjectLoader.cpp exceptions.cpp sessionClearTask.cpp session.cpp sessionSetTask.cpp commonObjects.cpp xmlPresenter.cpp requestHost.cpp rowView.cpp rowSet.cpp rowUser.cpp rowProcessor.cpp config.cpp fileStrmVarWriter.cpp noOutputExecute.cpp + ../libmisc/buffer.cpp + ../libmisc/misc.cpp : - ../libmisc//misc + ../libmisc libxmlpp boost_filesystem boost_date_time @@ -65,7 +67,7 @@ lib p2xml : xmlRows.cpp xslRows.cpp p2url : - ../libmisc//misc + ../libmisc libxmlpp libxslt ; @@ -73,7 +75,7 @@ lib p2xml : lib p2processes : procRows.cpp : - ../libmisc//misc + ../libmisc libxmlpp ; @@ -82,7 +84,7 @@ lib p2files : fileRows.cpp streamRows.cpp : - ../libmisc//misc + ../libmisc libxmlpp boost_filesystem ; @@ -90,7 +92,7 @@ lib p2files : lib p2regex : regexCheck.cpp : - ../libmisc//misc + ../libmisc boost_regex libxmlpp ; @@ -98,7 +100,7 @@ lib p2regex : lib p2xmlSession : sessionContainer.cpp sessionXml.cpp : - ../libmisc//misc + ../libmisc libxmlpp : : p2uuid @@ -111,7 +113,7 @@ obj rdbmsDataSource : yes:../libodbcpp//odbcpp yes:../libpqpp//pqpp libxmlpp - ../libmisc//misc + ../libmisc ; lib p2sql : @@ -121,6 +123,7 @@ lib p2sql : yes:../libodbcpp//odbcpp yes:../libpqpp//pqpp libxmlpp + ../libmisc : : yes:../libodbcpp//odbcpp yes:../libpqpp//pqpp @@ -129,8 +132,9 @@ lib p2sql : lib p2url : urlRows.cpp curlHelper.cpp + ../libmisc/curlsup.cpp : - ../libmisc//misc + ../libmisc libxmlpp curl ; @@ -138,7 +142,7 @@ lib p2url : lib p2mail : sendmailTask.cpp : - ../libmisc//misc + ../libmisc libxmlpp libxslt esmtp @@ -147,7 +151,7 @@ lib p2mail : lib p2web : [ glob cgi/cgi*.cpp ] : - ../libmisc//misc + ../libmisc cgicc glibmm libxmlpp @@ -160,6 +164,7 @@ exe p2cgi : cgi/p2webCgi.cpp : p2web + ../libmisc ; exe p2fcgi : @@ -168,12 +173,14 @@ exe p2fcgi : fcgi : p2web + ../libmisc ; exe p2console : [ glob console/*.cpp ] : p2parts + ../libmisc ; explicit install installp2con installp2cgi installp2fcgi ; -- cgit v1.2.3