mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +00:00
* 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/branches/1.4@59202 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
|