Changeset 1396 for ThirdParty/Blas


Ignore:
Timestamp:
Aug 1, 2009 2:25:28 PM (10 years ago)
Author:
stefan
Message:

add pkgconfig files

Location:
ThirdParty/Blas/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Blas/trunk/Makefile.am

    r1377 r1396  
    5656addlibs_DATA = blas_addlibs.txt README
    5757
     58pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
     59pkgconfiglib_DATA = blas.pc
     60
    5861########################################################################
    5962#                         Maintainer Stuff                             #
  • ThirdParty/Blas/trunk/Makefile.in

    r1377 r1396  
    5757        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5858        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    59         $(srcdir)/Makefile.in $(srcdir)/blas_addlibs.txt.in \
     59        $(srcdir)/Makefile.in $(srcdir)/blas-uninstalled.pc.in \
     60        $(srcdir)/blas.pc.in $(srcdir)/blas_addlibs.txt.in \
    6061        $(top_srcdir)/configure
    6162@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
     
    7071 configure.lineno configure.status.lineno
    7172mkinstalldirs = $(install_sh) -d
    72 CONFIG_CLEAN_FILES = blas_addlibs.txt
     73CONFIG_CLEAN_FILES = blas_addlibs.txt blas.pc blas-uninstalled.pc
    7374am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    7475am__vpath_adj = case $$p in \
     
    7879am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    7980am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
    80         "$(DESTDIR)$(addlibsdir)"
     81        "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"
    8182thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
    8283LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
     
    99100DIST_SOURCES = $(libcoinblas_la_SOURCES)
    100101addlibsDATA_INSTALL = $(INSTALL_DATA)
    101 DATA = $(addlibs_DATA)
     102pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     103DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
    102104ETAGS = etags
    103105CTAGS = ctags
     
    253255thirdpartylibdir = $(prefix)/lib/ThirdParty
    254256thirdpartylib_LTLIBRARIES = libcoinblas.la
     257pkgconfiglibdir = $(prefix)/lib/ThirdParty/pkgconfig
     258pkgconfiglib_DATA = blas.pc
    255259libcoinblas_la_SOURCES = \
    256260        dasum.f \
     
    343347blas_addlibs.txt: $(top_builddir)/config.status $(srcdir)/blas_addlibs.txt.in
    344348        cd $(top_builddir) && $(SHELL) ./config.status $@
     349blas.pc: $(top_builddir)/config.status $(srcdir)/blas.pc.in
     350        cd $(top_builddir) && $(SHELL) ./config.status $@
     351blas-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/blas-uninstalled.pc.in
     352        cd $(top_builddir) && $(SHELL) ./config.status $@
    345353install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
    346354        @$(NORMAL_INSTALL)
     
    413421          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
    414422          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     423        done
     424install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
     425        @$(NORMAL_INSTALL)
     426        test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
     427        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     428          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     429          f=$(am__strip_dir) \
     430          echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     431          $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     432        done
     433
     434uninstall-pkgconfiglibDATA:
     435        @$(NORMAL_UNINSTALL)
     436        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     437          f=$(am__strip_dir) \
     438          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     439          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
    415440        done
    416441
     
    594619all-am: Makefile $(LTLIBRARIES) $(DATA)
    595620installdirs:
    596         for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)"; do \
     621        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
    597622          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    598623        done
     
    643668info-am:
    644669
    645 install-data-am: install-addlibsDATA install-thirdpartylibLTLIBRARIES
     670install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
     671        install-thirdpartylibLTLIBRARIES
    646672
    647673install-exec-am:
     
    673699
    674700uninstall-am: uninstall-addlibsDATA uninstall-info-am \
    675         uninstall-thirdpartylibLTLIBRARIES
     701        uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
    676702
    677703.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
     
    683709        html-am info info-am install install-addlibsDATA install-am \
    684710        install-data install-data-am install-exec install-exec-am \
    685         install-info install-info-am install-man install-strip \
     711        install-info install-info-am install-man \
     712        install-pkgconfiglibDATA install-strip \
    686713        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
    687714        installdirs maintainer-clean maintainer-clean-generic \
     
    689716        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
    690717        uninstall-addlibsDATA uninstall-am uninstall-info-am \
    691         uninstall-thirdpartylibLTLIBRARIES
     718        uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
    692719
    693720
  • ThirdParty/Blas/trunk/configure

    r1377 r1396  
    2036120361#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    2036220362
    20363                     ac_config_files="$ac_config_files Makefile blas_addlibs.txt"
     20363                                        ac_config_files="$ac_config_files Makefile blas_addlibs.txt blas.pc blas-uninstalled.pc"
    2036420364
    2036520365
     
    2103321033  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    2103421034  "blas_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES blas_addlibs.txt" ;;
     21035  "blas.pc" ) CONFIG_FILES="$CONFIG_FILES blas.pc" ;;
     21036  "blas-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES blas-uninstalled.pc" ;;
    2103521037  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2103621038  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  • ThirdParty/Blas/trunk/configure.ac

    r1377 r1396  
    6868#AM_CONDITIONAL(SKIPMAKE, test -z "$MAKEOKFILE")
    6969
    70 AC_CONFIG_FILES([Makefile blas_addlibs.txt])
     70AC_CONFIG_FILES([Makefile blas_addlibs.txt blas.pc blas-uninstalled.pc])
    7171
    7272AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.