diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-29 13:33:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-29 13:33:50 +0200 |
commit | d6ceed8279573277d92dd150d21ac01d7a6683dd (patch) | |
tree | fe17987c249a7fa343df2403108985e644c4900f /build/bootstrap.make | |
parent | 08c773c71968fb92330572e95694b9ee3f37d267 (diff) |
Build system improvements
Add support for building with bundled build. Update boost import stub.
Diffstat (limited to 'build/bootstrap.make')
-rw-r--r-- | build/bootstrap.make | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make index 9897964..25dc2d8 100644 --- a/build/bootstrap.make +++ b/build/bootstrap.make @@ -5,7 +5,16 @@ project_name := libxsd-frontend -include build-0.3/bootstrap.make +# First try to include the bundled bootstrap.make if it exist. If that +# fails, let make search for the external bootstrap.make. +# +build := build-0.3 + +-include $(dir $(lastword $(MAKEFILE_LIST)))../../$(build)/bootstrap.make + +ifeq ($(patsubst %build/bootstrap.make,,$(lastword $(MAKEFILE_LIST))),) +include $(build)/bootstrap.make +endif # Aliases # |