[asterisk-dev] Asterisk module spanning multiple file

Kevin P. Fleming kpfleming at digium.com
Thu Aug 18 07:07:18 CDT 2011


On 08/18/2011 05:29 AM, Olle E. Johansson wrote:
>
> 18 aug 2011 kl. 12:19 skrev Jim Boykin:
>
>> Can someone help me on how to compile Asterisk module spanning
>> multiple files? Default makefile only supports single source file per
>> module.
>>
> Look at chan_iax2.so - it has been multiple files for ages. Now chan_sip finally also is divided, so there are many examples.

This is correct; the 'automatic' Makefile rules can't help you build a 
module from multiple source files, for what should be obvious reasons: 
they can't guess what file names you are going to use for your module 
source :-)

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list