diff options
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile index 69f1a6401..06d751e38 100755 --- a/channels/Makefile +++ b/channels/Makefile @@ -22,6 +22,8 @@ CFLAGS+=$(shell [ ! -f /usr/include/linux/if_wanpipe.h ] && echo " -DOLD_SANGOMA CFLAGS+=$(shell [ -f /usr/lib/libpri.so.1 ] && echo " -DZAPATA_PRI") ZAPPRI=$(shell [ -f /usr/lib/libpri.so.1 ] && echo "-lpri") +CFLAGS+=-DCRYPTO + CFLAGS+=#-DVOFRDUMPER ZAPDIR=/usr/lib @@ -30,11 +32,11 @@ CHANNEL_LIBS+=$(shell [ -f $(ZAPDIR)/libzap.a ] && echo "chan_zap.so") CFLAGS+=$(shell [ -f $(ZAPDIR)/libzap.a ] && echo "-I$(ZAPDIR)") -all: $(CHANNEL_LIBS) +all: $(CHANNEL_LIBS) clean: rm -f *.so *.o - rm -f busy.h ringtone.h gentone + rm -f busy.h ringtone.h gentone gentone-ulaw %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< @@ -42,6 +44,9 @@ clean: gentone: gentone.c $(CC) -o gentone gentone.c -lm +gentone-ulaw: gentone-ulaw.c + $(CC) -o gentone-ulaw gentone-ulaw.c -lm + busy.h: gentone ./gentone busy 480 620 |