diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-25 20:39:16 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-29 14:07:29 +0100 |
commit | 38254b875552b739b7a38accec74446e115166a2 (patch) | |
tree | 412d14a3a1899d6ebf5b2da37bbc79f909cfff99 /source4 | |
parent | 27a0b3210f4262ddaf43ec1627c81a475121cade (diff) | |
download | samba-38254b875552b739b7a38accec74446e115166a2.tar.gz samba-38254b875552b739b7a38accec74446e115166a2.tar.bz2 samba-38254b875552b739b7a38accec74446e115166a2.zip |
Remove obsolete comment.
(This used to be commit 666311dccf19293316b0335c5418446c66e76101)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rules.mk | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/source4/rules.mk b/source4/rules.mk index 62600e8d00..b644a6a52a 100644 --- a/source4/rules.mk +++ b/source4/rules.mk @@ -10,14 +10,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) `$(PERL) $(srcdir)/script/cflags.pl $@` \ $(PICFLAG) $(CPPLAGS) -c $< -o $@ @@ -134,9 +126,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 $@` |