From 6fb470a39ef8900b71634333b0a2227dc8b62799 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Aug 2010 14:52:12 +0200 Subject: Add support for creating other build systems (meta-building) Add support for automake, VC++ 9, and VC++ 10. Also add the Win32 and 'NULL' threading model implementations. --- build/bootstrap.make | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'build') diff --git a/build/bootstrap.make b/build/bootstrap.make index ff807a3..716390f 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 -- cgit v1.1