Add functions to map syslog facilities and priorities constants to strings.
[asterisk/asterisk.git] / agi / Makefile
index 4066cda..89bf7bb 100644 (file)
@@ -19,15 +19,26 @@ ifeq ($(OSARCH),SunOS)
   LIBS+=-lsocket -lnsl
 endif
 
+ifeq ($(OSARCH),mingw32)
+    AGIS:=
+endif
+
 include $(ASTTOPDIR)/Makefile.rules
 
+ASTCFLAGS+=-DSTANDALONE
+
 all: $(AGIS)
 
 strcompat.c: ../main/strcompat.c
        @cp $< $@
+strcompat.o: ASTCFLAGS+=-DSTANDALONE
+
+eagi-test.o: ASTCFLAGS+=-DSTANDALONE
 
 eagi-test: eagi-test.o strcompat.o
 
+eagi-sphinx-test.o: ASTCFLAGS+=-DSTANDALONE
+
 eagi-sphinx-test: eagi-sphinx-test.o
 
 install: all
@@ -39,7 +50,7 @@ uninstall:
 
 clean:
        rm -f *.so *.o look eagi-test eagi-sphinx-test
-       rm -f .*.o.d .*.oo.d
+       rm -f .*.d *.s *.i
        rm -f strcompat.c
 
 ifneq ($(wildcard .*.d),)