Date: Thu, 18 Jan 2001 22:07:04 +0100 From: "Georg-W. Koltermann" <gwk@sgi.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/24438: sys.mk is lacking single suffix rules for C++ Message-ID: <3A675AF7.11C46322@sgi.com>
next in thread | raw e-mail | index | archive | help
>Number: 24438 >Category: bin >Synopsis: sys.mk is lacking single suffix rules for C++ >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 18 13:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Georg-W. Koltermann >Release: FreeBSD 4.2-RELEASE i386 >Organization: SGI >Environment: >Description: /usr/share/mk/sys.mk contains only double suffix rules for C++ sources: .cc.o .cpp.o .cxx.o .C.o. The single suffix rules .cc .cpp .cxx .C are missing. See fix section for a suitable patch. >How-To-Repeat: Create a C++ source file, e.g. sample.C, without a Makefile. Type "make sample". Make barfs "make: don't know how to make sample. Stop". >Fix: --- sys.mk.old Mon Nov 20 13:01:21 2000 +++ sys.mk Thu Jan 18 21:55:20 2001 @@ -181,6 +181,9 @@ .cc.o .cpp.o .cxx.o .C.o: ${CXX} ${CXXFLAGS} -c ${.IMPSRC} +.cc .cpp .cxx .C: + ${CXX} ${CXXFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} -o ${.TARGET} + .m.o: ${OBJC} ${OBJCFLAGS} -c ${.IMPSRC} >Release-Note: >Audit-Trail: >Unformatted: X-send-pr-version: 3.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A675AF7.11C46322>