update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@135 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
919a1c0a1d
commit
d4f2f2f363
|
@ -77,7 +77,7 @@ freeswitch_LDFLAGS = -static -lfreeswitch
|
|||
|
||||
modules: $(NAME)
|
||||
@echo making modules
|
||||
@cd src/mod && for i in $(shell cat modules.conf | grep -v \#) ; do echo making $$i ; LDFLAGS="$(AM_LDFLAGS) -lfreeswitch" CFLAGS="$(AM_CFLAGS)" CC="$(CC)" MOD="$$i" $(PWD)/modmake.`uname -s`.sh $(PWD) $$i || exit 1; done
|
||||
@cd src/mod && for i in $(shell cat modules.conf | grep -v \#) ; do echo making $$i ; LDFLAGS="$(AM_LDFLAGS) -lfreeswitch" CFLAGS="$(AM_CFLAGS)" CC="$(CC)" MOD="$$i" $(PWD)/modmake.sh $(PWD) $$i || exit 1; done
|
||||
|
||||
modclean:
|
||||
@cd src/mod && for i in [a-z]* ; do echo making clean $$i ; CFLAGS="$(CFLAGS)" CC="$(CC)" MOD="$$i" make -f $(PWD)/generic_mod.mk -C $$i clean || exit 1; done
|
||||
|
|
|
@ -934,7 +934,7 @@ uninstall-info: uninstall-info-recursive
|
|||
|
||||
modules: $(NAME)
|
||||
@echo making modules
|
||||
@cd src/mod && for i in $(shell cat modules.conf | grep -v \#) ; do echo making $$i ; LDFLAGS="$(AM_LDFLAGS) -lfreeswitch" CFLAGS="$(AM_CFLAGS)" CC="$(CC)" MOD="$$i" $(PWD)/modmake.`uname -s`.sh $(PWD) $$i || exit 1; done
|
||||
@cd src/mod && for i in $(shell cat modules.conf | grep -v \#) ; do echo making $$i ; LDFLAGS="$(AM_LDFLAGS) -lfreeswitch" CFLAGS="$(AM_CFLAGS)" CC="$(CC)" MOD="$$i" $(PWD)/modmake.sh $(PWD) $$i || exit 1; done
|
||||
|
||||
modclean:
|
||||
@cd src/mod && for i in [a-z]* ; do echo making clean $$i ; CFLAGS="$(CFLAGS)" CC="$(CC)" MOD="$$i" make -f $(PWD)/generic_mod.mk -C $$i clean || exit 1; done
|
||||
|
|
|
@ -13,6 +13,6 @@ fi
|
|||
if [ -f $mod/Makefile ] ; then
|
||||
$make -C $mod
|
||||
else
|
||||
$make -f $pwd/generic_mod.mk -C $mod
|
||||
$make -f $pwd/generic_mod.`uname -s`.mk -C $mod
|
||||
fi
|
||||
|
Loading…
Reference in New Issue