diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-30 16:40:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-06-30 16:40:38 +0000 |
commit | e9d15cbea7a98184521c851500176da7aa424012 (patch) | |
tree | d3d6aa7ea86d11ecaa6e88efbc46a5dde1c63ea5 /addons/Makefile | |
parent | b85bdd32a783a8f07004d41db8a696645685a331 (diff) |
Move Asterisk-addons modules into the main Asterisk source tree.
Someone asked yesterday, "is there a good reason why we can't just put these
modules in Asterisk?". After a brief discussion, as long as the modules are
clearly set aside in their own directory and not enabled by default, it is
perfectly fine.
For more information about why a module goes in addons, see README-addons.txt.
chan_ooh323 does not currently compile as it is behind some trunk API updates.
However, it will not build by default, so it should be okay for now.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons/Makefile')
-rw-r--r-- | addons/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/addons/Makefile b/addons/Makefile new file mode 100644 index 000000000..c93759702 --- /dev/null +++ b/addons/Makefile @@ -0,0 +1,43 @@ +# +# Asterisk -- A telephony toolkit for Linux. +# +# Makefile for Add-on Modules +# +# Copyright (C) 2009, Digium, Inc. +# +# This program is free software, distributed under the terms of +# the GNU General Public License +# + +-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps + +MODULE_PREFIX=app bridge cdr cel chan codec format func pbx res test +MENUSELECT_CATEGORY=Addons +MENUSELECT_DESCRIPTION=Add-ons (See README-addons.txt) + +H323OBJS:=ooCmdChannel.o ooLogChan.o ooUtils.o ooGkClient.o context.o \ + ooDateTime.o decode.o dlist.o encode.o errmgmt.o \ + memheap.o ootrace.o oochannels.o ooh245.o ooports.o \ + ooq931.o ooCapability.o ooSocket.o perutil.o eventHandler.o \ + ooCalls.o ooStackCmds.o ooh323.o ooh323ep.o printHandler.o \ + rtctype.o ooTimer.o h323/H235-SECURITY-MESSAGESDec.o \ + h323/H235-SECURITY-MESSAGESEnc.o h323/H323-MESSAGES.o h323/H323-MESSAGESDec.o \ + h323/H323-MESSAGESEnc.o h323/MULTIMEDIA-SYSTEM-CONTROL.o \ + h323/MULTIMEDIA-SYSTEM-CONTROLDec.o h323/MULTIMEDIA-SYSTEM-CONTROLEnc.o + +H323CFLAGS:=-Iooh323c/src -Iooh323c/src/h323 + +all: _all + +include $(ASTTOPDIR)/Makefile.moddir_rules + +clean:: + $(MAKE) -C mp3 clean + rm -f $(addprefix ooh323c/src/,$(H323OBJS)) + +$(if $(filter format_mp3,$(EMBEDDED_MODS)),modules.link,format_mp3.so): mp3/common.o mp3/dct64_i386.o mp3/decode_ntom.o mp3/layer3.o mp3/tabinit.o mp3/interface.o + +chan_ooh323.o: ASTCFLAGS+=$(H323CFLAGS) + +$(if $(filter chan_ooh323,$(EMBEDDED_MODS)),modules.link,chan_ooh323.so): ASTCFLAGS+=$(H323CFLAGS) +$(if $(filter chan_ooh323,$(EMBEDDED_MODS)),modules.link,chan_ooh323.so): $(addprefix ooh323c/src/,$(H323OBJS)) chan_ooh323.o ooh323cDriver.o |