fix the build of eagi-test on Solaris in combination with astmm
[asterisk/asterisk.git] / agi / Makefile
index 5f2a6af..e245877 100644 (file)
@@ -11,9 +11,9 @@
 # the GNU General Public License
 #
 
-AGIS=agi-test.agi eagi-test eagi-sphinx-test
+AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
 
-CFLAGS+=
+CFLAGS+=-DNO_AST_MM
 
 LIBS=
 ifeq ($(OSARCH),SunOS)
@@ -39,8 +39,11 @@ eagi-test: eagi-test.o
 eagi-sphinx-test: eagi-sphinx-test.o
        $(CC) $(CFLAGS) -o eagi-sphinx-test eagi-sphinx-test.o $(LIBS) 
 
-clean:
-       rm -f *.so *.o look .depend eagi-test eagi-sphinx-test
+clean-depend:
+       rm -f .depend
+
+clean: clean-depend
+       rm -f *.so *.o look eagi-test eagi-sphinx-test
 
 %.so : %.o
        $(CC) -shared -Xlinker -x -o $@ $<