Ignore:
Timestamp:
Aug 1, 2009 9:12:40 AM (10 years ago)
Author:
stefan
Message:

install libraries and header files

File:
1 edited

Legend:

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

    r998 r1388  
    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@
     
    5152build_triplet = @build@
    5253host_triplet = @host@
    53 DIST_COMMON = $(am__configure_deps) \
     54DIST_COMMON = README $(am__configure_deps) \
    5455        $(srcdir)/../../BuildTools/Makemain.inc \
    5556        $(srcdir)/../../config.guess $(srcdir)/../../config.sub \
    5657        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5758        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    58         $(srcdir)/Makefile.in $(top_srcdir)/configure
     59        $(srcdir)/Makefile.in $(srcdir)/filtersqp_addlibs.txt.in \
     60        $(top_srcdir)/configure
    5961@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6062@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6870 configure.lineno configure.status.lineno
    6971mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES =
    71 LTLIBRARIES = $(noinst_LTLIBRARIES)
     72CONFIG_CLEAN_FILES = filtersqp_addlibs.txt
     73am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     74am__vpath_adj = case $$p in \
     75    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     76    *) f=$$p;; \
     77  esac;
     78am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     79am__installdirs = "$(DESTDIR)$(thirdpartylibdir)" \
     80        "$(DESTDIR)$(addlibsdir)"
     81thirdpartylibLTLIBRARIES_INSTALL = $(INSTALL)
     82LTLIBRARIES = $(thirdpartylib_LTLIBRARIES)
    7283libfiltersqp_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)
     84am_libfiltersqp_la_OBJECTS = auxil.lo bqpd.lo filteraux.lo filter.lo \
     85        QPsolves.lo scaling.lo sparseA.lo sparseL.lo util.lo wdotd.lo
     86libfiltersqp_la_OBJECTS = $(am_libfiltersqp_la_OBJECTS)
    7787DEFAULT_INCLUDES = -I. -I$(srcdir)
    7888F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
     
    8292F77LINK = $(LIBTOOL) --tag=F77 --mode=link $(F77LD) $(AM_FFLAGS) \
    8393        $(FFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    84 SOURCES = $(nodist_libfiltersqp_la_SOURCES)
    85 DIST_SOURCES =
     94SOURCES = $(libfiltersqp_la_SOURCES)
     95DIST_SOURCES = $(libfiltersqp_la_SOURCES)
     96addlibsDATA_INSTALL = $(INSTALL_DATA)
     97DATA = $(addlibs_DATA)
    8698ETAGS = etags
    8799CTAGS = ctags
     
    230242AUTOMAKE_OPTIONS = foreign
    231243EXTRA_DIST = $(am__append_1)
    232 noinst_LTLIBRARIES = libfiltersqp.la
    233 nodist_libfiltersqp_la_SOURCES = \
     244thirdpartylibdir = $(prefix)/lib/ThirdParty
     245thirdpartylib_LTLIBRARIES = libfiltersqp.la
     246libfiltersqp_la_SOURCES = \
    234247        source/src/auxil.f \
    235248        source/src/bqpd.f \
     
    244257
    245258libfiltersqp_la_LDFLAGS = $(LT_LDFLAGS)
     259addlibsdir = $(prefix)/share/doc/coin/ThirdParty/FilterSQP
     260addlibs_DATA = filtersqp_addlibs.txt README
    246261
    247262########################################################################
     
    290305$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    291306        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 \
     307filtersqp_addlibs.txt: $(top_builddir)/config.status $(srcdir)/filtersqp_addlibs.txt.in
     308        cd $(top_builddir) && $(SHELL) ./config.status $@
     309install-thirdpartylibLTLIBRARIES: $(thirdpartylib_LTLIBRARIES)
     310        @$(NORMAL_INSTALL)
     311        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     312        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     313          if test -f $$p; then \
     314            f=$(am__strip_dir) \
     315            echo " $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     316            $(LIBTOOL) --mode=install $(thirdpartylibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     317          else :; fi; \
     318        done
     319
     320uninstall-thirdpartylibLTLIBRARIES:
     321        @$(NORMAL_UNINSTALL)
     322        @set -x; list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
     323          p=$(am__strip_dir) \
     324          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(thirdpartylibdir)/$$p'"; \
     325          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(thirdpartylibdir)/$$p"; \
     326        done
     327
     328clean-thirdpartylibLTLIBRARIES:
     329        -test -z "$(thirdpartylib_LTLIBRARIES)" || rm -f $(thirdpartylib_LTLIBRARIES)
     330        @list='$(thirdpartylib_LTLIBRARIES)'; for p in $$list; do \
    296331          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    297332          test "$$dir" != "$$p" || dir=.; \
     
    300335        done
    301336libfiltersqp.la: $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_DEPENDENCIES)
    302         $(F77LINK) $(libfiltersqp_la_LDFLAGS) $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_LIBADD) $(LIBS)
     337        $(F77LINK) -rpath $(thirdpartylibdir) $(libfiltersqp_la_LDFLAGS) $(libfiltersqp_la_OBJECTS) $(libfiltersqp_la_LIBADD) $(LIBS)
    303338
    304339mostlyclean-compile:
     
    356391        -rm -f libtool
    357392uninstall-info-am:
     393install-addlibsDATA: $(addlibs_DATA)
     394        @$(NORMAL_INSTALL)
     395        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     396        @list='$(addlibs_DATA)'; for p in $$list; do \
     397          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     398          f=$(am__strip_dir) \
     399          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     400          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     401        done
     402
     403uninstall-addlibsDATA:
     404        @$(NORMAL_UNINSTALL)
     405        @list='$(addlibs_DATA)'; for p in $$list; do \
     406          f=$(am__strip_dir) \
     407          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     408          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     409        done
    358410
    359411ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     
    408460        $(am__remove_distdir)
    409461        mkdir $(distdir)
    410         $(mkdir_p) $(distdir)/../.. $(distdir)/../../BuildTools
     462        $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
    411463        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    412464        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    534586check-am: all-am
    535587check: check-am
    536 all-am: Makefile $(LTLIBRARIES)
     588all-am: Makefile $(LTLIBRARIES) $(DATA)
    537589installdirs:
     590        for dir in "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(addlibsdir)"; do \
     591          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     592        done
    538593install: install-am
    539594install-exec: install-exec-am
     
    563618clean: clean-am
    564619
    565 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     620clean-am: clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
    566621        mostlyclean-am
    567622
     
    582637info-am:
    583638
    584 install-data-am:
     639install-data-am: install-addlibsDATA install-thirdpartylibLTLIBRARIES
    585640
    586641install-exec-am:
     
    611666ps-am:
    612667
    613 uninstall-am: uninstall-info-am
     668uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     669        uninstall-thirdpartylibLTLIBRARIES
    614670
    615671.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
     672        clean-generic clean-libtool clean-thirdpartylibLTLIBRARIES \
     673        ctags dist dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ \
     674        dist-zip distcheck distclean distclean-compile \
     675        distclean-generic distclean-libtool distclean-tags \
     676        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     677        html-am info info-am install install-addlibsDATA install-am \
     678        install-data install-data-am install-exec install-exec-am \
     679        install-info install-info-am install-man install-strip \
     680        install-thirdpartylibLTLIBRARIES installcheck installcheck-am \
     681        installdirs maintainer-clean maintainer-clean-generic \
     682        mostlyclean mostlyclean-compile mostlyclean-generic \
     683        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     684        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     685        uninstall-thirdpartylibLTLIBRARIES
    628686
    629687
Note: See TracChangeset for help on using the changeset viewer.