diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-06 14:26:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-06 14:26:25 +0200 |
commit | 921c4c14c2999a03b9e649b5c9adec73b5cae0de (patch) | |
tree | c3a0015286ded8b59f2f44fd7b22be2748e16098 /build/bootstrap.make | |
parent | 0f9123ae095d3da7f2fb55d95af49ec3aa0a9c17 (diff) |
Add automake build support
Diffstat (limited to 'build/bootstrap.make')
-rw-r--r-- | build/bootstrap.make | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make index 12d3425..59a62a2 100644 --- a/build/bootstrap.make +++ b/build/bootstrap.make @@ -32,17 +32,27 @@ $(call include,$(bld_root)/cxx/configuration.make) # .PHONY: $(out_base)/ \ $(out_base)/.test \ + $(out_base)/.dist \ $(out_base)/.clean ifdef %interactive% -.PHONY: test clean +.PHONY: test dist clean -test: $(out_base)/.test +test: $(out_base)/.test +dist: $(out_base)/.dist clean: $(out_base)/.clean endif +# Make sure the distribution prefix is set if the goal is dist. +# +ifneq ($(filter $(MAKECMDGOALS),dist),) +ifeq ($(dist_prefix),) +$(error dist_prefix is not set) +endif +endif + # If we don't have dependency auto-generation then we need to manually # make sure that ODB files are generated before C++ file are compiler. # To do this we make the object files ($2) depend in order-only on |