diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 23:18:45 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 23:18:45 +0000 |
commit | e319f5334edcad77277c820deb01040b833a9e0e (patch) | |
tree | 8208ffca98830ce25a382b455585de1e32c87636 /agi/Makefile | |
parent | 038813616f01f97561cfb07ac0138eccd73e486f (diff) |
make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'agi/Makefile')
-rw-r--r-- | agi/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/agi/Makefile b/agi/Makefile index e7a210742..907d5efe4 100644 --- a/agi/Makefile +++ b/agi/Makefile @@ -15,13 +15,18 @@ AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi -LIBS= ifeq ($(OSARCH),SunOS) - LIBS=-lsocket -lnsl ../strcompat.o + LDFLAGS+=-lsocket -lnsl ../strcompat.o endif +include $(ASTTOPDIR)/Makefile.rules + all: $(AGIS) +eagi-test: eagi-test.o + +eagi-sphinx-test: eagi-sphinx-test.o + install: all mkdir -p $(DESTDIR)$(AGI_DIR) for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done @@ -29,21 +34,12 @@ install: all uninstall: for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done -eagi-test: eagi-test.o - $(CC) $(CFLAGS) -include ../include/autoconfig.h -o eagi-test eagi-test.o $(LIBS) - -eagi-sphinx-test: eagi-sphinx-test.o - $(CC) $(CFLAGS) -include ../include/autoconfig.h -o eagi-sphinx-test eagi-sphinx-test.o $(LIBS) - 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 $@ $< - ifneq ($(wildcard .depend),) include .depend endif |