major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-06-06 03:04:58 +00:00
parent 236c05fc59
commit 4f299de252
36 changed files with 78 additions and 132 deletions

View File

@@ -4,9 +4,8 @@ KERNEL=`uname -r`
MACHINE=`uname -m`
OS=`uname -s`
USER=`whoami`
VERSION=`cat .version`
rm -f build.h
cat > build.h << END
DATE=`date --utc "+%Y-%m-%d %H:%M:%S"`
cat << END
/*
* build.h
* Automatically generated
@@ -15,6 +14,7 @@ cat > build.h << END
#define BUILD_KERNEL "${KERNEL}"
#define BUILD_MACHINE "${MACHINE}"
#define BUILD_OS "${OS}"
#define BUILD_VERSION "${VERSION}"
#define BUILD_DATE "${DATE}"
#define BUILD_USER "${USER}"
END