mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
dep fix, pbx fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -55,15 +55,17 @@ CHANNEL_LIBS+=$(shell [ -f /usr/include/nbs.h ] && echo "chan_nbs.so" )
|
||||
|
||||
#CFLAGS+=$(shell [ -f $(ZAPDIR)/libzap.a ] && echo "-I$(ZAPDIR)")
|
||||
|
||||
all: $(CHANNEL_LIBS)
|
||||
all: depend $(CHANNEL_LIBS)
|
||||
|
||||
clean:
|
||||
rm -f *.so *.o
|
||||
rm -f *.so *.o .depend
|
||||
rm -f busy.h ringtone.h gentone gentone-ulaw
|
||||
|
||||
%.so : %.o
|
||||
$(CC) -shared -Xlinker -x -o $@ $<
|
||||
|
||||
include .depend
|
||||
|
||||
gentone: gentone.c
|
||||
$(CC) -o gentone gentone.c -lm
|
||||
|
||||
@@ -111,3 +113,9 @@ chan_vpb.so: chan_vpb.o
|
||||
|
||||
install: all
|
||||
for x in $(CHANNEL_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
|
||||
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
|
Reference in New Issue
Block a user