From owner-freebsd-hackers Fri Jan 30 11:57:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05579 for hackers-outgoing; Fri, 30 Jan 1998 11:57:59 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05560 for ; Fri, 30 Jan 1998 11:57:40 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA20754; Fri, 30 Jan 1998 12:57:39 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA17366; Fri, 30 Jan 1998 12:57:38 -0700 Date: Fri, 30 Jan 1998 12:57:38 -0700 Message-Id: <199801301957.MAA17366@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Warner Losh Cc: hackers@FreeBSD.ORG Subject: Re: Recompiling just kmem programs? In-Reply-To: <199801301658.JAA26173@harmony.village.org> References: <199801301658.JAA26173@harmony.village.org> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" > Is there some easy way to recompile just those programs that grovel > around in the kernel's data structures w/o a make world? # cd /usr/src/lib/libkvm # make obj && make depend && make && make install # /usr/src/bin # fgrep lkvm */Makefile ps/Makefile:LDADD= -lm -lkvm # cd ps # make obj && make depend && make && make install # cd ../sbin # fgrep lkvm */Makefile ccdconfig/Makefile:LDADD+= -lkvm dmesg/Makefile:LDADD= -lkvm dset/Makefile:LDADD= -lkvm # cd ccdconfig # make obj && make depend && make && make install # cd dmesg # make obj && make depend && make && make install # cd dset # make obj && make depend && make && make install Tada, after you reboot the stuff using the shared libkvm files will be updated, and the static stuff is updated already. Nate