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: https://origsvn.digium.com/svn/asterisk/trunk@35415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 19 years ago
parent f601dd80fa
commit c399a06450

@ -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)

Loading…
Cancel
Save