diff options
Diffstat (limited to 'mythfs/service/Jamfile.jam')
-rw-r--r-- | mythfs/service/Jamfile.jam | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/mythfs/service/Jamfile.jam b/mythfs/service/Jamfile.jam index aa79386..7dc26cb 100644 --- a/mythfs/service/Jamfile.jam +++ b/mythfs/service/Jamfile.jam @@ -1,5 +1,4 @@ -import generators ; -import type ; +import icetray ; lib mythfs : [ glob *.cpp *.ice sql/*.sql ] @@ -18,29 +17,10 @@ lib mythfs : <library>..//slicer <library>..//slicer-db <library>../..//glibmm + <icetray.sql.namespace>MythFS : : <include>. <library>..//netfsComms <library>..//icetray ; -path-constant root : . ; -type.register SQL : sql ; -type.register HEX : hex ; -generators.register-standard sql.embed.hex : SQL : HEX ; -generators.register-standard sql.embed : HEX : CPP H ; - -actions sql.embed -{ - m4 -DNAME="$(2[1]:B)" "$(root)/embed.h.m4" > "$(1[2])" - m4 -DNAME="$(2[1]:B)" "$(root)/embed.cpp.m4" > "$(1[1])" -} - -actions sql.embed.hex -{ - xxd -i "$(2)" - | grep , > "$(1[1])" -} - -IMPORT $(__name__) : sql.embed : : sql.embed ; -IMPORT $(__name__) : sql.embed.hex : : sql.embed.hex ; - |