[asterisk-commits] mjordan: trunk r423237 - /trunk/pbx/Makefile
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 16 17:42:12 CDT 2014
Author: mjordan
Date: Tue Sep 16 17:42:09 2014
New Revision: 423237
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=423237
Log:
Add some pbx python stuff
Modified:
trunk/pbx/Makefile
Modified: trunk/pbx/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/pbx/Makefile?view=diff&rev=423237&r1=423236&r2=423237
==============================================================================
--- trunk/pbx/Makefile (original)
+++ trunk/pbx/Makefile Tue Sep 16 17:42:09 2014
@@ -23,11 +23,19 @@
LIBS+= -lres_ael_share.so -lres_monitor.so
endif
+LIBS+=-L/usr/lib/python2.7/config -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
+
clean::
rm -f ael/*.o ael/*.i
+ rm -f python/*.o python/*.i
dundi-parser.o: dundi-parser.h
dundi-parser.o: _ASTCFLAGS+=-I.
+
+$(if $(filter pbx_python,$(EMBEDDED_MODS)),modules.link,pbx_python.so): $(subst .c,.o,$(wildcard python/*.c))
+$(subst .c,.o,$(wildcard python/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,pbx_python)
+
+pbx_python.o: _ASTCFLAGS+=-I/usr/include/python2.7 -I/usr/include/python2.7 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security
pbx_gtkconsole.o: _ASTCFLAGS+=-Wno-strict-prototypes
More information about the asterisk-commits
mailing list