diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:51:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-08-30 15:51:23 +0200 |
commit | 1692b3e82521e7d73a908f532eced90491e1eded (patch) | |
tree | c45272faba67485f3702395f43282a81a981cf5f /build | |
parent | 4452be925b749572f0e3edcb21e9af818647eb55 (diff) |
Support for automake and VC++ builds
Diffstat (limited to 'build')
-rw-r--r-- | build/bootstrap.make | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/build/bootstrap.make b/build/bootstrap.make index 9c7b03b..b3d350f 100644 --- a/build/bootstrap.make +++ b/build/bootstrap.make @@ -19,25 +19,33 @@ endif # Aliases # -.PHONY: $(out_base)/ \ - $(out_base)/.test \ - $(out_base)/.install \ +.PHONY: $(out_base)/ \ + $(out_base)/.test \ + $(out_base)/.dist \ $(out_base)/.clean ifdef %interactive% -.PHONY: test install clean +.PHONY: test dist clean -test: $(out_base)/.test -install: $(out_base)/.install -clean: $(out_base)/.clean +test: $(out_base)/.test +dist: $(out_base)/.dist +clean: $(out_base)/.clean -ifneq ($(filter $(.DEFAULT_GOAL),test install clean),) +ifneq ($(filter $(.DEFAULT_GOAL),test dist clean),) .DEFAULT_GOAL := endif 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 + # Don't include dependency info for certain targets. # define include-dep |