aboutsummaryrefslogtreecommitdiffstats
path: root/buildinfo.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-05 18:58:27 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-05 18:58:27 +0000
commit49f65e4379624cf2655db1c60ac69d62b72aca65 (patch)
tree550e3dcde6145f0c1a0bce70c5c79f917d8a525e /buildinfo.c
parentc9ad9780f5cb9363a390630b00ac55c15599760a (diff)
stop recompiling cli.c on every 'make'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6963 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'buildinfo.c')
-rwxr-xr-xbuildinfo.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/buildinfo.c b/buildinfo.c
new file mode 100755
index 000000000..cd7ce8df3
--- /dev/null
+++ b/buildinfo.c
@@ -0,0 +1,32 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2005, Digium, Inc.
+ *
+ * Kevin P. Fleming <kpfleming@digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*! \file
+ *
+ * \brief Build timestamp variables
+ *
+ */
+
+#include "asterisk/build.h"
+
+const char *ast_build_hostname = BUILD_HOSTNAME;
+const char *ast_build_kernel = BUILD_KERNEL;
+const char *ast_build_machine = BUILD_MACHINE;
+const char *ast_build_os = BUILD_OS;
+const char *ast_build_date = BUILD_DATE;
+const char *ast_build_user = BUILD_USER;