Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 76952 invoked from network); 20 Nov 2005 00:45:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Nov 2005 00:45:04 -0000 Received: (qmail 69257 invoked by uid 500); 20 Nov 2005 00:45:04 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 69247 invoked by uid 500); 20 Nov 2005 00:45:03 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 69236 invoked by uid 500); 20 Nov 2005 00:45:03 -0000 Delivered-To: apmail-incubator-stdcxx-cvs@incubator.apache.org Received: (qmail 69232 invoked by uid 99); 20 Nov 2005 00:45:03 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 19 Nov 2005 16:45:03 -0800 Received: (qmail 76903 invoked by uid 65534); 20 Nov 2005 00:44:43 -0000 Message-ID: <20051120004443.76902.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r345698 - /incubator/stdcxx/trunk/etc/config/makefile.rules Date: Sun, 20 Nov 2005 00:44:42 -0000 To: stdcxx-cvs@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Sat Nov 19 16:44:40 2005 New Revision: 345698 URL: http://svn.apache.org/viewcvs?rev=345698&view=rev Log: 2005-11-19 Martin Sebor * makefile.rules: Disabled implicit rules for .c and .cc files in order to prevent such files under the include/ directory (e.g., istream.c and istream) form being compiled due to being listed as dependencies of .cpp files. Modified: incubator/stdcxx/trunk/etc/config/makefile.rules Modified: incubator/stdcxx/trunk/etc/config/makefile.rules URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/makefile.rules?rev=345698&r1=345697&r2=345698&view=diff ============================================================================== --- incubator/stdcxx/trunk/etc/config/makefile.rules (original) +++ incubator/stdcxx/trunk/etc/config/makefile.rules Sat Nov 19 16:44:40 2005 @@ -204,6 +204,17 @@ endif # neq ($(DEPENDFLAGS),) +# disable implicit rules from trying to compile .c and .cc files +# under the include/ directory (e.g., istream.c to istream) due +# to being listed as dependencies of .cpp files +%: %.c + +%.o: %.c + +%: %.cc + +%.o: %.cc + # force the regeneration of all dependencies by removing them dependclean: rm -f $(DEPENDDIR)/*.d; @@ -224,4 +235,5 @@ run run_all runall # override the default set of suffixes with our own -.SUFFIXES: .a .cpp .d .o .$(AS_EXT) +.SUFFIXES: .a .c .cc .cpp .d .o .$(AS_EXT) +