aboutsummaryrefslogtreecommitdiff
path: root/build/import/libboost/date-time/stub.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-17 14:50:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-17 14:50:11 +0200
commit5aaec95bbfb066130ecac03eece3813cee61a3e1 (patch)
tree87c24d1b6afe613c31076cf7b417a7e2b7188994 /build/import/libboost/date-time/stub.make
parent29e7db53cb1db2c4d743d4756b8ac3fee28ab8ea (diff)
Add test infrastructure for boost profile
Diffstat (limited to 'build/import/libboost/date-time/stub.make')
-rw-r--r--build/import/libboost/date-time/stub.make36
1 files changed, 36 insertions, 0 deletions
diff --git a/build/import/libboost/date-time/stub.make b/build/import/libboost/date-time/stub.make
new file mode 100644
index 0000000..66d1989
--- /dev/null
+++ b/build/import/libboost/date-time/stub.make
@@ -0,0 +1,36 @@
+# file : build/import/libboost/date-time/stub.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2005-2011 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(call include-once,$(scf_root)/import/libboost/configuration-rules.make,$(dcf_root))
+
+libboost_installed :=
+
+$(call -include,$(dcf_root)/import/libboost/configuration-dynamic.make)
+
+ifdef libboost_installed
+
+ifeq ($(libboost_installed),y)
+
+ifeq ($(libboost_system),y)
+$(call export,l: -lboost_date_time$(libboost_suffix) -lboost_system$(libboost_suffix),cpp_options: )
+else
+$(call export,l: -lboost_date_time$(libboost_suffix),cpp_options: )
+endif
+
+else
+
+$(call include-once,$(scf_root)/import/libboost/date-time/rules.make,$(dcf_root))
+
+$(call export,\
+ l: $(dcf_root)/import/libboost/date-time/date-time.l,\
+ cpp-options: $(dcf_root)/import/libboost/date-time/date-time.l.cpp-options)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif