replace a couple of bare 'make' with $(MAKE)
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 21 Aug 2006 13:47:45 +0000 (13:47 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 21 Aug 2006 13:47:45 +0000 (13:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40765 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile
channels/Makefile

index b4a8019..2fb03eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -163,7 +163,7 @@ ifeq ($(PROC),ppc)
 endif
 
 ifeq ($(OSARCH),FreeBSD)
-  BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
+  BSDVERSION=$(shell $(MAKE) -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
   ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
   AST_LIBS+=$(shell if test  $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
 endif
index ad89868..9cb7482 100644 (file)
@@ -64,7 +64,7 @@ include $(ASTTOPDIR)/Makefile.moddir_rules
 
 clean::
        rm -f busy.h ringtone.h gentone
-       make -C misdn clean
+       $(MAKE) -C misdn clean
 
 ifneq ($(wildcard $(PWD)/Makefile.ast),)
   include $(PWD)/Makefile.ast