Ignore:
Timestamp:
Jul 22, 2010 9:10:34 AM (9 years ago)
Author:
stefan
Message:

remove addlibs file in uninstall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/FilterSQP/trunk/Makefile.in

    r1584 r1650  
    7676am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    7777am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    78         "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"
     78        "$(DESTDIR)$(pkgconfiglibdir)"
    7979thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    8080LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     
    9292SOURCES = $(libfiltersqp_la_SOURCES)
    9393DIST_SOURCES = $(libfiltersqp_la_SOURCES)
    94 addlibsDATA_INSTALL = $(INSTALL_DATA)
    9594pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
    96 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
     95DATA = $(pkgconfiglib_DATA)
    9796ETAGS = etags
    9897CTAGS = ctags
     
    132131COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
    133132COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
     133COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    134134CPP = @CPP@
    135135CPPFLAGS = @CPPFLAGS@
     
    185185PACKAGE_VERSION = @PACKAGE_VERSION@
    186186PATH_SEPARATOR = @PATH_SEPARATOR@
     187PCADDLIBS = @PCADDLIBS@
    187188PKG_CONFIG = @PKG_CONFIG@
    188189RANLIB = @RANLIB@
     
    265266
    266267libfiltersqp_la_LDFLAGS = $(LT_LDFLAGS)
    267 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/ThirdParty/FilterSQP
    268 @COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = filtersqp_addlibs.txt
    269268pkgconfiglibdir = $(libdir)/pkgconfig
    270269pkgconfiglib_DATA = coinfiltersqp.pc
     270@COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/ThirdParty/FilterSQP
    271271
    272272########################################################################
    273273#                         Maintainer Stuff                             #
    274274########################################################################
    275 CLEANFILES = filtersqp_addlibs.txt
     275CLEANFILES =
    276276
    277277# Files that are generated and should be cleaned with make distclean
     
    404404        -rm -f libtool
    405405uninstall-info-am:
    406 install-addlibsDATA: $(addlibs_DATA)
    407         @$(NORMAL_INSTALL)
    408         test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
    409         @list='$(addlibs_DATA)'; for p in $$list; do \
    410           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
    411           f=$(am__strip_dir) \
    412           echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
    413           $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
    414         done
    415 
    416 uninstall-addlibsDATA:
    417         @$(NORMAL_UNINSTALL)
    418         @list='$(addlibs_DATA)'; for p in $$list; do \
    419           f=$(am__strip_dir) \
    420           echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
    421           rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
    422         done
    423406install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
    424407        @$(NORMAL_INSTALL)
     
    618601all-am: Makefile $(LTLIBRARIES) $(DATA)
    619602installdirs:
    620         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
     603        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
    621604          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    622605        done
     
    647630        @echo "This command is intended for maintainers to use"
    648631        @echo "it deletes files that may require special tools to rebuild."
     632@COIN_HAS_PKGCONFIG_FALSE@install-data-hook:
     633@COIN_HAS_PKGCONFIG_FALSE@uninstall-hook:
    649634clean: clean-am
    650635
     
    668653info-am:
    669654
    670 install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
     655install-data-am: install-pkgconfiglibDATA \
    671656        install-thirdpartylibLTLIBRARIES
     657        @$(NORMAL_INSTALL)
     658        $(MAKE) $(AM_MAKEFLAGS) install-data-hook
    672659
    673660install-exec-am:
     
    698685ps-am:
    699686
    700 uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    701         uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
     687uninstall-am: uninstall-info-am uninstall-pkgconfiglibDATA \
     688        uninstall-thirdpartylibLTLIBRARIES
     689        @$(NORMAL_INSTALL)
     690        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
    702691
    703692.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
     
    707696        distclean-generic distclean-libtool distclean-tags \
    708697        distcleancheck distdir distuninstallcheck dvi dvi-am html \
    709         html-am info info-am install install-addlibsDATA install-am \
    710         install-data install-data-am install-exec install-exec-am \
     698        html-am info info-am install install-am install-data \
     699        install-data-am install-data-hook install-exec install-exec-am \
    711700        install-info install-info-am install-man \
    712701        install-pkgconfiglibDATA install-strip \
     
    715704        mostlyclean mostlyclean-compile mostlyclean-generic \
    716705        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
    717         uninstall-addlibsDATA uninstall-am uninstall-info-am \
     706        uninstall-am uninstall-hook uninstall-info-am \
    718707        uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
    719708
    720709
    721 @COIN_HAS_PKGCONFIG_TRUE@filtersqp_addlibs.txt : coinfiltersqp.pc
    722 @COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ --libs coinfiltersqp > filtersqp_addlibs.txt
     710@COIN_HAS_PKGCONFIG_TRUE@install-data-hook:
     711@COIN_HAS_PKGCONFIG_TRUE@       @$(mkdir_p) "$(addlibsdir)"
     712@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
     713@COIN_HAS_PKGCONFIG_TRUE@       $(PKG_CONFIG) --libs coinfiltersqp > $(addlibsdir)/filtersqp_addlibs.txt
     714
     715@COIN_HAS_PKGCONFIG_TRUE@uninstall-hook:
     716@COIN_HAS_PKGCONFIG_TRUE@       rm -f $(addlibsdir)/filtersqp_addlibs.txt
    723717
    724718install-doc: $(DocFiles)
Note: See TracChangeset for help on using the changeset viewer.