Somehow the Makefile didn't get merged
authorMark Spencer <markster@digium.com>
Fri, 25 Jun 2004 04:06:11 +0000 (04:06 +0000)
committerMark Spencer <markster@digium.com>
Fri, 25 Jun 2004 04:06:11 +0000 (04:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3297 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 41c8243..95c4aba 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -117,6 +117,7 @@ CFLAGS=-pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarati
 CFLAGS+=$(OPTIMIZE)
 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 [ -f /usr/include/osp/osp.h ]; then echo "-DOSP_SUPPORT -I/usr/include/osp" ; fi)
 
 ifeq (${OSARCH},FreeBSD)
 OSVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
@@ -170,6 +171,7 @@ endif
 ifeq (${OSARCH},Darwin)
 LIBS+=-lresolv
 endif
+LIBS+=-lssl
 OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
        translate.o file.o say.o pbx.o cli.o md5.o term.o \
        ulaw.o alaw.o callerid.o fskmodem.o image.o app.o \