mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
move tools used during build into build_tools subdirectory
clean up Makefile headers git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -19,4 +19,3 @@ update.out
|
||||
.tags-sources
|
||||
tags
|
||||
TAGS
|
||||
vercomp
|
||||
|
20
Makefile
20
Makefile
@@ -317,15 +317,15 @@ endif
|
||||
|
||||
.PHONY: ast_expr
|
||||
|
||||
vercomp: vercomp.c
|
||||
build_tools/vercomp: build_tools/vercomp.c
|
||||
$(HOST_CC) -o $@ $<
|
||||
|
||||
ast_expr: vercomp
|
||||
ast_expr: build_tools/vercomp
|
||||
$(MAKE) ast_expr.a
|
||||
|
||||
ifeq ($(MAKECMDGOALS),ast_expr.a)
|
||||
FLEXVER_GT_2_5_31=$(shell ./vercomp flex \>= 2.5.31)
|
||||
BISONVER_GE_1_85=$(shell ./vercomp bison \>= 1.85 )
|
||||
FLEXVER_GT_2_5_31=$(shell build_tools/vercomp flex \>= 2.5.31)
|
||||
BISONVER_GE_1_85=$(shell build_tools/vercomp bison \>= 1.85 )
|
||||
endif
|
||||
|
||||
ifeq ($(FLEXVER_GT_2_5_31),true)
|
||||
@@ -395,7 +395,7 @@ asterisk.txt: asterisk.sgml
|
||||
docbook2txt asterisk.sgml
|
||||
|
||||
defaults.h: FORCE
|
||||
./make_defaults_h > $@.tmp
|
||||
build_tools/make_defaults_h > $@.tmp
|
||||
if ! cmp -s $@.tmp $@ ; then \
|
||||
mv $@.tmp $@ ; \
|
||||
fi
|
||||
@@ -403,7 +403,7 @@ defaults.h: FORCE
|
||||
|
||||
|
||||
include/asterisk/build.h:
|
||||
./make_build_h > $@.tmp
|
||||
build_tools/make_build_h > $@.tmp
|
||||
if ! cmp -s $@.tmp $@ ; then \
|
||||
mv $@.tmp $@ ; \
|
||||
fi
|
||||
@@ -415,7 +415,7 @@ include/asterisk/build.h: FORCE
|
||||
endif
|
||||
|
||||
include/asterisk/version.h: FORCE
|
||||
./make_version_h > $@.tmp
|
||||
build_tools/make_version_h > $@.tmp
|
||||
if ! cmp -s $@.tmp $@ ; then \
|
||||
mv $@.tmp $@ ; \
|
||||
fi
|
||||
@@ -446,7 +446,7 @@ clean:
|
||||
rm -f include/asterisk/version.h
|
||||
rm -f ast_expr.c ast_expr.h ast_expr.output
|
||||
rm -f ast_expr2.c ast_expr2f.c ast_expr2.h ast_expr2.output
|
||||
rm -f ast_expr.a vercomp
|
||||
rm -f ast_expr.a build_tools/vercomp
|
||||
rm -f .version
|
||||
rm -f .tags-depend .tags-sources tags TAGS
|
||||
@if [ -f editline/Makefile ]; then $(MAKE) -C editline distclean ; fi
|
||||
@@ -762,8 +762,8 @@ depend: .depend defaults.h include/asterisk/build.h include/asterisk/version.h
|
||||
for x in $(SUBDIRS); do $(MAKE) -C $$x depend || exit 1 ; done
|
||||
|
||||
.depend:
|
||||
./mkdep ${CFLAGS} $(filter-out ast_expr.c,$(wildcard *.c))
|
||||
./mkdep -a -d ${CFLAGS} ast_expr.c
|
||||
build_tools/mkdep ${CFLAGS} $(filter-out ast_expr.c,$(wildcard *.c))
|
||||
build_tools/mkdep -a -d ${CFLAGS} ast_expr.c
|
||||
|
||||
.tags-depend:
|
||||
@echo -n ".tags-depend: " > $@
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Makefile for PBX frontends (dynamically loaded)
|
||||
# Makefile for AGI-related stuff
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
@@ -45,4 +45,4 @@ endif
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Makefile for PBX frontends (dynamically loaded)
|
||||
# Makefile for PBX applications
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
@@ -128,7 +128,7 @@ endif
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
env
|
||||
|
1
build_tools/.cvsignore
Executable file
1
build_tools/.cvsignore
Executable file
@@ -0,0 +1 @@
|
||||
vercomp
|
@@ -3,9 +3,9 @@
|
||||
#
|
||||
# Makefile for CDR backends (dynamically loaded)
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
@@ -98,4 +98,4 @@ cdr_sqlite.so: cdr_sqlite.o
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Makefile for Channel backends (dynamically loaded)
|
||||
# Makefile for channel drivers
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Mark Spencer
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# Edited By Belgarath <> Aug 28 2004
|
||||
# Added bare bones ultrasparc-linux support.
|
||||
@@ -13,6 +13,7 @@
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
ifeq ($(CROSS_COMPILE),)
|
||||
OSARCH=$(shell uname -s)
|
||||
PROC=$(shell uname -m)
|
||||
@@ -201,7 +202,7 @@ install: all
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
env
|
||||
|
@@ -1,11 +1,11 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Makefile for PBX frontends (dynamically loaded)
|
||||
# Makefile for codec modules
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
@@ -98,4 +98,4 @@ install: all
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
@@ -3,9 +3,9 @@
|
||||
#
|
||||
# Makefile for file format modules
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
@@ -46,4 +46,4 @@ install: all
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# Makefile for dialplan functions
|
||||
#
|
||||
# Copyright (C) 2005, Digium, Inc.
|
||||
# Copyright (C) 2005, Digium
|
||||
#
|
||||
# Kevin P. Fleming <kpfleming@digium.com>
|
||||
#
|
||||
@@ -64,7 +64,7 @@ endif
|
||||
depend: .depend
|
||||
|
||||
.depend: pbx_functions.h
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
env
|
||||
|
10
pbx/Makefile
10
pbx/Makefile
@@ -1,18 +1,16 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Makefile for PBX frontends (dynamically loaded)
|
||||
# Makefile for PBX modules
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Mark Spencer
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
|
||||
|
||||
PBX_LIBS=pbx_config.so pbx_spool.so pbx_dundi.so pbx_loopback.so pbx_realtime.so \
|
||||
pbx_ael.so
|
||||
|
||||
@@ -69,4 +67,4 @@ install: all
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
10
res/Makefile
10
res/Makefile
@@ -1,11 +1,11 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Makefile for CDR backends (dynamically loaded)
|
||||
# Makefile for resource modules
|
||||
#
|
||||
# Copyright (C) 1999, Mark Spencer
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@linux-support.net>
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
@@ -68,8 +68,8 @@ depend: .depend
|
||||
else \
|
||||
echo "*** You don't have mpg123 installed. You're going to need ***";\
|
||||
echo "*** it if you want MusicOnHold ***";\
|
||||
fi
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
fi
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
env:
|
||||
env
|
||||
|
@@ -14,7 +14,7 @@ clean:
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) *.c
|
||||
../build_tools/mkdep $(CFLAGS) *.c
|
||||
|
||||
test: test.c
|
||||
${CC} ${CFLAGS} -o test test.c
|
||||
|
@@ -1,3 +1,16 @@
|
||||
#
|
||||
# Asterisk -- A telephony toolkit for Linux.
|
||||
#
|
||||
# Various utilities
|
||||
#
|
||||
# Copyright (C) 1999-2005, Digium
|
||||
#
|
||||
# Mark Spencer <markster@digium.com>
|
||||
#
|
||||
# This program is free software, distributed under the terms of
|
||||
# the GNU General Public License
|
||||
#
|
||||
|
||||
#
|
||||
# Don't use ast mm routines
|
||||
#
|
||||
@@ -44,5 +57,5 @@ endif
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
../build_tools/mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
|
Reference in New Issue
Block a user