diff options
author | Steve Murphy <murf@digium.com> | 2007-08-15 19:21:27 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-08-15 19:21:27 +0000 |
commit | 9836efb5fb8f1bf750524f9dc99febf77597470b (patch) | |
tree | 85730165ce45a65a5e7bfcc9fceab9626317e49d /res/Makefile | |
parent | 5fbd7ebd248cff5905e26bb11a4a713c1287864d (diff) |
This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/Makefile')
-rw-r--r-- | res/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/res/Makefile b/res/Makefile index f2d50ebab..97b77fe43 100644 --- a/res/Makefile +++ b/res/Makefile @@ -25,7 +25,24 @@ all: _all include $(ASTTOPDIR)/Makefile.moddir_rules +ael/ael_lex.o: ael/ael_lex.c ../include/asterisk/ael_structs.h ael/ael.tab.h +ael/ael_lex.o: ASTCFLAGS+=-I. -Iael + +ael/ael.tab.o: ael/ael.tab.c ael/ael.tab.h ../include/asterisk/ael_structs.h +ael/ael.tab.o: ASTCFLAGS+=-I. -Iael -DYYENABLE_NLS=0 + $(if $(filter res_snmp,$(EMBEDDED_MODS)),modules.link,res_snmp.so): snmp/agent.o +$(if $(filter res_ael_share,$(EMBEDDED_MODS)),modules.link,res_ael_share.so): ael/ael_lex.o ael/ael.tab.o ael/pval.o + +ael/ael_lex.c: + (cd ael; flex ael.flex; sed -i -e "/begin standard C headers/i#include \"asterisk.h\"" ael_lex.c) + +ael/ael.tab.c ael/ael.tab.h: + (cd ael; bison -v -d ael.y) + +ael/pval.o: ael/pval.c + clean:: rm -f snmp/*.o + rm -f ael*.o |