aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-22 11:27:03 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-22 11:27:03 +0000
commitb70a7c6a7c619f49d1af27b6652ad1aacee9fb02 (patch)
tree8fae030e65855b248a90da016abcfa9e42710145
parent79e7aea754698d38559d1c1f618315fbf058e491 (diff)
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
-rw-r--r--Makefile3
-rw-r--r--agi/Makefile2
-rw-r--r--apps/Makefile2
-rw-r--r--build_tools/Makefile2
-rw-r--r--cdr/Makefile2
-rw-r--r--channels/Makefile2
-rw-r--r--codecs/Makefile2
-rw-r--r--formats/Makefile2
-rw-r--r--funcs/Makefile2
-rw-r--r--pbx/Makefile2
-rw-r--r--res/Makefile2
-rw-r--r--sounds/Makefile2
-rw-r--r--utils/Makefile2
13 files changed, 26 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1617a4f7c..1b96f6973 100644
--- a/Makefile
+++ b/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),)
diff --git a/agi/Makefile b/agi/Makefile
index 5c9c1f6fd..e2ca9e19f 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -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=
diff --git a/apps/Makefile b/apps/Makefile
index 1a93c83e3..5826f3581 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/build_tools/Makefile b/build_tools/Makefile
index eb8e6e3a7..9d54b0139 100644
--- a/build_tools/Makefile
+++ b/build_tools/Makefile
@@ -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
diff --git a/cdr/Makefile b/cdr/Makefile
index fbfa17625..6f3c191ae 100644
--- a/cdr/Makefile
+++ b/cdr/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/channels/Makefile b/channels/Makefile
index 84d265159..0f36e25e9 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/codecs/Makefile b/codecs/Makefile
index d4212a87d..3938fa8e8 100644
--- a/codecs/Makefile
+++ b/codecs/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/formats/Makefile b/formats/Makefile
index 9913722d6..4dc21f582 100644
--- a/formats/Makefile
+++ b/formats/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/funcs/Makefile b/funcs/Makefile
index 414b6fed8..9ee2bcf00 100644
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/pbx/Makefile b/pbx/Makefile
index 4c474998d..3b3dc7599 100644
--- a/pbx/Makefile
+++ b/pbx/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/res/Makefile b/res/Makefile
index f4d0f4b1e..ba83d7d85 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/sounds/Makefile b/sounds/Makefile
index 53d6a24bc..5ab9eaf8c 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: dist-clean
+
ifneq ($(wildcard ../menuselect.makeopts),)
include ../menuselect.makeopts
endif
diff --git a/utils/Makefile b/utils/Makefile
index 27d1d39b4..ed61cd676 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -11,6 +11,8 @@
# the GNU General Public License
#
+.PHONY: clean clean-depend
+
UTILS:=astman smsq stereorize streamplayer aelparse
ifeq (${OSARCH},SunOS)