From 693d609081031d17e57cc2b3ad7408947120dc48 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Tue, 29 Jan 2013 22:58:33 +0000 Subject: Move the ancillary iax2 source files into a separate sub-directory. This patch just moves the IAX2 source and header files into a separate iax2 sub-directory in the channels directory, similar to how the sip source files are structured. The only thing that was added was an #ifndef to protect provision.h from multiple inclusion. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380433 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'channels/Makefile') diff --git a/channels/Makefile b/channels/Makefile index 286f9d8ca..ae5a0645a 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -64,13 +64,14 @@ endif clean:: $(MAKE) -C misdn clean rm -f sip/*.o sip/*.i + rm -f iax2/*.o iax2/*.i rm -f h323/libchanh323.a h323/Makefile.ast h323/*.o h323/*.dep dist-clean:: rm -f h323/Makefile -$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o -iax2-parser.o iax2-provision.o: _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_iax2) +$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): $(subst .c,.o,$(wildcard iax2/*.c)) +$(subst .c,.o,$(wildcard iax2/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_iax2) $(if $(filter chan_sip,$(EMBEDDED_MODS)),modules.link,chan_sip.so): $(subst .c,.o,$(wildcard sip/*.c)) $(subst .c,.o,$(wildcard sip/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,chan_sip) $(if $(filter chan_dahdi,$(EMBEDDED_MODS)),modules.link,chan_dahdi.so): sig_analog.o sig_pri.o sig_ss7.o -- cgit v1.2.3