Index: funcs/Makefile =================================================================== RCS file: /usr/cvsroot/asterisk/funcs/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- funcs/Makefile 30 Aug 2005 02:54:02 -0000 1.10 +++ funcs/Makefile 12 Sep 2005 21:49:34 -0000 @@ -11,7 +11,7 @@ # the GNU General Public License # -FUNCS=pbx_functions.so +FUNCS=pbx_functions.so func_odbc.so BUILTINS=func_md5.o \ func_math.o \ @@ -58,6 +58,9 @@ pbx_functions.so: pbx_functions.o #$(BUILTINS) $(CC) $(SOLINK) -o $@ $< + +func_odbc.so: func_odbc.o + $(CC) $(SOLINK) -lodbc -o $@ $< install: all for x in $(FUNCS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done