[asterisk-dev] Link multiple c file
Chandrakant Solanki
solanki.chandrakant at gmail.com
Tue Aug 27 01:46:21 CDT 2013
Thanks
On Mon, Aug 26, 2013 at 7:16 PM, Mark Michelson <mmichelson at digium.com>wrote:
> On 08/24/2013 05:22 AM, Chandrakant Solanki wrote:
>
> Hi All,
>
> I am using asterisk 1.8.13.0.
>
> I have created one module say app_mytest.c, it has 2 other C files and H
> file.
>
> Question is, I would like to link that 2 C and H file with app_mytest.c
> during compilation.
>
> Can anyone have idea?
>
>
> 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.
>
> Good luck!
> Mark Michelson
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
--
Regards,
Chandrakant Solanki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130827/3d28c4f0/attachment.htm>
More information about the asterisk-dev
mailing list