-
- Downloads
Put into Makefile.moddir_rules the common instructions used to
generate loadable and embedded module lists. Individual Makefiles now are a lot simpler, possibly as simple as this: -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps MODULE_PREFIX=cdr_ all: _all include $(ASTTOPDIR)/Makefile.moddir_rules and also more flexible because in a single directory we can combine various types of modules (app_, cdr_, func_, ... ) by simply listing them in the MODULE_PREFIX variable. The individual Makefiles can also create list of modules to be excluded by listing them in the variablel MODULE_EXCLUDE (see an example in channels/Makefile). With this change it becomes trivial to integrate a directory with locally created/modified sources into the main build. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- Makefile.moddir_rules 35 additions, 0 deletionsMakefile.moddir_rules
- apps/Makefile 3 additions, 9 deletionsapps/Makefile
- cdr/Makefile 1 addition, 9 deletionscdr/Makefile
- channels/Makefile 4 additions, 12 deletionschannels/Makefile
- codecs/Makefile 1 addition, 9 deletionscodecs/Makefile
- formats/Makefile 1 addition, 9 deletionsformats/Makefile
- funcs/Makefile 1 addition, 9 deletionsfuncs/Makefile
- pbx/Makefile 1 addition, 9 deletionspbx/Makefile
- res/Makefile 1 addition, 9 deletionsres/Makefile
Loading
Please register or sign in to comment