aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-17 19:32:36 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-17 19:32:36 +0400
commit9b8490144b18f8e33854f4b70df768b5ea7819f1 (patch)
treedb018aa3dcbe47133daf1ab0695e6b0032c96b03 /rules
parent1bf822ad2151ad81e6da1e8057a64bb2f252baab (diff)
downloadcibs-9b8490144b18f8e33854f4b70df768b5ea7819f1.tar.gz
Include guards
Diffstat (limited to 'rules')
-rw-r--r--rules/32.mk6
-rw-r--r--rules/64.mk5
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/32.mk b/rules/32.mk
index af1cf33..a105f9c 100644
--- a/rules/32.mk
+++ b/rules/32.mk
@@ -21,9 +21,15 @@
# Copyright (C) 2012, Nexenta Systems, Inc. All rights reserved.
#
+ifeq (,$(__32_mk))
build-stamp : build-32-stamp
configure-stamp : configure-32-stamp
install-stamp : install-32-stamp
%-32-stamp: bits = 32
+
+__32_mk := included
+
+endif
+
diff --git a/rules/64.mk b/rules/64.mk
index 0f05a1d..580fa30 100644
--- a/rules/64.mk
+++ b/rules/64.mk
@@ -21,9 +21,14 @@
# Copyright (C) 2012, Nexenta Systems, Inc. All rights reserved.
#
+ifeq (,$(__64_mk))
build-stamp : build-64-stamp
configure-stamp : configure-64-stamp
install-stamp : install-64-stamp
%-64-stamp: bits = 64
+
+__64_mk := included
+
+endif