Changeset 1577 for trunk/Clp/Makefile.in


Ignore:
Timestamp:
Jul 22, 2010 6:03:20 AM (9 years ago)
Author:
stefan
Message:

create xxx_addlibs.txt after installation by using only .pc files of installed projects; rerun autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/Makefile.in

    r1573 r1577  
    9494  esac;
    9595am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    96 am__installdirs = "$(DESTDIR)$(addlibsdir)" \
    97         "$(DESTDIR)$(pkgconfiglibdir)"
    98 addlibsDATA_INSTALL = $(INSTALL_DATA)
     96am__installdirs = "$(DESTDIR)$(pkgconfiglibdir)"
    9997pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
    100 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
     98DATA = $(pkgconfiglib_DATA)
    10199ETAGS = etags
    102100CTAGS = ctags
     
    151149COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@
    152150COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
     151COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    153152CPP = @CPP@
    154153CPPFLAGS = @CPPFLAGS@
     
    312311
    313312########################################################################
    314 #                  Installation of the addlibs file                    #
    315 ########################################################################
    316 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/Clp
    317 @COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = clp_addlibs.txt
     313#                    Creation of the addlibs file                      #
     314########################################################################
    318315pkgconfiglibdir = $(libdir)/pkgconfig
    319316pkgconfiglib_DATA = clp.pc
     317@COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Clp
    320318
    321319########################################################################
     
    399397        -rm -f libtool
    400398uninstall-info-am:
    401 install-addlibsDATA: $(addlibs_DATA)
    402         @$(NORMAL_INSTALL)
    403         test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
    404         @list='$(addlibs_DATA)'; for p in $$list; do \
    405           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    406           f=$(am__strip_dir) \
    407           echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
    408           $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
    409         done
    410 
    411 uninstall-addlibsDATA:
    412         @$(NORMAL_UNINSTALL)
    413         @list='$(addlibs_DATA)'; for p in $$list; do \
    414           f=$(am__strip_dir) \
    415           echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
    416           rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
    417         done
    418399install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
    419400        @$(NORMAL_INSTALL)
     
    713694installdirs: installdirs-recursive
    714695installdirs-am:
    715         for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
     696        for dir in "$(DESTDIR)$(pkgconfiglibdir)"; do \
    716697          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    717698        done
     
    742723        @echo "This command is intended for maintainers to use"
    743724        @echo "it deletes files that may require special tools to rebuild."
     725@COIN_HAS_PKGCONFIG_FALSE@install-data-hook:
    744726clean: clean-recursive
    745727
     
    762744info-am:
    763745
    764 install-data-am: install-addlibsDATA install-pkgconfiglibDATA
     746install-data-am: install-pkgconfiglibDATA
     747        @$(NORMAL_INSTALL)
     748        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
    765749
    766750install-exec-am: install-exec-local
     
    790774ps-am:
    791775
    792 uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \
     776uninstall-am: uninstall-info-am uninstall-local \
    793777        uninstall-pkgconfiglibDATA
    794778
     
    802786        distclean-local distclean-recursive distclean-tags \
    803787        distcleancheck distdir distuninstallcheck dvi dvi-am html \
    804         html-am info info-am install install-addlibsDATA install-am \
    805         install-data install-data-am install-exec install-exec-am \
     788        html-am info info-am install install-am install-data \
     789        install-data-am install-data-hook install-exec install-exec-am \
    806790        install-exec-local install-info install-info-am install-man \
    807791        install-pkgconfiglibDATA install-strip installcheck \
     
    810794        mostlyclean mostlyclean-generic mostlyclean-libtool \
    811795        mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
    812         uninstall uninstall-addlibsDATA uninstall-am uninstall-info-am \
    813         uninstall-local uninstall-pkgconfiglibDATA
     796        uninstall uninstall-am uninstall-info-am uninstall-local \
     797        uninstall-pkgconfiglibDATA
    814798
    815799
     
    835819.PHONY: test unitTest
    836820
    837 @COIN_HAS_PKGCONFIG_TRUE@clp_addlibs.txt : clp.pc
    838 @COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs clp > clp_addlibs.txt
     821@COIN_HAS_PKGCONFIG_TRUE@install-data-hook:
     822@COIN_HAS_PKGCONFIG_TRUE@       @$(mkdir_p) "$(addlibsdir)"
     823@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ PKG_CONFIG_DISABLE_UNINSTALLED= \
     824@COIN_HAS_PKGCONFIG_TRUE@       $(PKG_CONFIG) --libs clp > $(addlibsdir)/clp_addlibs.txt
    839825
    840826install-doc: $(DocFiles)
Note: See TracChangeset for help on using the changeset viewer.