
all:

INSTALL_JUNK = \
$(CCA_INSTALL_ROOT)/cxx/doc/Makefile \
$(CCA_INSTALL_ROOT)/cxx/doc/CVS \
$(CCA_INSTALL_ROOT)/cxx/lib/Makefile \
$(CCA_INSTALL_ROOT)/cxx/lib/CVS \
$(CCA_INSTALL_ROOT)/cxx/Makefile \
$(CCA_INSTALL_ROOT)/cxx/eg/CVS \
$(CCA_INSTALL_ROOT)/cxx/eg/ccaComponent/SimpleStamper.o \
$(CCA_INSTALL_ROOT)/cxx/eg/ccaComponent/CVS \
$(CCA_INSTALL_ROOT)/cxx/eg/include/CVS \
$(CCA_INSTALL_ROOT)/cxx/include/CVS \
$(CCA_INSTALL_ROOT)/cxx/include/ports/CVS


install.local:
	@if test "X$(CCA_INSTALL_ROOT)" = "X" ; then \
		echo "* * * Cannot install cxx. CCA_INSTALL_ROOT undefined"; \
	else \
		mkdir -p $(CCA_INSTALL_ROOT)/cxx; \
		cp -r doc dox eg include lib $(CCA_INSTALL_ROOT)/cxx; \
		rm -rf $(INSTALL_JUNK); \
		find $(CCA_INSTALL_ROOT)/cxx -type f -exec chmod 644 {} \; ; \
	fi

