add missing files from bug #4116 commit
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 6 Jun 2005 11:57:50 +0000 (11:57 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 6 Jun 2005 11:57:50 +0000 (11:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5857 65c4cc65-6c06-0410-ace0-fbb531ad65f3

make_defaults_h [new file with mode: 0755]
make_version_h [new file with mode: 0755]

diff --git a/make_defaults_h b/make_defaults_h
new file mode 100755 (executable)
index 0000000..7b94111
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+cat << END
+/*
+ * defaults.h 
+ * Automatically generated
+ */
+#define AST_CONFIG_DIR "${INSTALL_PATH}${ASTETCDIR}"
+#define AST_RUN_DIR    "${INSTALL_PATH}${ASTVARRUNDIR}"
+#define AST_SOCKET     "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.ctl"
+#define AST_PID        "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.pid"
+#define AST_MODULE_DIR "${INSTALL_PATH}${MODULES_DIR}"
+#define AST_SPOOL_DIR  "${INSTALL_PATH}${ASTSPOOLDIR}"
+#define AST_VAR_DIR    "${INSTALL_PATH}${ASTVARLIBDIR}"
+#define AST_LOG_DIR    "${INSTALL_PATH}${ASTLOGDIR}"
+#define AST_AGI_DIR    "${INSTALL_PATH}${AGI_DIR}"
+#define AST_KEY_DIR    "${INSTALL_PATH}${ASTVARLIBDIR}/keys"
+#define AST_DB         "${INSTALL_PATH}${ASTVARLIBDIR}/astdb"
+#define AST_TMP_DIR    "${INSTALL_PATH}${ASTSPOOLDIR}/tmp"
+
+#define AST_CONFIG_FILE "${INSTALL_PATH}${ASTCONFPATH}"
+
+#define AST_SOUNDS     "${INSTALL_PATH}${ASTVARLIBDIR}/sounds"
+#define AST_IMAGES     "${INSTALL_PATH}${ASTVARLIBDIR}/images"
+
+END
diff --git a/make_version_h b/make_version_h
new file mode 100755 (executable)
index 0000000..f0e81f7
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+cat << END
+/*
+ * version.h 
+ * Automatically generated
+ */
+#define ASTERISK_VERSION "${ASTERISKVERSION}"
+#define ASTERISK_VERSION_NUM ${ASTERISKVERSIONNUM}
+
+END