diff --git a/Makefile.in b/Makefile.in index 6931eabf49..5822963584 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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.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.`uname -s`.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 diff --git a/modmake.sh b/modmake.Linux.sh old mode 100644 new mode 100755 similarity index 100% rename from modmake.sh rename to modmake.Linux.sh