summaryrefslogtreecommitdiff
path: root/libboost/header-only/rules.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-01 11:53:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-01 11:53:20 +0200
commit9e766064ead114844748e352f36a8efd67f41a8e (patch)
tree6d9c3222b18d9a87d82b6359fb2ecdb29f9821ef /libboost/header-only/rules.make
parent8ffae6ed5dada3480f913fdfe6e0abd7730e3d84 (diff)
Add stub for header-only Boost libraries
Diffstat (limited to 'libboost/header-only/rules.make')
-rw-r--r--libboost/header-only/rules.make18
1 files changed, 18 insertions, 0 deletions
diff --git a/libboost/header-only/rules.make b/libboost/header-only/rules.make
new file mode 100644
index 0000000..b966860
--- /dev/null
+++ b/libboost/header-only/rules.make
@@ -0,0 +1,18 @@
+# file : build/import/libboost/header-only/rules.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2005-2011 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(dcf_root)/import/libboost/%: root := $(libboost_root)
+
+$(dcf_root)/import/libboost/header-only/header-only.l.cpp-options: \
+ | $(dcf_root)/import/libboost/header-only/.
+ @echo include: -I$(root) >$@
+
+ifndef %foreign%
+
+disfigure::
+ $(call message,rm $(dcf_root)/import/libboost/header-only/header-only.l,\
+rm -f $(dcf_root)/import/libboost/header-only/header-only.l.cpp-options)
+
+endif