summaryrefslogtreecommitdiff
path: root/buildlib/defaults.mak
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:55:28 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:55:28 +0000
commit70fbac25ae36f62b99a9df1a4a7742a47a8d91ec (patch)
tree71bb8513290bac9868c0d17dd06370d805a25f4e /buildlib/defaults.mak
parent101030ab14d60497fcba5b1c2866d52fc5ac4780 (diff)
Shared libaries only for linux
Author: jgg Date: 1999-12-10 06:39:46 GMT Shared libaries only for linux
Diffstat (limited to 'buildlib/defaults.mak')
-rw-r--r--buildlib/defaults.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak
index 17a6b8ac8..47f297cdf 100644
--- a/buildlib/defaults.mak
+++ b/buildlib/defaults.mak
@@ -48,9 +48,11 @@ ifeq ($(words $(BUILDX)),0)
ifeq ($(words $(wildcard *)),0)
error-all/environment.mak:
echo You have a broken version of GNU Make - upgrade.
+ error-out-and-die
else
error-all/environment.mak:
echo Can't find the build directory in $(BUILD_POSSIBLE) -- use BUILD=
+ error-out-and-die
endif
# Force include below to come to the error target
@@ -147,6 +149,7 @@ else
endif
endif
+# Automatic -j support
ifeq ($(NUM_PROCS),1)
PARALLEL_RUN=no
endif
@@ -154,8 +157,8 @@ endif
ifndef PARALLEL_RUN
PARALLEL_RUN=yes
.EXPORT: PARALLEL_RUN
+ # handle recursion
ifneq ($(NUM_PROCS),)
-# handle recursion
MAKEFLAGS += -j $(NUM_PROCS)
endif
endif