Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib test for whether USETOOLS is defined before asking its v...



details:   https://anonhg.NetBSD.org/src/rev/c4f4c4aaa285
branches:  trunk
changeset: 515881:c4f4c4aaa285
user:      perry <perry%NetBSD.org@localhost>
date:      Sat Oct 06 21:49:32 2001 +0000

description:
test for whether USETOOLS is defined before asking its value

diffstat:

 lib/libasn1/Makefile      |  4 ++--
 lib/libcom_err/Makefile   |  8 ++++----
 lib/libhdb/Makefile       |  4 ++--
 lib/libkadm/Makefile      |  4 ++--
 lib/libkadm5clnt/Makefile |  4 ++--
 lib/libkadm5srv/Makefile  |  4 ++--
 lib/libkrb/Makefile       |  4 ++--
 lib/libkrb5/Makefile      |  4 ++--
 8 files changed, 18 insertions(+), 18 deletions(-)

diffs (158 lines):

diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libasn1/Makefile
--- a/lib/libasn1/Makefile      Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libasn1/Makefile      Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/10/04 16:11:24 tv Exp $
+# $NetBSD: Makefile,v 1.13 2001/10/06 21:51:53 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -10,7 +10,7 @@
 
 LIB=   asn1
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libcom_err/Makefile
--- a/lib/libcom_err/Makefile   Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libcom_err/Makefile   Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/10/04 16:11:25 tv Exp $
+# $NetBSD: Makefile,v 1.7 2001/10/06 21:49:32 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -13,7 +13,7 @@
 
 INCS=  com_err.h com_right.h
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 .PHONY: compile_et
 
 includes: compile_et
@@ -31,11 +31,11 @@
         -I${DIST}/heimdal/lib/roken            \
         -DHAVE_CONFIG_H
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 SUBDIR=        compile_et
 .endif
 
 .include <bsd.lib.mk>
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 .include <bsd.subdir.mk>
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libhdb/Makefile
--- a/lib/libhdb/Makefile       Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libhdb/Makefile       Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/10/04 16:11:25 tv Exp $
+# $NetBSD: Makefile,v 1.10 2001/10/06 21:55:57 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -10,7 +10,7 @@
 
 LIB=   hdb
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libkadm/Makefile
--- a/lib/libkadm/Makefile      Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libkadm/Makefile      Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/10/04 16:11:25 tv Exp $
+# $NetBSD: Makefile,v 1.7 2001/10/06 21:55:58 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -10,7 +10,7 @@
 
 LIB=   kadm
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libkadm5clnt/Makefile
--- a/lib/libkadm5clnt/Makefile Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libkadm5clnt/Makefile Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/10/04 16:11:25 tv Exp $
+# $NetBSD: Makefile,v 1.12 2001/10/06 21:55:58 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -10,7 +10,7 @@
 
 LIB=   kadm5clnt
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libkadm5srv/Makefile
--- a/lib/libkadm5srv/Makefile  Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libkadm5srv/Makefile  Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/10/04 16:11:26 tv Exp $
+# $NetBSD: Makefile,v 1.12 2001/10/06 21:55:58 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -12,7 +12,7 @@
 
 LIB=   kadm5srv
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libkrb/Makefile
--- a/lib/libkrb/Makefile       Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libkrb/Makefile       Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/10/04 16:11:26 tv Exp $
+# $NetBSD: Makefile,v 1.14 2001/10/06 21:55:59 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -25,7 +25,7 @@
 
 LIB=   krb
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif
diff -r 0a1a9d6b0933 -r c4f4c4aaa285 lib/libkrb5/Makefile
--- a/lib/libkrb5/Makefile      Sat Oct 06 20:55:42 2001 +0000
+++ b/lib/libkrb5/Makefile      Sat Oct 06 21:49:32 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/10/04 16:11:27 tv Exp $
+# $NetBSD: Makefile,v 1.16 2001/10/06 21:52:46 perry Exp $
 
 .include <bsd.own.mk>
 
@@ -11,7 +11,7 @@
 
 LIB=   krb5
 
-.if ${USETOOLS} == "no"
+.if !defined(USETOOLS) || (${USETOOLS} == "no")
 COMPILEETOBJ!= cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
 COMPILE_ET=    ${COMPILEETOBJ}/compile_et
 .endif



Home | Main Index | Thread Index | Old Index