diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-06 00:00:20 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-06 00:00:20 +0000 |
commit | f36b76d24a44a688ec18b0c3ffc01f7244d1ad13 (patch) | |
tree | a420a69f2f690405d9bc3d526e46be177d3ff80d /channels/Makefile | |
parent | 1d55ef4a3e78c00ce605a5a9abc30cf0eecfeb80 (diff) |
dep fix, pbx fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@962 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rwxr-xr-x | channels/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile index 5b055703b..fb018962d 100755 --- a/channels/Makefile +++ b/channels/Makefile @@ -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` + |