Changeset 1436


Ignore:
Timestamp:
Nov 1, 2009 12:14:06 PM (11 years ago)
Author:
stefan
Message:

install .pc file

Location:
ThirdParty
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Metis/branches/BSPsplit/Makefile.am

    r1388 r1436  
    8787addlibs_DATA = README metis_addlibs.txt
    8888
     89pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
     90pkgconfiglib_DATA = metis.pc
     91
    8992# Suppress default defines from autoheader
    9093DEFS =
  • ThirdParty/Metis/branches/BSPsplit/Makefile.in

    r1430 r1436  
    8181am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    8282am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    83         "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"
     83        "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" \
     84        "$(DESTDIR)$(thirdpartyincludedir)"
    8485thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    8586LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     
    110111DIST_SOURCES = $(libcoinmetis_la_SOURCES)
    111112addlibsDATA_INSTALL = $(INSTALL_DATA)
    112 DATA = $(addlibs_DATA)
     113pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     114DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
    113115thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    114116HEADERS = $(thirdpartyinclude_HEADERS)
     
    339341addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Metis
    340342addlibs_DATA = README metis_addlibs.txt
     343pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
     344pkgconfiglib_DATA = metis.pc
    341345
    342346########################################################################
     
    891895          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
    892896          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     897        done
     898install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
     899        @$(NORMAL_INSTALL)
     900        test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
     901        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     902          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     903          f=$(am__strip_dir) \
     904          echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     905          $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     906        done
     907
     908uninstall-pkgconfiglibDATA:
     909        @$(NORMAL_UNINSTALL)
     910        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     911          f=$(am__strip_dir) \
     912          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     913          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
    893914        done
    894915install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     
    10891110all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
    10901111installdirs:
    1091         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     1112        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
    10921113          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    10931114        done
     
    11391160info-am:
    11401161
    1141 install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS \
     1162install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
     1163        install-thirdpartyincludeHEADERS \
    11421164        install-thirdpartylibLTLIBRARIES
    11431165
     
    11711193
    11721194uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    1173         uninstall-thirdpartyincludeHEADERS \
     1195        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
    11741196        uninstall-thirdpartylibLTLIBRARIES
    11751197
     
    11821204        html-am info info-am install install-addlibsDATA install-am \
    11831205        install-data install-data-am install-exec install-exec-am \
    1184         install-info install-info-am install-man install-strip \
     1206        install-info install-info-am install-man \
     1207        install-pkgconfiglibDATA install-strip \
    11851208        install-thirdpartyincludeHEADERS \
    11861209        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     
    11891212        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
    11901213        uninstall-addlibsDATA uninstall-am uninstall-info-am \
    1191         uninstall-thirdpartyincludeHEADERS \
     1214        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
    11921215        uninstall-thirdpartylibLTLIBRARIES
    11931216
  • ThirdParty/Mumps/branches/BSPsplit/Makefile.am

    r1388 r1436  
    9393addlibs_DATA = README mumps_addlibs.txt
    9494
     95pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
     96pkgconfiglib_DATA = mumps.pc
     97
    9598########################################################################
    9699#                         Maintainer Stuff                             #
  • ThirdParty/Mumps/branches/BSPsplit/Makefile.in

    r1435 r1436  
    7878am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    7979am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    80         "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"
     80        "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" \
     81        "$(DESTDIR)$(thirdpartyincludedir)"
    8182thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    8283LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     
    116117DIST_SOURCES =
    117118addlibsDATA_INSTALL = $(INSTALL_DATA)
    118 DATA = $(addlibs_DATA)
     119pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     120DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
    119121thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
    120122HEADERS = $(thirdpartyinclude_HEADERS)
     
    337339addlibsdir = $(prefix)/share/doc/coin/ThirdParty/Mumps
    338340addlibs_DATA = README mumps_addlibs.txt
     341pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
     342pkgconfiglib_DATA = mumps.pc
    339343
    340344########################################################################
     
    615619          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
    616620          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     621        done
     622install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
     623        @$(NORMAL_INSTALL)
     624        test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
     625        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     626          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     627          f=$(am__strip_dir) \
     628          echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     629          $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     630        done
     631
     632uninstall-pkgconfiglibDATA:
     633        @$(NORMAL_UNINSTALL)
     634        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     635          f=$(am__strip_dir) \
     636          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     637          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
    617638        done
    618639install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     
    813834all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
    814835installdirs:
    815         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     836        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
    816837          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    817838        done
     
    864885info-am:
    865886
    866 install-data-am: install-addlibsDATA install-thirdpartyincludeHEADERS \
     887install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
     888        install-thirdpartyincludeHEADERS \
    867889        install-thirdpartylibLTLIBRARIES
    868890
     
    896918
    897919uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    898         uninstall-thirdpartyincludeHEADERS \
     920        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
    899921        uninstall-thirdpartylibLTLIBRARIES
    900922
     
    907929        html-am info info-am install install-addlibsDATA install-am \
    908930        install-data install-data-am install-exec install-exec-am \
    909         install-info install-info-am install-man install-strip \
     931        install-info install-info-am install-man \
     932        install-pkgconfiglibDATA install-strip \
    910933        install-thirdpartyincludeHEADERS \
    911934        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     
    914937        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
    915938        uninstall-addlibsDATA uninstall-am uninstall-info-am \
    916         uninstall-thirdpartyincludeHEADERS \
     939        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
    917940        uninstall-thirdpartylibLTLIBRARIES
    918941
Note: See TracChangeset for help on using the changeset viewer.