From owner-freebsd-hackers Fri Nov 3 6: 0:58 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id EDFEC37B4C5 for ; Fri, 3 Nov 2000 06:00:56 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 9E4C8A82B; Sat, 4 Nov 2000 01:00:50 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 97FA05464 for ; Sat, 4 Nov 2000 00:00:50 +1000 (EST) Date: Sat, 4 Nov 2000 00:00:50 +1000 (EST) From: andrew@ugh.net.au To: freebsd-hackers@freebsd.org Subject: bsd.prog.mk and /usr/local/include Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, What is the proper way to get the C compiler to look in ${PREFIX}/include for header files and ${PREFIX}/lib for libraries when using bsd.prog.mk? I can just use CFLAGS+= -I${PREFIX}/include -L${PREFIX}/lib but I suspect there may be a better way. grepping for -I in bsd.prog.mk didn't show up much however. /usr/share/mk/bsd.README refers to bsd.prog.mk (and others) including bsd.inc.mk. This doesn't seem to be the case anymore and in fact that file seems to nolonger exist. Thanks, Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message