diff --git a/channels/Makefile b/channels/Makefile index 1f0b790d2b6f6c7613c3becec012633c72e6c7a0..b0f14f4f1e5c0f9b422c5fafebf8434a78f31ce3 100755 --- a/channels/Makefile +++ b/channels/Makefile @@ -11,7 +11,10 @@ # the GNU General Public License # -CHANNEL_LIBS=chan_vofr.so chan_ixj.so chan_modem.so chan_modem_aopen.so +CHANNEL_LIBS=chan_vofr.so chan_modem.so \ + chan_modem_aopen.so chan_iax.so chan_oss.so + +CHANNEL_LIBS+=$(shell [ -f /usr/include/linux/ixjuser.h ] && echo chan_phone.so) CFLAGS+=#-DVOFRDUMPER @@ -23,5 +26,8 @@ clean: %.so : %.o $(CC) -shared -Xlinker -x -o $@ $< +#chan_modem.so : chan_modem.o +# $(CC) -rdynamic -shared -Xlinker -x -o $@ $< + install: all for x in $(CHANNEL_LIBS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done