* Patch to Makefiles to allow a script to query the make envirnoment.

* contrib/scripts/astxs (The tool itself)
* see bug 1329

-Anthony Minessale (anthm)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Anthony Minessale II
2004-04-16 18:57:07 +00:00
parent d8a6763be4
commit 34e415222e
4 changed files with 16 additions and 3 deletions

View File

@@ -430,7 +430,6 @@ webvmail:
mailbox:
./contrib/scripts/addmailbox
rpm: __rpm
__rpm: _version
@@ -454,7 +453,6 @@ config:
install -m 755 init.asterisk /etc/init.d/asterisk; \
fi
dont-optimize:
$(MAKE) OPTIMIZE= K6OPT= install
@@ -467,3 +465,9 @@ depend: .depend
./mkdep ${CFLAGS} `ls *.c`
FORCE:
%_env:
make -C $(shell echo $@ | /bin/sed "s/_env//g") env
env:
/bin/env

View File

@@ -100,3 +100,6 @@ depend: .depend
.depend:
../mkdep $(CFLAGS) `ls *.c`
env:
/bin/env

View File

@@ -173,3 +173,6 @@ depend: .depend
.depend:
../mkdep $(CFLAGS) `ls *.c`
env:
/bin/env

View File

@@ -44,3 +44,6 @@ depend: .depend
.depend:
../mkdep $(CFLAGS) `ls *.c`
env:
/bin/env