https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59202 | nadi | 2007-03-26 17:25:53 +0200 (Mo, 26 Mär 2007) | 4 lines * mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it. * add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in' (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected). ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 lines
265 B
Makefile
18 lines
265 B
Makefile
#
|
|
# Makefile for chan_misdn support
|
|
#
|
|
ifneq ($(wildcard /usr/include/linux/mISDNdsp.h),)
|
|
CFLAGS+=-DMISDN_1_2
|
|
endif
|
|
|
|
all:
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
portinfo: portinfo.o
|
|
$(CC) -o $@ $^ -lisdnnet -lmISDN -lpthread
|
|
|
|
clean:
|
|
rm -rf *.a *.o *.so portinfo
|