From f0510d2f90467de8e8f260b47d79a9baaf9bef17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2009 07:15:29 +0200 Subject: Start tracking XSD with git --- build/import/libboost/regex/rules.make | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 build/import/libboost/regex/rules.make (limited to 'build/import/libboost/regex/rules.make') diff --git a/build/import/libboost/regex/rules.make b/build/import/libboost/regex/rules.make new file mode 100644 index 0000000..10303be --- /dev/null +++ b/build/import/libboost/regex/rules.make @@ -0,0 +1,38 @@ +# file : build/import/libboost/regex/rules.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2005-2009 Boris Kolpackov +# license : GNU GPL v2; see accompanying LICENSE file + +$(dcf_root)/import/libboost/%: root := $(libboost_root) + +$(dcf_root)/import/libboost/regex/regex.l: \ + | $(dcf_root)/import/libboost/regex/. + +ifeq ($(libboost_type),archive) + +$(dcf_root)/import/libboost/regex/regex.l: \ + $(libboost_root)/stage/lib/libboost_regex-gcc$(libboost_toolset)-$(libboost_version).a + @echo $< >$@ + +else + +$(dcf_root)/import/libboost/regex/regex.l: \ + $(libboost_root)/stage/lib/libboost_regex-gcc$(libboost_toolset)-$(libboost_version).so + @echo $< >$@ + @echo rpath:$(root)/stage/lib >>$@ + +endif + + +$(dcf_root)/import/libboost/regex/regex.l.cpp-options: \ + | $(dcf_root)/import/libboost/regex/. + @echo include: -I$(root) >$@ + +ifndef %foreign% + +disfigure:: + $(call message,rm $(dcf_root)/import/libboost/regex/regex.l,\ +rm -f $(dcf_root)/import/libboost/regex/regex.l) + $(call message,,rm -f $(dcf_root)/import/libboost/regex/regex.l.cpp-options) + +endif -- cgit v1.1