engines/: get rid of cvs warnings on MacOS X, proper clean in ccgost.
[openssl.git] / engines / ccgost / Makefile
index 64be962f39a7042b64a88e452c76ade17b48716e..ebf8678e567e50383b693032d28a500dbeeafd86 100644 (file)
@@ -48,7 +48,7 @@ install:
                if [ "$(PLATFORM)" != "Cygwin" ]; then \
                        case "$(CFLAGS)" in \
                        *DSO_BEOS*) sfx=".so";; \
-                       *DSO_DLFCN*) sfx=".so";; \
+                       *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
                        *DSO_DL*) sfx=".sl";; \
                        *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
                        *) sfx=".bad";; \
@@ -85,7 +85,7 @@ dclean:
        mv -f Makefile.new $(MAKEFILE)
 
 clean:
-       rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll
+       rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll *.dylib
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.