aboutsummaryrefslogtreecommitdiff
path: root/build/import/libboost/header-only/rules.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-04 14:02:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-04 14:02:12 +0200
commitacba5c43f189dfddef4992371fadaa6f019a8027 (patch)
treea10ac88a6ab8f84c33a3a19cf092feddb802ee7f /build/import/libboost/header-only/rules.make
parentb3fa74d407c8a7bdc39c381137612a2d94c58831 (diff)
Add Boost profile example
Diffstat (limited to 'build/import/libboost/header-only/rules.make')
-rw-r--r--build/import/libboost/header-only/rules.make18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/import/libboost/header-only/rules.make b/build/import/libboost/header-only/rules.make
new file mode 100644
index 0000000..b966860
--- /dev/null
+++ b/build/import/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