![kpfleming](/assets/img/avatar_default.png)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9163 f38db490-d61c-443f-a65b-d21fe96a405b
38 lines
623 B
Makefile
38 lines
623 B
Makefile
#
|
|
# Makefile
|
|
#
|
|
# Make file for chan_misdn support
|
|
#
|
|
|
|
# Verify those options with main Makefile
|
|
CFLAGS = -pipe -c -Wall
|
|
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)
|
|
|
|
misdn:
|
|
@mkdir -p lib
|
|
cd lib ; cvs -d:pserver:anonymous:readonly@cvs.isdn4linux.de:/i4ldev co -r mqueue mISDN mISDNuser ;
|
|
cd lib/mISDN ; make install
|
|
cd lib/mISDNuser ; make install
|
|
|
|
FORCE:
|
|
|
|
clean:
|
|
rm -rf *.a *.o *.so
|
|
rm -rf lib
|