From efda56b1bb08529817af36a72943700eea8066f5 Mon Sep 17 00:00:00 2001 From: paulc Date: Fri, 17 Feb 2006 10:17:51 +0000 Subject: [PATCH] Moved message sniffer to the modules directory, added "debug" make target. git-svn-id: http://yate.null.ro/svn/yate/trunk@689 acf43c95-373e-0410-b603-e72c3f656dc1 --- Makefile.in | 5 ++++- modules/Makefile.in | 6 ++++-- modules/mktestlinks.sh | 2 +- test/Makefile.in | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4f9dc131..363b0c7b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -48,11 +48,14 @@ scrdir = $(basedir)/scripts # include optional local make rules -include YateLocal.mak -.PHONY: all everything +.PHONY: all everything debug all: engine modules clients everything: engine contrib modules clients test apidocs +debug: + $(MAKE) all DEBUG=-g3 MODSTRIP= + .PHONY: clean distclean cvsclean clean-config-files clean-tables clean-apidocs clean: @-$(RM) $(CLEANS) 2>/dev/null diff --git a/modules/Makefile.in b/modules/Makefile.in index d8d4d8b5..857d0666 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -22,8 +22,10 @@ MKDEPS := ../config.status PROGS := cdrbuild.yate cdrfile.yate \ regexroute.yate regfile.yate accfile.yate register.yate \ tonegen.yate wavefile.yate conference.yate moh.yate \ - callgen.yate rmanager.yate pbx.yate dumbchan.yate \ - callfork.yate dbpbx.yate extmodule.yate osschan.yate \ + callgen.yate rmanager.yate msgsniff.yate \ + pbx.yate dbpbx.yate dumbchan.yate callfork.yate \ + extmodule.yate \ + osschan.yate \ ysipchan.yate yrtpchan.yate LIBS := diff --git a/modules/mktestlinks.sh b/modules/mktestlinks.sh index f9224561..6b9a3a10 100644 --- a/modules/mktestlinks.sh +++ b/modules/mktestlinks.sh @@ -1,6 +1,6 @@ #!/bin/sh -tests="msgsniff" +tests="" if [ "$1" = "-d" ]; then for f in $tests; do rm $f.yate; done else diff --git a/test/Makefile.in b/test/Makefile.in index efafeeca..d70cc749 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -11,7 +11,7 @@ MODFLAGS:= @MODULE_LDFLAGS@ MODSTRIP:= @MODULE_SYMBOLS@ MKDEPS := ../config.status -PROGS = msgsniff.yate randcall.yate +PROGS = randcall.yate LIBS = OBJS =