summaryrefslogtreecommitdiff
path: root/GNUmakefile-cross
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-09 04:01:36 -0500
committerJeffrey Walton <noloader@gmail.com>2017-03-09 04:01:36 -0500
commit86a45fd1cab703ddb345eb461163fd2ff22d12ea (patch)
tree0113955ecc89f0dafe742f407f3cec3cf04e9590 /GNUmakefile-cross
parent804feccfd9030877a7ac41db13d92283b05bc63b (diff)
downloadcryptopp-git-86a45fd1cab703ddb345eb461163fd2ff22d12ea.tar.gz
Suppress unneeded output in Makefiles
Diffstat (limited to 'GNUmakefile-cross')
-rwxr-xr-xGNUmakefile-cross43
1 files changed, 22 insertions, 21 deletions
diff --git a/GNUmakefile-cross b/GNUmakefile-cross
index f301965a..60c500a3 100755
--- a/GNUmakefile-cross
+++ b/GNUmakefile-cross
@@ -160,21 +160,27 @@ lean: static dynamic cryptest.exe
.PHONY: clean
clean:
- -$(RM) cryptest.exe libcryptopp.a libcryptopp.so$(SOLIB_VERSION_SUFFIX) libcryptopp.dylib
-ifeq ($(HAS_SOLIB_VERSION),1)
- -$(RM) libcryptopp.so libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
-endif
- -$(RM) adhoc.cpp.o adhoc.cpp.proto.o $(LIBOBJS) $(TESTOBJS)
-ifneq ($(wildcard *.exe.dSYM),)
- -$(RM) -r *.exe.dSYM/
-endif
-ifneq ($(wildcard *.dylib.dSYM),)
- -$(RM) -r *.dylib.dSYM/
-endif
+ -$(RM) adhoc.cpp.o adhoc.cpp.proto.o $(LIBOBJS) $(TESTOBJS) $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS)
+ @-$(RM) libcryptopp.a libcryptopp.dylib cryptopp.dll libcryptopp.dll.a libcryptopp.import.a
+ @-$(RM) libcryptopp.so libcryptopp.so$(SOLIB_COMPAT_SUFFIX) libcryptopp.so$(SOLIB_VERSION_SUFFIX)
+ @-$(RM) cryptest.exe dlltest.exe cryptest.import.exe cryptest.info ct rdrand-???.o
+ @-$(RM) *.gcno *.gcda *.stackdump core-*
+ @-$(RM) /tmp/adhoc.exe
+ @-$(RM) -r /tmp/cryptopp_test/
+ @-$(RM) -r *.exe.dSYM/
+ @-$(RM) -r *.dylib.dSYM/
+ @-$(RM) -r cov-int/
.PHONY: distclean
distclean: clean
- -$(RM) adhoc.cpp adhoc.cpp.copied GNUmakefile.deps cryptopp.tgz *.o *.ii *.s
+ -$(RM) adhoc.cpp adhoc.cpp.copied GNUmakefile.deps benchmarks.html cryptest.txt cryptest-*.txt
+ @-$(RM) CMakeCache.txt Makefile CTestTestfile.cmake cmake_install.cmake cryptopp-config-version.cmake
+ @-$(RM) cryptopp.tgz *.o *.bc *.ii *.s *~
+ @-$(RM) -r CMakeFiles/
+ @-$(RM) -r $(DOCUMENT_DIRECTORY)/
+ @-$(RM) -r TestCoverage/
+ @-$(RM) cryptopp$(LIB_VER)\.*
+ @-$(RM) CryptoPPRef.zip
.PHONY: install
install:
@@ -210,15 +216,10 @@ remove uninstall:
-$(RM) -r $(DESTDIR)$(INCLUDEDIR)/cryptopp
-$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.a
-$(RM) $(DESTDIR)$(BINDIR)/cryptest.exe
-ifneq ($(IS_IOS),0)
- -$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.dylib
-else
- -$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
-ifeq ($(HAS_SOLIB_VERSION),1)
- -$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
- -$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.so
-endif
-endif
+ @-$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.dylib
+ @-$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX)
+ @-$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX)
+ @-$(RM) $(DESTDIR)$(LIBDIR)/libcryptopp.so
libcryptopp.a: $(LIBOBJS)
$(AR) $(ARFLAGS) $@ $(LIBOBJS)