summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-25 20:39:16 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-25 20:39:16 +0100
commitd7b1bf7718704709205a919c38eecaa011eef2e6 (patch)
treef96aba20f5e32d3f5b55acdbd3980a6d4063ac6b
parentf5be3c3184119ed8370aedc3de2cb4aed21e38cc (diff)
downloadsamba-d7b1bf7718704709205a919c38eecaa011eef2e6.tar.gz
samba-d7b1bf7718704709205a919c38eecaa011eef2e6.tar.bz2
samba-d7b1bf7718704709205a919c38eecaa011eef2e6.zip
Remove obsolete comment.
(This used to be commit 5dda8b1eba628c40f0ddad93b73c0a749ac3e908)
-rw-r--r--source4/rules.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/source4/rules.mk b/source4/rules.mk
index 8707fc3825..5f91f8132e 100644
--- a/source4/rules.mk
+++ b/source4/rules.mk
@@ -8,14 +8,6 @@ HDEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ \
PCHDEPENDS = $(CC) -M -MG -MT include/includes.h.gch -MT $@ \
$(CFLAGS) $(CPPFLAGS) $< -o $@
-# $< is broken in older BSD versions:
-# when $@ is foo/bar.o, $< could be torture/foo/bar.c
-# if it also exists. So better use $* which is foo/bar
-# and append .c manually to get foo/bar.c
-#
-# If we have GNU Make, it is safe to use $<, which also lets
-# building with $srcdir != $builddir work.
-
# Run a static analysis checker
CHECK = $(CC_CHECKER) $(CFLAGS) $(PICFLAG) $(CPPLAGS) -c $< -o $@
@@ -128,9 +120,11 @@ include/includes.d: include/includes.h
@-mkdir -p `dirname $@`
@$(COMPILE) && exit 0 ; \
echo "The following command failed:" 1>&2;\
- echo "$(COMPILE)" 1>&2;\
$(COMPILE) >/dev/null 2>&1
+
+# echo "$(COMPILE)" 1>&2;\
+
.c.ho:
@echo "Compiling $< with host compiler"
@-mkdir -p `dirname $@`