diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-29 22:47:40 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-29 22:47:40 +0000 |
commit | baa8d6158635e36d4daaa52ddec661cd1bb0912f (patch) | |
tree | e4c026f46c9bc49b0e295938912686965a0897dc /agi/Makefile | |
parent | 8db549642d02e7a37783caec3d1b9929cfa5db55 (diff) |
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/branches/1.4@44055 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'agi/Makefile')
-rw-r--r-- | agi/Makefile | 6 |
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 |