diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-15 19:21:27 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-15 19:21:27 +0000 |
commit | e897b4499e9719aea235ebe6e67c18183e043dea (patch) | |
tree | 85730165ce45a65a5e7bfcc9fceab9626317e49d /res/Makefile | |
parent | 46d935c8ca1dd16a67f246814417c3bf1ae2ebb6 (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: http://svn.digium.com/svn/asterisk/trunk@79595 f38db490-d61c-443f-a65b-d21fe96a405b
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 |