summaryrefslogtreecommitdiff
path: root/service/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 08:34:57 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-03-08 08:34:57 +0000
commit556589d180eebcf76c528e8a2f7676dc52c65464 (patch)
treecf690a2fc34c2610e4e6d72e220a639120aac5c3 /service/Jamfile.jam
parentUse curl instead of libxml2's networking as we need more control over HTTP re... (diff)
downloadmirrorsearch-556589d180eebcf76c528e8a2f7676dc52c65464.tar.bz2
mirrorsearch-556589d180eebcf76c528e8a2f7676dc52c65464.tar.xz
mirrorsearch-556589d180eebcf76c528e8a2f7676dc52c65464.zip
Split the builds into the usual domain, api and service components
Diffstat (limited to 'service/Jamfile.jam')
-rw-r--r--service/Jamfile.jam43
1 files changed, 37 insertions, 6 deletions
diff --git a/service/Jamfile.jam b/service/Jamfile.jam
index 8f15002..7c0026c 100644
--- a/service/Jamfile.jam
+++ b/service/Jamfile.jam
@@ -7,10 +7,40 @@ lib dbpp-postgresql : : : : <include>/usr/include/dbpp-postgresql ;
lib dryice : : : : <include>/usr/include/icetray ;
lib curl ;
-lib mirrorsearch :
- [ glob *.cpp *.ice sql/*.sql : test.cpp ]
+lib mirrorsearch-domain :
+ models.ice
:
<slicer>yes
+ <library>..//Ice
+ <library>..//IceUtil
+ <library>..//pthread
+ <library>..//slicer
+ <library>..//adhocutil
+ : :
+ <include>.
+ ;
+
+lib mirrorsearch-api :
+ api.ice
+ :
+ <slicer>yes
+ <library>..//Ice
+ <library>..//IceUtil
+ <library>..//pthread
+ <library>..//slicer
+ <library>mirrorsearch-domain
+ <implicit-dependency>mirrorsearch-domain
+ : :
+ <library>mirrorsearch-domain
+ <implicit-dependency>mirrorsearch-domain
+ ;
+
+lib mirrorsearch-service :
+ [ glob *.cpp sql/*.sql : test.cpp ]
+ :
+ <library>mirrorsearch-domain
+ <library>mirrorsearch-api
+ <implicit-dependency>mirrorsearch-api
<library>curl
<library>..//adhocutil
<library>..//dbppcore
@@ -32,6 +62,8 @@ lib mirrorsearch :
: :
<include>.
<library>..//icetray
+ <library>mirrorsearch-api
+ <implicit-dependency>mirrorsearch-api
;
path-constant me : . ;
@@ -51,16 +83,15 @@ run test.cpp
<library>..//adhocutil
<library>..//boost_system
<library>..//boost_filesystem
- <library>..//netfs-api
<library>..//IceUtil
<library>..//Ice
<library>..//IceBox
<library>..//pthread
<library>dryice
- <library>mirrorsearch
- <implicit-dependency>mirrorsearch
+ <library>mirrorsearch-service
+ <implicit-dependency>mirrorsearch-service
;
-package.install install : : : mirrorsearch ;
+package.install install : : : mirrorsearch-service ;