From 1e552b818ee2f6680dd6f318c8aaea0b1f857955 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 May 2010 09:51:56 +0200 Subject: Start tracking import stubs with git --- libboost/serialization/rules.make | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 libboost/serialization/rules.make (limited to 'libboost/serialization/rules.make') 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 +# 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 -- cgit v1.1