Solaris `make' problem

Mark Mitchell mark@codesourcery.com
Sun Oct 29 20:59:00 GMT 2000


The libstdc++-v3/src/Makefile doesn't work with the ordinary make on
Solaris (/usr/ccs/bin/make).

  $(headers:%=$(myincludep)/%): $(myincludep)/%: %
	  if test -z "$(MULTISUBDIR)"; then \
	  $(mkinstalldirs) $(@D); \
	  echo " $(INSTALL_DATA) $^ $@"; \
	  $(INSTALL_DATA) $^ $@; \
	  fi;

This bit is the problem; make says:

  make: Fatal error in reader: Makefile, line 522: Extra `:', `::', or `:=' on dependency line

Would someone mind taking a whack at reworking that to not use GNU
make functionality?  In general, GCC can be built with just a POSIX
make, and the BSD folks have lobbied hard to keep this requirement.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Libstdc++ mailing list