diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-09-14 10:23:49 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-09-14 10:23:49 +0400 |
commit | 99ca2484fa4e0e6076e53334e37e9219ef6490bc (patch) | |
tree | 32f7c972da761e8932c452bd3c36a66fe172f2d4 /rules/common.mk | |
parent | 53a4280791cfd9ef6975c495b53f2f8f4cf55b32 (diff) | |
download | cibs-99ca2484fa4e0e6076e53334e37e9219ef6490bc.tar.gz |
Use pre-configure-stamp
Diffstat (limited to 'rules/common.mk')
-rw-r--r-- | rules/common.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/rules/common.mk b/rules/common.mk index edd4917..291b488 100644 --- a/rules/common.mk +++ b/rules/common.mk @@ -24,13 +24,17 @@ # include guard: ifeq (,$(__common_mk)) +# Default: +bits := 32 + mach := $(shell uname -p) mach32 := mach64 := amd64 -workdir := $(CURDIR)/work -sourcedir := $(workdir)/source -destdir := $(workdir)/proto +workdir := $(CURDIR)/work +sourcedir := $(workdir)/source +destdir.32 := $(workdir)/proto +destdir.64 := $(workdir)/proto builddir.32 := $(workdir)/build/32 builddir.64 := $(workdir)/build/64 @@ -66,13 +70,14 @@ includedir = $(includedir.$(bits)) CC = $(CC.$(bits)) CXX = $(CXX.$(bits)) builddir = $(builddir.$(bits)) +destdir = $(destdir.$(bits)) # Common targets for internal usage. # Some modules (e. g. 32.mk, autotools.mk) add dependencies # to this, for example configure with autotools -unpack-stamp patch-stamp configure-stamp build-stamp install-stamp: +unpack-stamp patch-stamp pre-configure-stamp configure-stamp build-stamp install-stamp: touch $@ # Common target to use from command line |