mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
- 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
This commit is contained in:
2
Makefile
2
Makefile
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
.EXPORT_ALL_VARIABLES:
|
.EXPORT_ALL_VARIABLES:
|
||||||
|
|
||||||
.PHONY: sounds clean clean-depend dist-clean
|
.PHONY: sounds clean clean-depend dist-clean all
|
||||||
|
|
||||||
# Create OPTIONS variable
|
# Create OPTIONS variable
|
||||||
OPTIONS=
|
OPTIONS=
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# 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
|
AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ ifeq ($(OSARCH),SunOS)
|
|||||||
LIBS=-lsocket -lnsl ../strcompat.o
|
LIBS=-lsocket -lnsl ../strcompat.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: depend $(AGIS)
|
all: $(AGIS)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
mkdir -p $(DESTDIR)$(AGI_DIR)
|
mkdir -p $(DESTDIR)$(AGI_DIR)
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -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
|
.PHONY: clean dist-clean
|
||||||
|
|
||||||
MENUSELECT_OBJS=menuselect.o menuselect_curses.o
|
MENUSELECT_OBJS=menuselect.o menuselect_curses.o
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: dist-clean
|
.PHONY: dist-clean all
|
||||||
|
|
||||||
ifneq ($(wildcard ../menuselect.makeopts),)
|
ifneq ($(wildcard ../menuselect.makeopts),)
|
||||||
include ../menuselect.makeopts
|
include ../menuselect.makeopts
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
# the GNU General Public License
|
# the GNU General Public License
|
||||||
#
|
#
|
||||||
|
|
||||||
.PHONY: clean clean-depend
|
.PHONY: clean clean-depend all
|
||||||
|
|
||||||
UTILS:=astman smsq stereorize streamplayer aelparse
|
UTILS:=astman smsq stereorize streamplayer aelparse
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ ifneq ($(filter pbx_ael,$(MENUSELECT_PBX)),)
|
|||||||
UTILS:=$(filter-out aelparse,$(UTILS))
|
UTILS:=$(filter-out aelparse,$(UTILS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: depend $(UTILS)
|
all: $(UTILS)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
for x in $(UTILS); do \
|
for x in $(UTILS); do \
|
||||||
|
Reference in New Issue
Block a user