dect
/
asterisk
Archived
13
0
Fork 0

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:
russell 2006-06-22 11:27:03 +00:00
parent 79e7aea754
commit b70a7c6a7c
13 changed files with 26 additions and 1 deletions

View File

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

View File

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

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

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

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: dist-clean
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif

View File

@ -11,6 +11,8 @@
# the GNU General Public License
#
.PHONY: clean clean-depend
UTILS:=astman smsq stereorize streamplayer aelparse
ifeq (${OSARCH},SunOS)