From 9db0520ff9ab3a28553802b5fdf5df5b34d8b071 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Thu, 22 Jun 2006 14:09:18 +0000 Subject: [PATCH] - specify that 'all' is a .PHONY target - add a copyright header to the build_tools Makefile - remove 'depend' from the 'all' target in agi/ and utils/ since it is handled by the main Makefile already git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35479 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 2 +- agi/Makefile | 4 ++-- apps/Makefile | 2 +- build_tools/Makefile | 13 +++++++++++++ cdr/Makefile | 2 +- channels/Makefile | 2 +- codecs/Makefile | 2 +- formats/Makefile | 2 +- funcs/Makefile | 2 +- pbx/Makefile | 2 +- res/Makefile | 2 +- sounds/Makefile | 2 +- utils/Makefile | 4 ++-- 13 files changed, 27 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 1a81adb77c..81109336fc 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ .EXPORT_ALL_VARIABLES: -.PHONY: sounds clean clean-depend dist-clean +.PHONY: sounds clean clean-depend dist-clean all # Create OPTIONS variable OPTIONS= diff --git a/agi/Makefile b/agi/Makefile index e2ca9e19f1..21c1d57992 100644 --- a/agi/Makefile +++ b/agi/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi @@ -20,7 +20,7 @@ ifeq ($(OSARCH),SunOS) LIBS=-lsocket -lnsl ../strcompat.o endif -all: depend $(AGIS) +all: $(AGIS) install: all mkdir -p $(DESTDIR)$(AGI_DIR) diff --git a/apps/Makefile b/apps/Makefile index 5826f35819..7ceac360c8 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/build_tools/Makefile b/build_tools/Makefile index 9d54b0139a..87c757b9f3 100644 --- a/build_tools/Makefile +++ b/build_tools/Makefile @@ -1,3 +1,16 @@ +# +# Asterisk -- A telephony toolkit for Linux. +# +# Makefile for Build Tools +# +# Copyright (C) 2005-2006, Digium, Inc. +# +# Russell Bryant <russell@digium.com> +# +# This program is free software, distributed under the terms of +# the GNU General Public License +# + .PHONY: clean dist-clean MENUSELECT_OBJS=menuselect.o menuselect_curses.o diff --git a/cdr/Makefile b/cdr/Makefile index 6f3c191aef..ccefb060e3 100644 --- a/cdr/Makefile +++ b/cdr/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/channels/Makefile b/channels/Makefile index 0f36e25e9f..c9b0fc36e5 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/codecs/Makefile b/codecs/Makefile index 3938fa8e85..4ac7aa976d 100644 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/formats/Makefile b/formats/Makefile index 4dc21f582c..ca2503d1d5 100644 --- a/formats/Makefile +++ b/formats/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/funcs/Makefile b/funcs/Makefile index 9ee2bcf009..827458ba9a 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/pbx/Makefile b/pbx/Makefile index 3b3dc75995..a749115717 100644 --- a/pbx/Makefile +++ b/pbx/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/res/Makefile b/res/Makefile index ba83d7d855..4b332194d2 100644 --- a/res/Makefile +++ b/res/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/sounds/Makefile b/sounds/Makefile index 5ab9eaf8c9..5655d420e9 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: dist-clean +.PHONY: dist-clean all ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts diff --git a/utils/Makefile b/utils/Makefile index ed61cd676c..54e4d15acc 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -.PHONY: clean clean-depend +.PHONY: clean clean-depend all UTILS:=astman smsq stereorize streamplayer aelparse @@ -32,7 +32,7 @@ ifneq ($(filter pbx_ael,$(MENUSELECT_PBX)),) UTILS:=$(filter-out aelparse,$(UTILS)) endif -all: depend $(UTILS) +all: $(UTILS) install: for x in $(UTILS); do \ -- GitLab