Ignore:
Timestamp:
May 8, 2010 9:54:35 AM (9 years ago)
Author:
stefan
Message:

copy over pkg-config setup and making thirdparty projects installable projects from split branch

File:
1 edited

Legend:

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

    r1411 r1548  
    1515@SET_MAKE@
    1616
    17 # Copyright (C) 2003, 2006 International Business Machines and others.
     17# Copyright (C) 2003, 2006, 2009 International Business Machines and others.
    1818# All Rights Reserved.
    1919# This file is distributed under the Common Public License.
     
    2828#                    Documentation installation                        #
    2929########################################################################
     30
    3031
    3132srcdir = @srcdir@
     
    5657        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5758        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    58         $(srcdir)/Makefile.in $(top_srcdir)/configure
     59        $(srcdir)/Makefile.in \
     60        $(srcdir)/coinfiltersqp-uninstalled.pc.in \
     61        $(srcdir)/coinfiltersqp.pc.in $(top_srcdir)/configure
    5962@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6063@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6871 configure.lineno configure.status.lineno
    6972mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES =
    71 LTLIBRARIES = $(noinst_LTLIBRARIES)
     73CONFIG_CLEAN_FILES = coinfiltersqp.pc coinfiltersqp-uninstalled.pc
     74am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     75am__vpath_adj = case $$p in \
     76    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     77    *) f=$$p;; \
     78  esac;
     79am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     80am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     81        "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"
     82thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     83LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    7284libfiltersqp_la_LIBADD =
    73 nodist_libfiltersqp_la_OBJECTS = auxil.lo bqpd.lo filteraux.lo \
    74         filter.lo QPsolves.lo scaling.lo sparseA.lo sparseL.lo util.lo \
    75         wdotd.lo
    76 libfiltersqp_la_OBJECTS = $(nodist_libfiltersqp_la_OBJECTS)
     85am_libfiltersqp_la_OBJECTS = auxil.lo bqpd.lo filteraux.lo filter.lo \
     86        QPsolves.lo scaling.lo sparseA.lo sparseL.lo util.lo wdotd.lo
     87libfiltersqp_la_OBJECTS = $(am_libfiltersqp_la_OBJECTS)
    7788DEFAULT_INCLUDES = -I. -I$(srcdir)
    7889F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
     
    8293F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \
    8394        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    84 SOURCES = $(nodist_libfiltersqp_la_SOURCES)
    85 DIST_SOURCES =
     95SOURCES = $(libfiltersqp_la_SOURCES)
     96DIST_SOURCES = $(libfiltersqp_la_SOURCES)
     97addlibsDATA_INSTALL = $(INSTALL_DATA)
     98pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     99DATA = $(addlibs_DATA) $(pkgconfiglib_DATA)
    86100ETAGS = etags
    87101CTAGS = ctags
     
    97111distuninstallcheck_listfiles = find . -type f -print
    98112distcleancheck_listfiles = find . -type f -print
     113ABSBUILDDIR = @ABSBUILDDIR@
    99114ACLOCAL = @ACLOCAL@
    100115ADDLIBS = @ADDLIBS@
     
    117132CDEFS = @CDEFS@
    118133CFLAGS = @CFLAGS@
     134COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     135COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     136COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
    119137CPP = @CPP@
    120138CPPFLAGS = @CPPFLAGS@
     
    137155FADDLIBS = @FADDLIBS@
    138156FFLAGS = @FFLAGS@
     157FLIBS = @FLIBS@
    139158HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    140159HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    168187PACKAGE_VERSION = @PACKAGE_VERSION@
    169188PATH_SEPARATOR = @PATH_SEPARATOR@
     189PKG_CONFIG = @PKG_CONFIG@
    170190RANLIB = @RANLIB@
    171191RPATH_FLAGS = @RPATH_FLAGS@
     
    175195VERSION = @VERSION@
    176196VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
     197_SVN_REV = @_SVN_REV@
    177198abs_bin_dir = @abs_bin_dir@
    178199abs_include_dir = @abs_include_dir@
     
    187208ac_ct_STRIP = @ac_ct_STRIP@
    188209ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     210ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    189211am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    190212am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    207229have_automake = @have_automake@
    208230have_svn = @have_svn@
     231have_svnversion = @have_svnversion@
    209232host = @host@
    210233host_alias = @host_alias@
     
    230253AUTOMAKE_OPTIONS = foreign
    231254EXTRA_DIST = $(am__append_1)
    232 noinst_LTLIBRARIES = libfiltersqp.la
    233 nodist_libfiltersqp_la_SOURCES = \
     255thirdpartylibdir = $(libdir)/coin/ThirdParty
     256thirdpartylib_LTLIBRARIES = libfiltersqp.la
     257libfiltersqp_la_SOURCES = \
    234258        source/src/auxil.f \
    235259        source/src/bqpd.f \
     
    244268
    245269libfiltersqp_la_LDFLAGS = $(LT_LDFLAGS)
     270@COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/ThirdParty/FilterSQP
     271@COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = filtersqp_addlibs.txt
     272pkgconfiglibdir = $(libdir)/pkgconfig
     273pkgconfiglib_DATA = coinfiltersqp.pc
    246274
    247275########################################################################
    248276#                         Maintainer Stuff                             #
    249277########################################################################
     278CLEANFILES = filtersqp_addlibs.txt
    250279
    251280# Files that are generated and should be cleaned with make distclean
    252281DISTCLEANFILES = $(am__append_2) $(VPATH_DISTCLEANFILES)
    253282DocFiles = README AUTHORS LICENSE
    254 DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
     283DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
    255284all: all-am
    256285
     
    290319$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    291320        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    292 
    293 clean-noinstLTLIBRARIES:
    294         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    295         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     321coinfiltersqp.pc: $(top_builddir)/config.status $(srcdir)/coinfiltersqp.pc.in
     322        cd $(top_builddir) && $(SHELL) ./config.status $@
     323coinfiltersqp-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/coinfiltersqp-uninstalled.pc.in
     324        cd $(top_builddir) && $(SHELL) ./config.status $@
     325install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
     326        @$(NORMAL_INSTALL)
     327        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     328        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     329          if test -f $$p; then \
     330            f=$(am__strip_dir) \
     331            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     332            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     333          else :; fi; \
     334        done
     335
     336uninstall-thirdpartylibLTLIBRARIES:
     337        @$(NORMAL_UNINSTALL)
     338        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     339          p=$(am__strip_dir) \
     340          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     341          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
     342        done
     343
     344clean-thirdpartylibLTLIBRARIES:
     345        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     346        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    296347          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    297348          test "$$dir" != "$$p" || dir=.; \
     
    300351        done
    301352libfiltersqp.la: $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_DEPENDENCIES)
    302         $(F77LINK) $(libfiltersqp_la_LDFLAGS) $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_LIBADD) $(LIBS)
     353        $(F77LINK) -rpath $(thirdpartylibdir) $(libfiltersqp_la_LDFLAGS) $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_LIBADD) $(LIBS)
    303354
    304355mostlyclean-compile:
     
    356407        -rm -f libtool
    357408uninstall-info-am:
     409install-addlibsDATA: $(addlibs_DATA)
     410        @$(NORMAL_INSTALL)
     411        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     412        @list='$(addlibs_DATA)'; for p in $$list; do \
     413          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     414          f=$(am__strip_dir) \
     415          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     416          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     417        done
     418
     419uninstall-addlibsDATA:
     420        @$(NORMAL_UNINSTALL)
     421        @list='$(addlibs_DATA)'; for p in $$list; do \
     422          f=$(am__strip_dir) \
     423          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     424          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     425        done
     426install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
     427        @$(NORMAL_INSTALL)
     428        test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
     429        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     430          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     431          f=$(am__strip_dir) \
     432          echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     433          $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     434        done
     435
     436uninstall-pkgconfiglibDATA:
     437        @$(NORMAL_UNINSTALL)
     438        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     439          f=$(am__strip_dir) \
     440          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     441          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     442        done
    358443
    359444ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    408493        $(am__remove_distdir)
    409494        mkdir $(distdir)
    410         $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
     495        $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
    411496        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    412497        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    534619check-am: all-am
    535620check: check-am
    536 all-am: Makefile $(LTLIBRARIES)
     621all-am: Makefile $(LTLIBRARIES) $(DATA)
    537622installdirs:
     623        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \
     624          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     625        done
    538626install: install-am
    539627install-exec: install-exec-am
     
    553641
    554642clean-generic:
     643        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
    555644
    556645distclean-generic:
     
    563652clean: clean-am
    564653
    565 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     654clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    566655        mostlyclean-am
    567656
     
    582671info-am:
    583672
    584 install-data-am:
     673install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
     674        install-thirdpartylibLTLIBRARIES
    585675
    586676install-exec-am:
     
    611701ps-am:
    612702
    613 uninstall-am: uninstall-info-am
     703uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     704        uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
    614705
    615706.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    616         clean-generic clean-libtool clean-noinstLTLIBRARIES ctags dist \
    617         dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
    618         distcheck distclean distclean-compile distclean-generic \
    619         distclean-libtool distclean-tags distcleancheck distdir \
    620         distuninstallcheck dvi dvi-am html html-am info info-am \
    621         install install-am install-data install-data-am install-exec \
    622         install-exec-am install-info install-info-am install-man \
    623         install-strip installcheck installcheck-am installdirs \
    624         maintainer-clean maintainer-clean-generic mostlyclean \
    625         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    626         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    627         uninstall-info-am
    628 
     707        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     708        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     709        dist-zip distcheck distclean distclean-compile \
     710        distclean-generic distclean-libtool distclean-tags \
     711        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     712        html-am info info-am install install-addlibsDATA install-am \
     713        install-data install-data-am install-exec install-exec-am \
     714        install-info install-info-am install-man \
     715        install-pkgconfiglibDATA install-strip \
     716        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     717        installdirs maintainer-clean maintainer-clean-generic \
     718        mostlyclean mostlyclean-compile mostlyclean-generic \
     719        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     720        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     721        uninstall-pkgconfiglibDATA uninstall-thirdpartylibLTLIBRARIES
     722
     723
     724@COIN_HAS_PKGCONFIG_TRUE@filtersqp_addlibs.txt : coinfiltersqp.pc
     725@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ --libs coinfiltersqp > filtersqp_addlibs.txt
    629726
    630727install-doc: $(DocFiles)
Note: See TracChangeset for help on using the changeset viewer.