# Generated automatically from Makefile.install.in by configure. include /home/jacklm/cca/workspace/trunk/install/csn/share/cca-spec-neo-0.2.4/MakeIncl_CCA_Neo_Vars BUILD_ROOT=/home/jacklm/cca/workspace/trunk/build/cca-spec-neo/eg-neo # rerun configure with a different --prefix=... to change INSTALL_ROOT. # default is current directory. INSTALL_ROOT= $(DESTDIR)/home/jacklm/cca/workspace/trunk/install/csn PKG_NAME=eg-neo-0.9.0 PROG_SUFFIX=-0.9.0 COMPONENT=SimpleStamper LTLIB=lib$(COMPONENT)$(PROG_SUFFIX).la INSTALL_FILES= \ src/EG_Neo_Vars.sh \ src/MakeIncl_EG_Neo_Vars INSTALL_BINS= \ eg-neo-config LN_S=ln -s INSTALL=/usr/bin/install -c INSTALL_DATA=${INSTALL} -m 644 all: done: @echo "#======================================" @echo "Done with our best shot at everything." @echo "#======================================" # check the existence of the install root location $(INSTALL_ROOT): @if test ! -d $(INSTALL_ROOT) ; then \ echo "Creating $(INSTALL_ROOT)"; \ else \ echo "Creating $(INSTALL_ROOT) already done."; \ fi @-mkdir -p $(INSTALL_ROOT) @if test ! -d $(INSTALL_ROOT) ; then \ echo "Unable to create $(INSTALL_ROOT)"; \ exit 1 ; \ fi @if test ! -w $(INSTALL_ROOT) ; then \ echo "* * * You don't have permission to install in $(INSTALL_ROOT)" ; \ exit 1 ; \ fi install: $(INSTALL_ROOT) install-files install-libs install-docs INSTALL_SUBDIRS= \ bin \ lib \ include \ include/$(PKG_NAME) \ include/$(PKG_NAME)/eg-neo-ports \ share \ share/$(PKG_NAME) \ share/$(PKG_NAME)/components \ share/doc \ share/doc/$(PKG_NAME) \ share/doc/$(PKG_NAME)/c++ install-subdirs: $(INSTALL_ROOT) @for i in $(INSTALL_SUBDIRS) /dev/null ; do \ if test $$i != "/dev/null" ; then \ if test ! -d $(INSTALL_ROOT)/$$i; then \ echo "Creating $(INSTALL_ROOT)/$$i"; \ mkdir -p $(INSTALL_ROOT)/$$i ; \ chmod 755 $(INSTALL_ROOT)/$$i; \ fi; \ fi ; \ done install-libs: install-subdirs $(INSTALL_DATA) src/eg_neo_SimpleStamper.cca \ src/eg_neo_SimpleStamper*depl.cca \ $(INSTALL_ROOT)/share/$(PKG_NAME)/components @if test "x$(INSTALL_ROOT)" = "x." -o "x$(INSTALL_ROOT)" = "x$(BUILD_ROOT)"; then \ echo "skipping libs-- installing in self requested"; \ else \ $(NEOCCA_BABEL_LIBTOOL) --mode=install cp src/$(LTLIB) $(INSTALL_ROOT)/lib/$(LTLIB); \ $(NEOCCA_BABEL_LIBTOOL) --mode=finish $(LIBTOOL_FINISHFLAGS) $(INSTALL_ROOT)/lib/$(LTLIB); \ fi install-files: install-subdirs @for i in $(INSTALL_FILES) /dev/null ; do \ if test $$i != "/dev/null" -a -f $$i ; then \ echo "Installing $$i"; \ $(INSTALL_DATA) $$i $(INSTALL_ROOT)/share/$(PKG_NAME) ; \ fi ; \ done @for i in $(INSTALL_BINS) /dev/null ; do \ if test $$i != "/dev/null" -a -f src/$$i ; then \ echo "Installing $$i"; \ cp src/$$i src/$${i}$(PROG_SUFFIX) ; \ $(INSTALL) src/$${i}$(PROG_SUFFIX) $(INSTALL_ROOT)/bin ; \ if ! test -x $(INSTALL_ROOT)/bin/$$i ; then \ echo "Creating sym-link$ $(INSTALL_ROOT)/bin/$${i}" ; \ (pushd $(INSTALL_ROOT)/bin; $(LN_S) $${i}$(PROG_SUFFIX) $${i} ; popd) \ else \ echo "Replacing existing file or link $(INSTALL_ROOT)/bin/$${i}"; \ (pushd $(INSTALL_ROOT)/bin; mv $${i} $${i}.`date '+%Y%m%d_%H_%M_%S'` ; popd) ; \ (pushd $(INSTALL_ROOT)/bin; $(LN_S) $${i}$(PROG_SUFFIX) $${i} ; popd) \ fi ; \ else \ if test $$i != "/dev/null" ; then \ echo "!ERROR: Cannot find $$i to install from src/."; \ fi ; \ fi ; \ done @(flist=`ls -1 include/*.hh`; \ for i in $$flist /dev/null ; do \ if test $$i != "/dev/null" -a -f $$i ; then \ echo "Installing $$i"; \ $(INSTALL_DATA) $$i $(INSTALL_ROOT)/include/$(PKG_NAME) ; \ fi ; \ done) @(flist=`ls -1 include/eg-neo-ports/*.hh`; \ for i in $$flist /dev/null ; do \ if test $$i != "/dev/null" -a -f $$i ; then \ echo "Installing $$i"; \ $(INSTALL_DATA) $$i $(INSTALL_ROOT)/include/$(PKG_NAME)/eg-neo-ports ; \ fi ; \ done) install-docs: install-subdirs @if test -d dox/html ; then \ cp -r dox/html dox/man $(INSTALL_ROOT)/share/doc/$(PKG_NAME)/c++ ; \ fi .PHONY: $(INSTALL_ROOT)