- removed not used ASTERISKVERSION definition
This commit is contained in:
parent
fb4683f7ca
commit
6dc5a6eeaf
4
Makefile
4
Makefile
|
@ -34,8 +34,6 @@ ifeq (${OSNAME},NetBSD)
|
||||||
ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/pkg/include
|
ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/pkg/include
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ASTERISKVERSION=$(shell if [ -f .version ]; then cat .version; else if [ -d CVS ]; then if [ -f CVS/Tag ] ; then echo "CVS-`sed 's/^T//g' CVS/Tag`-`date +"%D-%T"`"; else echo "CVS-HEAD-`date +"%D-%T"`"; fi; fi; fi)
|
|
||||||
|
|
||||||
MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules
|
MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules
|
||||||
|
|
||||||
ifeq (${OSNAME},FreeBSD)
|
ifeq (${OSNAME},FreeBSD)
|
||||||
|
@ -64,8 +62,6 @@ CFLAGS+=-O6
|
||||||
CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
|
CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
|
||||||
CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
|
CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
|
||||||
|
|
||||||
CFLAGS+=-DASTERISKVERSION=\"$(ASTERISKVERSION)\"
|
|
||||||
|
|
||||||
LIBS=-ldl -lpthread -lm
|
LIBS=-ldl -lpthread -lm
|
||||||
CC=gcc
|
CC=gcc
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
|
|
|
@ -65,11 +65,11 @@ static unsigned capi_ApplID = 0;
|
||||||
static _cword capi_MessageNumber;
|
static _cword capi_MessageNumber;
|
||||||
static char *desc = "Common ISDN API for Asterisk";
|
static char *desc = "Common ISDN API for Asterisk";
|
||||||
#ifdef CC_AST_HAVE_TECH_PVT
|
#ifdef CC_AST_HAVE_TECH_PVT
|
||||||
static const char tdesc[] = "Common ISDN API Driver (" CC_VERSION ") " ASTERISKVERSION;
|
static const char tdesc[] = "Common ISDN API Driver (" CC_VERSION ")";
|
||||||
static const char channeltype[] = "CAPI";
|
static const char channeltype[] = "CAPI";
|
||||||
static const struct ast_channel_tech capi_tech;
|
static const struct ast_channel_tech capi_tech;
|
||||||
#else
|
#else
|
||||||
static char *tdesc = "Common ISDN API Driver (" CC_VERSION ") " ASTERISKVERSION;
|
static char *tdesc = "Common ISDN API Driver (" CC_VERSION ")";
|
||||||
static char *channeltype = "CAPI";
|
static char *channeltype = "CAPI";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue