We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported...
[asterisk/asterisk.git] / build_tools / make_defaults_h
1 #!/bin/sh
2 cat << END
3 /*
4  * defaults.h 
5  * Automatically generated
6  */
7 #define AST_CONFIG_DIR "${INSTALL_PATH}${ASTETCDIR}"
8 #define AST_RUN_DIR    "${INSTALL_PATH}${ASTVARRUNDIR}"
9 #define AST_SOCKET     "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.ctl"
10 #define AST_PID        "${INSTALL_PATH}${ASTVARRUNDIR}/asterisk.pid"
11 #define AST_MODULE_DIR "${INSTALL_PATH}${MODULES_DIR}"
12 #define AST_SPOOL_DIR  "${INSTALL_PATH}${ASTSPOOLDIR}"
13 #define AST_VAR_DIR    "${INSTALL_PATH}${ASTVARLIBDIR}"
14 #define AST_DATA_DIR   "${INSTALL_PATH}${ASTDATADIR}"
15 #define AST_LOG_DIR    "${INSTALL_PATH}${ASTLOGDIR}"
16 #define AST_AGI_DIR    "${INSTALL_PATH}${AGI_DIR}"
17 #define AST_KEY_DIR    "${INSTALL_PATH}${ASTVARLIBDIR}/keys"
18 #define AST_DB         "${INSTALL_PATH}${ASTVARLIBDIR}/astdb"
19 #define AST_TMP_DIR    "${INSTALL_PATH}${ASTSPOOLDIR}/tmp"
20
21 #define AST_CONFIG_FILE "${INSTALL_PATH}${ASTCONFPATH}"
22
23 #define AST_SOUNDS     "${INSTALL_PATH}${ASTDATADIR}/sounds"
24 #define AST_IMAGES     "${INSTALL_PATH}${ASTDATADIR}/images"
25
26 END