git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@183831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 lines
268 B
Makefile
18 lines
268 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 *.i
|