Ignore:
Timestamp:
May 8, 2010 9:54:35 AM (10 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/ASL/trunk/Makefile.in

    r1411 r1548  
    2828#                    Documentation installation                        #
    2929########################################################################
     30
     31
    3032srcdir = @srcdir@
    3133top_srcdir = @top_srcdir@
     
    5557        $(srcdir)/../../install-sh $(srcdir)/../../ltmain.sh \
    5658        $(srcdir)/../../missing $(srcdir)/Makefile.am \
    57         $(srcdir)/Makefile.in $(srcdir)/compile_MS_ASL.in \
    58         $(srcdir)/compile_Unix_ASL.in $(top_srcdir)/configure
     59        $(srcdir)/Makefile.in $(srcdir)/coinasl-uninstalled.pc.in \
     60        $(srcdir)/coinasl.pc.in $(srcdir)/compile_MS_ASL.in \
     61        $(srcdir)/compile_Unix_ASL.in $(thirdpartyinclude_HEADERS) \
     62        $(top_srcdir)/configure
    5963@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6064@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    6872 configure.lineno configure.status.lineno
    6973mkinstalldirs = $(install_sh) -d
    70 CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL
     74CONFIG_CLEAN_FILES = compile_MS_ASL compile_Unix_ASL coinasl.pc \
     75        coinasl-uninstalled.pc
    7176SOURCES =
    7277DIST_SOURCES =
     78am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     79am__vpath_adj = case $$p in \
     80    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     81    *) f=$$p;; \
     82  esac;
     83am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     84am__installdirs = "$(DESTDIR)$(addlibsdir)" \
     85        "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" \
     86        "$(DESTDIR)$(thirdpartyincludedir)"
     87addlibsDATA_INSTALL = $(INSTALL_DATA)
     88pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     89thirdpartylibDATA_INSTALL = $(INSTALL_DATA)
     90DATA = $(addlibs_DATA) $(pkgconfiglib_DATA) $(thirdpartylib_DATA)
     91thirdpartyincludeHEADERS_INSTALL = $(INSTALL_HEADER)
     92HEADERS = $(thirdpartyinclude_HEADERS)
     93ETAGS = etags
     94CTAGS = ctags
    7395DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    7496distdir = $(PACKAGE)-$(VERSION)
     
    82104distuninstallcheck_listfiles = find . -type f -print
    83105distcleancheck_listfiles = find . -type f -print
     106ABSBUILDDIR = @ABSBUILDDIR@
     107ABSPATH_AMPLSOLVER_INSTALLED = @ABSPATH_AMPLSOLVER_INSTALLED@
     108ABSPATH_AMPLSOLVER_UNINSTALLED = @ABSPATH_AMPLSOLVER_UNINSTALLED@
    84109ACLOCAL = @ACLOCAL@
    85110ADDLIBS = @ADDLIBS@
     
    92117AMTAR = @AMTAR@
    93118AR = @AR@
    94 ASLLIB = @ASLLIB@
    95119ASLMAKEFLAGS = @ASLMAKEFLAGS@
    96 ASL_CPPFLAGS = @ASL_CPPFLAGS@
    97120AUTOCONF = @AUTOCONF@
    98121AUTOHEADER = @AUTOHEADER@
     
    105128CDEFS = @CDEFS@
    106129CFLAGS = @CFLAGS@
    107 COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    108 COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     130COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     131COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     132COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
    109133CPP = @CPP@
    110134CPPFLAGS = @CPPFLAGS@
     
    145169MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
    146170MAKEINFO = @MAKEINFO@
    147 MAKEOKFILE = @MAKEOKFILE@
    148171MPICC = @MPICC@
    149172MSVC_COMPILE_FALSE = @MSVC_COMPILE_FALSE@
     
    158181PACKAGE_VERSION = @PACKAGE_VERSION@
    159182PATH_SEPARATOR = @PATH_SEPARATOR@
     183PKG_CONFIG = @PKG_CONFIG@
    160184RANLIB = @RANLIB@
    161185RPATH_FLAGS = @RPATH_FLAGS@
    162186SET_MAKE = @SET_MAKE@
    163187SHELL = @SHELL@
    164 SKIPMAKE_FALSE = @SKIPMAKE_FALSE@
    165 SKIPMAKE_TRUE = @SKIPMAKE_TRUE@
    166188STRIP = @STRIP@
    167189VERSION = @VERSION@
    168190VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
     191_SVN_REV = @_SVN_REV@
    169192abs_bin_dir = @abs_bin_dir@
    170193abs_include_dir = @abs_include_dir@
     
    179202ac_ct_STRIP = @ac_ct_STRIP@
    180203ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     204ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    181205am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    182206am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    199223have_automake = @have_automake@
    200224have_svn = @have_svn@
     225have_svnversion = @have_svnversion@
    201226host = @host@
    202227host_alias = @host_alias@
     
    228253compdir = compdir
    229254libampl = $(AMPLSOLVER_A)
    230 @SKIPMAKE_FALSE@alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
    231 @SKIPMAKE_TRUE@alltargets =
    232 CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
     255alltargets = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT)
     256thirdpartyincludedir = $(includedir)/coin/ThirdParty
     257thirdpartyinclude_HEADERS = \
     258  solvers/asl.h solvers/asl_pfg.h solvers/asl_pfgh.h solvers/psinfo.h solvers/funcadd.h \
     259  solvers/nlp.h solvers/nlp2.h solvers/getstub.h solvers/opcode.hd solvers/r_opn.hd \
     260  stdio1.h arith.h
     261
     262thirdpartylibdir = $(libdir)/coin/ThirdParty
     263thirdpartylib_DATA = $(libampl)
     264@COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/ThirdParty/ASL
     265@COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = asl_addlibs.txt
     266pkgconfiglibdir = $(libdir)/pkgconfig
     267pkgconfiglib_DATA = coinasl.pc
     268CLEANFILES = $(libampl) stdio1.h arith.h funcadd0.$(OBJEXT) asl_addlibs.txt
    233269
    234270########################################################################
     
    239275DISTCLEANFILES = $(MAKEOKFILE) $(am__append_2) $(VPATH_DISTCLEANFILES)
    240276DocFiles = README AUTHORS LICENSE
    241 DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
     277DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
    242278all: all-am
    243279
     
    280316compile_Unix_ASL: $(top_builddir)/config.status $(srcdir)/compile_Unix_ASL.in
    281317        cd $(top_builddir) && $(SHELL) ./config.status $@
     318coinasl.pc: $(top_builddir)/config.status $(srcdir)/coinasl.pc.in
     319        cd $(top_builddir) && $(SHELL) ./config.status $@
     320coinasl-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/coinasl-uninstalled.pc.in
     321        cd $(top_builddir) && $(SHELL) ./config.status $@
    282322
    283323mostlyclean-libtool:
     
    290330        -rm -f libtool
    291331uninstall-info-am:
     332install-addlibsDATA: $(addlibs_DATA)
     333        @$(NORMAL_INSTALL)
     334        test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)"
     335        @list='$(addlibs_DATA)'; for p in $$list; do \
     336          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     337          f=$(am__strip_dir) \
     338          echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \
     339          $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \
     340        done
     341
     342uninstall-addlibsDATA:
     343        @$(NORMAL_UNINSTALL)
     344        @list='$(addlibs_DATA)'; for p in $$list; do \
     345          f=$(am__strip_dir) \
     346          echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \
     347          rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \
     348        done
     349install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
     350        @$(NORMAL_INSTALL)
     351        test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
     352        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     353          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     354          f=$(am__strip_dir) \
     355          echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     356          $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     357        done
     358
     359uninstall-pkgconfiglibDATA:
     360        @$(NORMAL_UNINSTALL)
     361        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     362          f=$(am__strip_dir) \
     363          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     364          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     365        done
     366install-thirdpartylibDATA: $(thirdpartylib_DATA)
     367        @$(NORMAL_INSTALL)
     368        test -z "$(thirdpartylibdir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartylibdir)"
     369        @list='$(thirdpartylib_DATA)'; for p in $$list; do \
     370          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     371          f=$(am__strip_dir) \
     372          echo " $(thirdpartylibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     373          $(thirdpartylibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     374        done
     375
     376uninstall-thirdpartylibDATA:
     377        @$(NORMAL_UNINSTALL)
     378        @list='$(thirdpartylib_DATA)'; for p in $$list; do \
     379          f=$(am__strip_dir) \
     380          echo " rm -f '$(DESTDIR)$(thirdpartylibdir)/$$f'"; \
     381          rm -f "$(DESTDIR)$(thirdpartylibdir)/$$f"; \
     382        done
     383install-thirdpartyincludeHEADERS: $(thirdpartyinclude_HEADERS)
     384        @$(NORMAL_INSTALL)
     385        test -z "$(thirdpartyincludedir)" || $(mkdir_p) "$(DESTDIR)$(thirdpartyincludedir)"
     386        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     387          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     388          f=$(am__strip_dir) \
     389          echo " $(thirdpartyincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     390          $(thirdpartyincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     391        done
     392
     393uninstall-thirdpartyincludeHEADERS:
     394        @$(NORMAL_UNINSTALL)
     395        @list='$(thirdpartyinclude_HEADERS)'; for p in $$list; do \
     396          f=$(am__strip_dir) \
     397          echo " rm -f '$(DESTDIR)$(thirdpartyincludedir)/$$f'"; \
     398          rm -f "$(DESTDIR)$(thirdpartyincludedir)/$$f"; \
     399        done
     400
     401ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
     402        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
     403        unique=`for i in $$list; do \
     404            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     405          done | \
     406          $(AWK) '    { files[$$0] = 1; } \
     407               END { for (i in files) print i; }'`; \
     408        mkid -fID $$unique
    292409tags: TAGS
    293 TAGS:
    294 
     410
     411TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     412                $(TAGS_FILES) $(LISP)
     413        tags=; \
     414        here=`pwd`; \
     415        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     416        unique=`for i in $$list; do \
     417            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     418          done | \
     419          $(AWK) '    { files[$$0] = 1; } \
     420               END { for (i in files) print i; }'`; \
     421        if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
     422          test -n "$$unique" || unique=$$empty_fix; \
     423          $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     424            $$tags $$unique; \
     425        fi
    295426ctags: CTAGS
    296 CTAGS:
    297 
     427CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
     428                $(TAGS_FILES) $(LISP)
     429        tags=; \
     430        here=`pwd`; \
     431        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
     432        unique=`for i in $$list; do \
     433            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     434          done | \
     435          $(AWK) '    { files[$$0] = 1; } \
     436               END { for (i in files) print i; }'`; \
     437        test -z "$(CTAGS_ARGS)$$tags$$unique" \
     438          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     439             $$tags $$unique
     440
     441GTAGS:
     442        here=`$(am__cd) $(top_builddir) && pwd` \
     443          && cd $(top_srcdir) \
     444          && gtags -i $(GTAGS_ARGS) $$here
     445
     446distclean-tags:
     447        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    298448
    299449distdir: $(DISTFILES)
    300450        $(am__remove_distdir)
    301451        mkdir $(distdir)
    302         $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools
     452        $(mkdir_p) $(distdir)/. $(distdir)/../.. $(distdir)/../../BuildTools $(distdir)/solvers
    303453        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
    304454        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
     
    426576check-am: all-am
    427577check: check-am
    428 all-am: Makefile all-local
     578all-am: Makefile $(DATA) $(HEADERS) all-local
    429579installdirs:
     580        for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)" "$(DESTDIR)$(thirdpartylibdir)" "$(DESTDIR)$(thirdpartyincludedir)"; do \
     581          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     582        done
    430583install: install-am
    431584install-exec: install-exec-am
     
    461614        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    462615        -rm -f Makefile
    463 distclean-am: clean-am distclean-generic distclean-libtool
     616distclean-am: clean-am distclean-generic distclean-libtool \
     617        distclean-tags
    464618
    465619dvi: dvi-am
     
    473627info-am:
    474628
    475 install-data-am:
     629install-data-am: install-addlibsDATA install-pkgconfiglibDATA \
     630        install-thirdpartyincludeHEADERS install-thirdpartylibDATA
    476631
    477632install-exec-am:
     
    501656ps-am:
    502657
    503 uninstall-am: uninstall-info-am
    504 
    505 .PHONY: all all-am all-local am--refresh check check-am clean \
    506         clean-generic clean-libtool dist dist-all dist-bzip2 dist-gzip \
    507         dist-shar dist-tarZ dist-zip distcheck distclean \
    508         distclean-generic distclean-libtool distcleancheck distdir \
    509         distuninstallcheck dvi dvi-am html html-am info info-am \
    510         install install-am install-data install-data-am install-exec \
    511         install-exec-am install-info install-info-am install-man \
    512         install-strip installcheck installcheck-am installdirs \
    513         maintainer-clean maintainer-clean-generic mostlyclean \
    514         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    515         uninstall uninstall-am uninstall-info-am
     658uninstall-am: uninstall-addlibsDATA uninstall-info-am \
     659        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
     660        uninstall-thirdpartylibDATA
     661
     662.PHONY: CTAGS GTAGS all all-am all-local am--refresh check check-am \
     663        clean clean-generic clean-libtool ctags dist dist-all \
     664        dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \
     665        distclean distclean-generic distclean-libtool distclean-tags \
     666        distcleancheck distdir distuninstallcheck dvi dvi-am html \
     667        html-am info info-am install install-addlibsDATA install-am \
     668        install-data install-data-am install-exec install-exec-am \
     669        install-info install-info-am install-man \
     670        install-pkgconfiglibDATA install-strip \
     671        install-thirdpartyincludeHEADERS install-thirdpartylibDATA \
     672        installcheck installcheck-am installdirs maintainer-clean \
     673        maintainer-clean-generic mostlyclean mostlyclean-generic \
     674        mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
     675        uninstall-addlibsDATA uninstall-am uninstall-info-am \
     676        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS \
     677        uninstall-thirdpartylibDATA
    516678
    517679
     
    524686
    525687stdio1.h arith.h funcadd0.$(OBJEXT): $(libampl)
     688
     689@COIN_HAS_PKGCONFIG_TRUE@asl_addlibs.txt : coinasl.pc
     690@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs coinasl > asl_addlibs.txt
    526691
    527692install-doc: $(DocFiles)
Note: See TracChangeset for help on using the changeset viewer.