mirror of
https://github.com/asterisk/asterisk.git
synced 2026-05-04 20:33:53 +00:00
* added more code for connected party number handling * fixed the portinfo program, it can now be used to test mISDN again git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
31 lines
507 B
Makefile
31 lines
507 B
Makefile
#
|
|
# Makefile
|
|
#
|
|
# Make file for chan_misdn support
|
|
#
|
|
|
|
# Verify those options with main Makefile
|
|
CFLAGS = -pipe -c -Wall -ggdb
|
|
ifeq ($(shell uname -m),x86_64)
|
|
CFLAGS += -fPIC
|
|
endif
|
|
SOURCES = isdn_lib.c isdn_msg_parser.c
|
|
OBJDIR = .
|
|
OBJS = isdn_lib.o isdn_msg_parser.o fac.o
|
|
|
|
all: chan_misdn_lib.a
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -o $@ $<
|
|
|
|
chan_misdn_lib.a: $(OBJS)
|
|
ar crv $@ $(OBJS)
|
|
|
|
|
|
portinfo: portinfo.o
|
|
$(CC) -L/usr/lib -o $@ $^ -lisdnnet -lmISDN -lpthread
|
|
|
|
|
|
clean:
|
|
rm -rf *.a *.o *.so portinfo
|