add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
since they are targets that do not have resulting files and are never listed as prerequisites to real targets. Using .PHONY in this manner improves make performance by never having to check for resulting files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
79e7aea754
commit
b70a7c6a7c
3
Makefile
3
Makefile
|
@ -13,7 +13,7 @@
|
|||
|
||||
.EXPORT_ALL_VARIABLES:
|
||||
|
||||
.PHONY: sounds
|
||||
.PHONY: sounds clean clean-depend dist-clean
|
||||
|
||||
# Create OPTIONS variable
|
||||
OPTIONS=
|
||||
|
@ -387,6 +387,7 @@ makeopts: configure
|
|||
@exit 1
|
||||
|
||||
menuselect.makeopts: build_tools/menuselect makeopts.xml
|
||||
@echo "WTF WTF WTF WTF"
|
||||
@build_tools/menuselect --check-deps ${GLOBAL_MAKEOPTS} ${USER_MAKEOPTS} $@
|
||||
|
||||
#ifneq ($(wildcard tags),)
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
|
||||
|
||||
LIBS=
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.PHONY: clean dist-clean
|
||||
|
||||
MENUSELECT_OBJS=menuselect.o menuselect_curses.o
|
||||
MENUSELECT_CFLAGS=-g -c -D_GNU_SOURCE -DMENUSELECT -I../ -I../include/
|
||||
MENUSELECT_LIBS=../mxml/libmxml.a
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: dist-clean
|
||||
|
||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||
include ../menuselect.makeopts
|
||||
endif
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# the GNU General Public License
|
||||
#
|
||||
|
||||
.PHONY: clean clean-depend
|
||||
|
||||
UTILS:=astman smsq stereorize streamplayer aelparse
|
||||
|
||||
ifeq (${OSARCH},SunOS)
|
||||
|
|
Reference in New Issue