From owner-freebsd-current@FreeBSD.ORG Mon Jun 2 20:44:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 510F137B401 for ; Mon, 2 Jun 2003 20:44:48 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B96943F3F for ; Mon, 2 Jun 2003 20:44:47 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id DA4FE41D9; Tue, 3 Jun 2003 12:44:45 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 3AE5241D4; Tue, 3 Jun 2003 12:44:45 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id EA2AA1E4620; Tue, 3 Jun 2003 12:44:44 +0900 (JST) Date: Tue, 03 Jun 2003 12:44:44 +0900 Message-ID: <7mel2bddub.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Bruce Evans In-Reply-To: <20030602194516.Q15091@gamplex.bde.org> References: <7mvfvpcb8s.wl@black.imgsrc.co.jp> <20030602194516.Q15091@gamplex.bde.org> User-Agent: Wanderlust/2.10.0 (Venus) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.4 Emacs/21.2 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 cc: Current Subject: Re: Remove absolute symlink in $MAKEOBJDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 03:44:48 -0000 At Mon, 2 Jun 2003 10:10:26 +0000 (UTC), Bruce Evans wrote: > As marcel pointed out, there are technical reasons for not using cp. > Use cat. OK, thanks! > > (2) Use correct dependency in sys/boot/i386/kgzldr. > > This is too hackish for me. Try using the same method as for lib/csu. > I think you nmainly care about "make install" building things. This is > from longstanding brokenness of installation of man pages which was > cloned to brokenness of installation of FILES. Hmm, like this? I don't know which owner and mode should be used at realinstall stage. Index: Makefile =================================================================== RCS file: /home/ncvs/src/sys/boot/i386/kgzldr/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 30 Sep 2002 20:37:57 -0000 1.12 +++ Makefile 3 Jun 2003 03:41:02 -0000 @@ -1,6 +1,5 @@ # $FreeBSD: src/sys/boot/i386/kgzldr/Makefile,v 1.12 2002/09/30 20:37:57 peter Exp $ -FILES= kgzldr.o SRCS= start.s boot.c inflate.c lib.c crt.s sio.s OBJS= ${SRCS:N*.h:R:S/$/.o/g} CFLAGS= -ffreestanding @@ -15,7 +14,13 @@ BOOT_COMCONSOLE_PORT?= 0x3f8 AFLAGS+=--defsym SIO_PRT=${BOOT_COMCONSOLE_PORT} +all: ${OBJS} kgzldr.o + kgzldr.o: ${OBJS} ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} + +realinstall: + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${LIBMODE} \ + kgzldr.o ${DESTDIR}${BINDIR} .include -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project