<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/24/2013 05:22 AM, Chandrakant
Solanki wrote:<br>
</div>
<blockquote
cite="mid:CAKnB+B2qDnyF5NA=q5qXBzFruG6DgA_xLXpLvD1g9=Ra0gRc1A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div><span style="font-family:verdana,sans-serif">Hi All,<br>
<br>
I am using asterisk 1.8.13.0.<br>
<br>
</span></div>
<span style="font-family:verdana,sans-serif">I have created
one module say app_mytest.c, it has 2 other C files and H
file. <br>
<br>
</span></div>
<span style="font-family:verdana,sans-serif">Question is, I
would like to link that 2 C and H file with app_mytest.c
during compilation.<br>
<br>
</span></div>
<span style="font-family:verdana,sans-serif">Can anyone have
idea?<br clear="all">
</span>
<div>
<div>
<div>
<div>
<div><span style="font-family:verdana,sans-serif"></span><br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<tt>There are some modules in Asterisk that do this. In Asterisk
1.8, chan_sip.so is created from chan_sip.c as well as several
other .c and .h files in the channels/sip directory. Look at
channels/Makefile and grep for "chan_sip" in there. That should
hopefully point you in the right direction for how to do what
you're trying to do.<br>
<br>
Good luck!<br>
Mark Michelson<br>
</tt>
</body>
</html>