Fixed make clean when configured --disable-asteriskssl
authorDavid M. Lee <dlee@digium.com>
Thu, 13 Sep 2012 20:05:54 +0000 (20:05 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 13 Sep 2012 20:05:54 +0000 (20:05 +0000)
........

Merged revisions 373047 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373048 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index a287e13..feedf22 100644 (file)
@@ -278,7 +278,10 @@ ifneq ($(LDCONFIG),)
 endif
 
 clean::
-       rm -f asterisk libasteriskssl.o $(ASTSSL_LIB) $(ASTSSL_LIB).*
+       rm -f asterisk libasteriskssl.o
+ifeq ($(AST_ASTERISKSSL),yes)
+       rm -f $(ASTSSL_LIB) $(ASTSSL_LIB).*
+endif
        rm -f asterisk.exports libasteriskssl.exports
        @if [ -f editline/Makefile ]; then $(MAKE) -C editline distclean ; fi
        @$(MAKE) -C stdtime clean