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:
Kevin P. Fleming
2005-06-20 17:26:08 +00:00
parent a752aeb4e8
commit 0e9d920a60
19 changed files with 60 additions and 48 deletions

20
build_tools/make_build_h Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
HOSTNAME=`uname -n`
KERNEL=`uname -r`
MACHINE=`uname -m`
OS=`uname -s`
USER=`whoami`
DATE=`date --utc "+%Y-%m-%d %H:%M:%S"`
cat << END
/*
* build.h
* Automatically generated
*/
#define BUILD_HOSTNAME "${HOSTNAME}"
#define BUILD_KERNEL "${KERNEL}"
#define BUILD_MACHINE "${MACHINE}"
#define BUILD_OS "${OS}"
#define BUILD_DATE "${DATE}"
#define BUILD_USER "${USER}"
END