Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 79657 | Differences between
and this patch

Collapse All | Expand All

(-)chan_capi-0.3.5/Makefile.orig (-3 / +3 lines)
Lines 24-32 Link Here
24
24
25
DEBUG=-g #-pg
25
DEBUG=-g #-pg
26
INCLUDE=-I$(ASTERISK_HEADER_DIR)
26
INCLUDE=-I$(ASTERISK_HEADER_DIR)
27
CFLAGS=-pipe -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE
27
CFLAGS+=-fPIC -DPIC -pipe -Wall -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE
28
CFLAGS+=-O6
29
CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
30
CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
28
CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
31
29
32
# uncomment the following line if you really never ever want early b3 connects,
30
# uncomment the following line if you really never ever want early b3 connects,
Lines 78-85 Link Here
78
	$(CC) -shared -Xlinker -x -o $@ chan_capi.o -lcapi20
76
	$(CC) -shared -Xlinker -x -o $@ chan_capi.o -lcapi20
79
77
80
install: all
78
install: all
79
	if [ ! -d $(MODULES_DIR) ]; then mkdir -p $(MODULES_DIR); fi
81
	for x in $(SHAREDOS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
80
	for x in $(SHAREDOS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
82
81
83
config: all
82
config: all
83
	if [ ! -d $(INSTALL_PREFIX)/etc/asterisk ]; then mkdir -p $(INSTALL_PREFIX)/etc/asterisk; fi
84
	cp capi.conf $(INSTALL_PREFIX)/etc/asterisk/
84
	cp capi.conf $(INSTALL_PREFIX)/etc/asterisk/
85
85

Return to bug 79657