2 # Asterisk -- A telephony toolkit for Linux.
4 # Makefile for AGI-related stuff
6 # Copyright (C) 1999-2006, Digium
8 # Mark Spencer <markster@digium.com>
10 # This program is free software, distributed under the terms of
11 # the GNU General Public License
14 .PHONY
: clean all uninstall
16 AGIS
=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
18 ifeq ($(OSARCH
),SunOS
)
22 include $(ASTTOPDIR
)/Makefile.rules
26 strcompat.c
: ..
/main
/strcompat.c
29 eagi-test
: eagi-test.o strcompat.o
31 eagi-sphinx-test
: eagi-sphinx-test.o
34 mkdir
-p
$(DESTDIR
)$(AGI_DIR
)
35 for x in
$(AGIS
); do
$(INSTALL
) -m
755 $$x $(DESTDIR
)$(AGI_DIR
) ; done
38 for x in
$(AGIS
); do
rm -f
$(DESTDIR
)$(AGI_DIR
)/$$x ; done
41 rm -f
*.so
*.o look eagi-test eagi-sphinx-test
42 rm -f .
*.o.d .
*.oo.d
*.s
*.i
45 ifneq ($(wildcard .
*.d
),)