From owner-freebsd-questions Wed Sep 18 21:37:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6020037B401 for ; Wed, 18 Sep 2002 21:37:27 -0700 (PDT) Received: from web14612.mail.yahoo.com (web14612.mail.yahoo.com [216.136.173.219]) by mx1.FreeBSD.org (Postfix) with SMTP id 199CA43E3B for ; Wed, 18 Sep 2002 21:37:27 -0700 (PDT) (envelope-from shubha_mr@yahoo.com) Message-ID: <20020919043726.89576.qmail@web14612.mail.yahoo.com> Received: from [12.151.32.25] by web14612.mail.yahoo.com via HTTP; Thu, 19 Sep 2002 05:37:26 BST Date: Thu, 19 Sep 2002 05:37:26 +0100 (BST) From: =?iso-8859-1?q?shubha=20mr?= Subject: makefile silly question. To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have the driver source .c files under /usr/src/sys/dev/mydriver/. If I put the .h files(for eg: mydriver.h) also in the same directory,then while includign them in the .c files,I do #include.It complies fine when I make it in the directory /usr/src/sys/modules/mydriver. what I am looking for is a way by which I can include mydriver.h as #include "mydriver.h".I can do this by a way as fllows. 1)put mydriver.h in /usr/src/sys/modules/mydriver. Is there any other way of accomplishing the same without putting the source .h files in the /usr/src/sys/modules/mydirver ?.Ie is there a way by which I can specify the incude direcory in the makefile? Right now my makefile looks very similar to /usr/src/sys/modules/em or /usr/src/sys/modules/xl . Thaks in advance, lots of regards shubha __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message