--- GNUmakefile.orig 2010-11-04 18:18:03.000000000 +0100 +++ GNUmakefile 2010-11-04 19:21:29.000000000 +0100 @@ -102,8 +102,6 @@ ifeq ($(UNAME),SunOS) LDLIBS += -lnsl -lsocket M32OR64 = -m$(shell isainfo -b) -endif - ifneq ($(IS_SUN_CC),0) # override flags for CC Sun C++ compiler CXXFLAGS = -DNDEBUG -O -g0 -native -template=no%extdef $(M32OR64) LDFLAGS = @@ -117,6 +115,7 @@ CXXFLAGS += -DCRYPTOPP_INCLUDE_VECTOR_CC endif endif +endif SRCS = $(wildcard *.cpp) ifeq ($(SRCS),) # workaround wildcard function bug in GNU Make 3.77