aboutsummaryrefslogtreecommitdiffstats
path: root/agi
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-29 22:48:43 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-29 22:48:43 +0000
commita8442c9b22767096823aa7a169bc1496a8dd2c42 (patch)
tree88f2aec2951b6ce52b91c03ed0bd4a697b1642c9 /agi
parentfcfda97ed2478ac34b65ba502ad183583c446476 (diff)
Merged revisions 44055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'agi')
-rw-r--r--agi/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/agi/Makefile b/agi/Makefile
index 08de2f751..3a3495138 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -23,12 +23,13 @@ include $(ASTTOPDIR)/Makefile.rules
all: $(AGIS)
+strcompat.c: ../main/strcompat.c
+ @cp $< $@
+
eagi-test: eagi-test.o strcompat.o
eagi-sphinx-test: eagi-sphinx-test.o
-$(eval $(call ast_make_o_c,strcompat.o,../main/strcompat.c))
-
install: all
mkdir -p $(DESTDIR)$(AGI_DIR)
for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
@@ -41,6 +42,7 @@ clean-depend:
clean: clean-depend
rm -f *.so *.o look eagi-test eagi-sphinx-test
+ rm -f strcompat.c
ifneq ($(wildcard .depend),)
include .depend