summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-04-11 07:13:29 +0000
committerharti <harti@FreeBSD.org>2005-04-11 07:13:29 +0000
commitf2968c80c994b77c5c1dafc45fce7be685d043e1 (patch)
tree6cbda5914e1a664ec7d1c34c6f166f1260ca969b
parent8d5bf26054b7fbc42bbdd9d4bd4783f024bfa398 (diff)
downloadFreeBSD-src-f2968c80c994b77c5c1dafc45fce7be685d043e1.zip
FreeBSD-src-f2968c80c994b77c5c1dafc45fce7be685d043e1.tar.gz
Make sure the only thing that follows .endif or .else is a comment.
-rw-r--r--share/mk/bsd.files.mk4
-rw-r--r--share/mk/bsd.incs.mk4
-rw-r--r--share/mk/bsd.init.mk2
-rw-r--r--share/mk/bsd.lib.mk6
-rw-r--r--share/mk/bsd.nls.mk2
-rw-r--r--share/mk/bsd.obj.mk4
-rw-r--r--share/mk/bsd.own.mk2
-rw-r--r--share/mk/bsd.prog.mk4
8 files changed, 14 insertions, 14 deletions
diff --git a/share/mk/bsd.files.mk b/share/mk/bsd.files.mk
index bf3a5df..240f958 100644
--- a/share/mk/bsd.files.mk
+++ b/share/mk/bsd.files.mk
@@ -60,10 +60,10 @@ _${group}INS: ${_${group}FILES}
.endif
.endif
-.endif defined(${group}) && !empty(${group})
+.endif # defined(${group}) && !empty(${group})
.endfor
-.endif !target(installfiles)
+.endif # !target(installfiles)
realinstall: installfiles
.ORDER: beforeinstall installfiles
diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk
index 615d8bb..f3b99e3 100644
--- a/share/mk/bsd.incs.mk
+++ b/share/mk/bsd.incs.mk
@@ -59,7 +59,7 @@ _${group}INS: ${_${group}INCS}
.endif
.endif
-.endif defined(${group}) && !empty(${group})
+.endif # defined(${group}) && !empty(${group})
.endfor
.if defined(INCSLINKS) && !empty(INCSLINKS)
@@ -74,7 +74,7 @@ installincludes:
ln -fs $$l $$t; \
done; true
.endif
-.endif !target(installincludes)
+.endif # !target(installincludes)
realinstall: installincludes
.ORDER: beforeinstall installincludes
diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk
index 13665c0..72a6de0 100644
--- a/share/mk/bsd.init.mk
+++ b/share/mk/bsd.init.mk
@@ -12,4 +12,4 @@ __<bsd.init.mk>__:
.include <bsd.compat.mk>
.include <bsd.own.mk>
.MAIN: all
-.endif !target(__<bsd.init.mk>__)
+.endif # !target(__<bsd.init.mk>__)
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 1c33c5d..3bddd7e 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -166,7 +166,7 @@ ${LINTLIB}: ${LINTOBJS}
${LINT} ${LINTLIBFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
.endif
-.endif !defined(INTERNALLIB)
+.endif # !defined(INTERNALLIB)
all: ${_LIBS}
@@ -240,7 +240,7 @@ _libinstall:
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} ${LINTLIB} ${DESTDIR}${LINTLIBDIR}
.endif
-.endif !defined(INTERNALLIB)
+.endif # !defined(INTERNALLIB)
.include <bsd.nls.mk>
.include <bsd.files.mk>
@@ -308,7 +308,7 @@ clean:
.if defined(WANT_LINT) && defined(LIB) && !empty(LIB)
rm -f ${LINTOBJS}
.endif
-.endif !defined(INTERNALLIB)
+.endif # !defined(INTERNALLIB)
.if defined(_LIBS) && !empty(_LIBS)
rm -f ${_LIBS}
.endif
diff --git a/share/mk/bsd.nls.mk b/share/mk/bsd.nls.mk
index f6fa3db..237debe 100644
--- a/share/mk/bsd.nls.mk
+++ b/share/mk/bsd.nls.mk
@@ -73,4 +73,4 @@ SYMLINKS+= ../${file:R}/${NLSNAME}.cat ${NLSDIR}/${dst}/${NLSNAME}.cat
.endfor
.endfor
-.endif defined(NLS) && !empty(NLS) && !defined(NO_NLS)
+.endif # defined(NLS) && !empty(NLS) && !defined(NO_NLS)
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk
index aacedec..bd8f2aa 100644
--- a/share/mk/bsd.obj.mk
+++ b/share/mk/bsd.obj.mk
@@ -98,7 +98,7 @@ objlink:
echo "No ${CANONICALOBJDIR} to link to - do a make obj."; \
fi
.endif
-.endif !defined(NO_OBJ)
+.endif # !defined(NO_OBJ)
#
# where would that obj directory be?
@@ -130,4 +130,4 @@ cleandir: cleanobj
.include <bsd.subdir.mk>
-.endif !target(__<bsd.obj.mk>__)
+.endif # !target(__<bsd.obj.mk>__)
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index e2293fd..ac03fda 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -165,4 +165,4 @@ STRIP?= -s
COMPRESS_CMD?= gzip -cn
COMPRESS_EXT?= .gz
-.endif !target(__<bsd.own.mk>__)
+.endif # !target(__<bsd.own.mk>__)
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index f94c00c..3b4d092 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -48,7 +48,7 @@ ${PROG}: ${OBJS}
${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
.endif
-.else !defined(SRCS)
+.else # !defined(SRCS)
.if !target(${PROG})
.if defined(PROG_CXX)
@@ -140,7 +140,7 @@ _proginstall:
${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}
.endif
.endif
-.endif !target(realinstall)
+.endif # !target(realinstall)
.if defined(SCRIPTS) && !empty(SCRIPTS)
realinstall: _scriptsinstall
OpenPOWER on IntegriCloud