[Serdev] New make support: group_include in make

Greger V. Teigre greger at teigre.com
Sat Dec 9 19:50:14 UTC 2006


I have added support for group_include in make according to SER-177. I 
have followed Bogdan's naming suggestion and (after hearing no more 
objections ;-) included both stable and experimental as status groups.
Each group can thus have one of the following different status: 
standard, standard-dep, stable, experimental.
Below is the explanation from the make file and shows how the modules 
are currently defined.
Could you please review and give feedback on whether modules should be 
in other groups?

The new support is backwards compatibility (by leaving out group_include).

I have also created a new target print-modules that can be used to print 
out the resultant include_modules and exclude_modules, ex:
make group_include="standard" include_modules="acc_db" print-modules

Please refer to INSTALL file for more info on using the new 
group_include.  Please note also that once the status of the modules 
have been set in each group, I will update the module status found in 
the online module documentation http://iptel.org/views/moduledocs and 
that after that any changes to the groups found in Makefile should also 
be followed by an update of the status on
g-)

# Modules in this group are considered a standard part of SER (due to 
widespread usage)
# but they have no dependencies (note that some of these interplay with 
external systems.
# However, they don't have compile or link dependencies)
module_group_standard=acc_syslog auth avp avpops ctl dispatcher 
diversion enum \
                                eval exec fifo flatstore gflags maxfwd 
mediaproxy \
                                nathelper options pdt permissions pike 
print ratelimit \
                                registrar rr sanity sl textops timer tm 
uac unixsock uri \
                                usrloc xlog

# Modules in this group are considered a standard part of SER (due to 
widespread usage)
# but they have dependencies that most be satisfied for compilation
# acc_radius, auth_radius, avp_radius, uri_radius => radiusclient-ng
# acc_db, auth_db, avp_db, db_ops, domain, lcr, msilo, mysql, dialog, 
postgres, speeddial
# uri_db
#      => mysql server, postgres server or other database back-end (ex. 
mysql-devel)
# pa, xmlrpc => libxml2
# rls => pa
#
# NOTE! All presence modules (dialog, pa, presence_b2b, rls, xcap) have 
been included in this
# group due to interdependencies
module_group_standard_dep=acc_db acc_radius auth_db auth_radius avp_db 
avp_radius \
                                db_ops domain lcr msilo mysql dialog pa 
postgres \
                                presence_b2b rls speeddial uri_db xmlrpc

# Modules in this group satisfy specific or niche applications, but are 
considered
# stable for production use. They may or may not have dependencies
# cpl-c => libxml2
# jabber => expat (library)
# osp => OSP Toolkit (sipfoundry)
# sms => none (external modem)
module_group_stable=cpl-c dbtext jabber osp sms

# Modules in this group are either not complete, untested, or without 
enough reports
# of usage to allow the module into the stable group. They may or may 
not have dependencies
module_group_experimental=tls




More information about the Serdev mailing list