summaryrefslogtreecommitdiff
path: root/libboost/serialization
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-03 09:51:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-03 09:51:56 +0200
commit1e552b818ee2f6680dd6f318c8aaea0b1f857955 (patch)
tree3a3aabb6ee7bcdf9975d7235328d0a48ff46bfe5 /libboost/serialization
Start tracking import stubs with git
Diffstat (limited to 'libboost/serialization')
-rw-r--r--libboost/serialization/rules.make50
-rw-r--r--libboost/serialization/stub.make36
2 files changed, 86 insertions, 0 deletions
diff --git a/libboost/serialization/rules.make b/libboost/serialization/rules.make
new file mode 100644
index 0000000..eab97ff
--- /dev/null
+++ b/libboost/serialization/rules.make
@@ -0,0 +1,50 @@
+# file : build/import/libboost/serialization/rules.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2005-2010 Boris Kolpackov
+# license : GNU GPL v2; see accompanying LICENSE file
+
+$(dcf_root)/import/libboost/%: root := $(libboost_root)
+
+$(dcf_root)/import/libboost/serialization/serialization.l: \
+ | $(dcf_root)/import/libboost/serialization/.
+
+ifeq ($(libboost_type),archive)
+
+ifeq ($(libboost_system),y)
+$(dcf_root)/import/libboost/serialization/serialization.l: \
+ $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).a \
+ $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).a
+else
+$(dcf_root)/import/libboost/serialization/serialization.l: \
+ $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).a
+endif
+ @echo $^ >$@
+
+else
+
+ifeq ($(libboost_system),y)
+$(dcf_root)/import/libboost/serialization/serialization.l: \
+ $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).so \
+ $(libboost_root)/stage/lib/libboost_system$(libboost_suffix).so
+else
+$(dcf_root)/import/libboost/serialization/serialization.l: \
+ $(libboost_root)/stage/lib/libboost_serialization$(libboost_suffix).so
+endif
+ @echo $^ >$@
+ @echo rpath:$(root)/stage/lib >>$@
+
+endif
+
+
+$(dcf_root)/import/libboost/serialization/serialization.l.cpp-options: \
+ | $(dcf_root)/import/libboost/serialization/.
+ @echo include: -I$(root) >$@
+
+ifndef %foreign%
+
+disfigure::
+ $(call message,rm $(dcf_root)/import/libboost/serialization/serialization.l,\
+rm -f $(dcf_root)/import/libboost/serialization/serialization.l)
+ $(call message,,rm -f $(dcf_root)/import/libboost/serialization/serialization.l.cpp-options)
+
+endif
diff --git a/libboost/serialization/stub.make b/libboost/serialization/stub.make
new file mode 100644
index 0000000..09d0858
--- /dev/null
+++ b/libboost/serialization/stub.make
@@ -0,0 +1,36 @@
+# file : build/import/libboost/serialization/stub.make
+# author : Boris Kolpackov <boris@kolpackov.net>
+# copyright : Copyright (c) 2005-2010 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_serialization$(libboost_suffix) -lboost_system$(libboost_suffix),cpp_options: )
+else
+$(call export,l: -lboost_serialization$(libboost_suffix),cpp_options: )
+endif
+
+else
+
+$(call include-once,$(scf_root)/import/libboost/serialization/rules.make,$(dcf_root))
+
+$(call export,\
+ l: $(dcf_root)/import/libboost/serialization/serialization.l,\
+ cpp-options: $(dcf_root)/import/libboost/serialization/serialization.l.cpp-options)
+
+endif
+
+else
+
+.NOTPARALLEL:
+
+endif