diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-16 18:14:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-16 18:14:00 +0200 |
commit | bd6f1415823a473da4518769fc292c10330d821d (patch) | |
tree | 98bf0ab2565dfdfbef6fbba16e2c24cb442ee304 /build/import/libboost/filesystem/rules.make |
Start tracking libxsd-frontend with git
Diffstat (limited to 'build/import/libboost/filesystem/rules.make')
-rw-r--r-- | build/import/libboost/filesystem/rules.make | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/build/import/libboost/filesystem/rules.make b/build/import/libboost/filesystem/rules.make new file mode 100644 index 0000000..8a1666e --- /dev/null +++ b/build/import/libboost/filesystem/rules.make @@ -0,0 +1,41 @@ +# file : build/import/libboost/filesystem/rules.make +# author : Boris Kolpackov <boris@kolpackov.net> +# copyright : Copyright (c) 2005-2009 Boris Kolpackov +# license : GNU GPL v2; see accompanying LICENSE file + +#@@ Should use message everywhere. +# + +$(dcf_root)/import/libboost/%: root := $(libboost_root) + +$(dcf_root)/import/libboost/filesystem/filesystem.l: \ + | $(dcf_root)/import/libboost/filesystem/. + +ifeq ($(libboost_type),archive) + +$(dcf_root)/import/libboost/filesystem/filesystem.l: \ + $(libboost_root)/stage/lib/libboost_filesystem-gcc$(libboost_toolset)-$(libboost_version).a + @echo $< >$@ + +else + +$(dcf_root)/import/libboost/filesystem/filesystem.l: \ + $(libboost_root)/stage/lib/libboost_filesystem-gcc$(libboost_toolset)-$(libboost_version).so + @echo $< >$@ + @echo rpath:$(root)/stage/lib >>$@ + +endif + + +$(dcf_root)/import/libboost/filesystem/filesystem.l.cpp-options: \ + | $(dcf_root)/import/libboost/filesystem/. + @echo include: -I$(root) >$@ + +ifndef %foreign% + +disfigure:: + $(call message,rm $(dcf_root)/import/libboost/filesystem/filesystem.l,\ +rm -f $(dcf_root)/import/libboost/filesystem/filesystem.l) + $(call message,,rm -f $(dcf_root)/import/libboost/filesystem/filesystem.l.cpp-options) + +endif |