Subject: Addition of files in Kernel
To: None <netbsd-help@netbsd.org>
From: Rajnish Madan <rajnishm@delhi.tcs.co.in>
List: netbsd-help
Date: 02/21/2001 13:51:48
This is a multi-part message in MIME format.

------=_NextPart_000_0651_01C09C0D.705B1860
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

I have added a new C source file and header file in the Kernel.
I have stored the same under /usr/src/sys/net directory.

I made the necessary changes in the Makefile to create the new
object. Everything is working fine. But I am unable to find the=20
way to make the dependency of the Header file for the creation
of new object.=20

I have to delete the old object whenever i make some changes to header =
file.

Pls suggest where i can set the dependency of the Header files.

Regards
Rajnish

------=_NextPart_000_0651_01C09C0D.705B1860
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D1>Hi,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>I have added a new C source file and =
header file in=20
the Kernel.</FONT></DIV>
<DIV><FONT face=3DArial size=3D1>I have stored the same under =
/usr/src/sys/net=20
directory.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>I made the necessary changes in the =
Makefile to=20
create the new</FONT></DIV>
<DIV><FONT face=3DArial size=3D1>object. Everything is working fine. But =
I am unable=20
to find the </FONT></DIV>
<DIV><FONT face=3DArial size=3D1>way to make the dependency of the =
Header file for=20
the creation</FONT></DIV>
<DIV><FONT face=3DArial size=3D1>of new object. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>I have to delete the old object =
whenever i make=20
some changes to header </FONT><FONT face=3DArial =
size=3D1>file.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>Pls suggest where i can set the =
dependency of the=20
Header files.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D1>Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D1>Rajnish</FONT></DIV></BODY></HTML>

------=_NextPart_000_0651_01C09C0D.705B1860--