Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5452 in orxonox.OLD for trunk/src/lib/gui/gtk_gui


Ignore:
Timestamp:
Oct 29, 2005, 5:04:19 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: libtoolize

Location:
trunk/src/lib/gui/gtk_gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gtk_gui/Makefile.am

    r5450 r5452  
    22include $(MAINSRCDIR)/defs/include_paths.am
    33
    4 noinst_LTLIBRARIES = libORXgui.la
     4pkglib_LTLIBRARIES = libORXgui.la
    55
    66libORXgui_la_CPPFLAGS = -DBUILD_ORXONOX \
  • trunk/src/lib/gui/gtk_gui/Makefile.in

    r5450 r5452  
    4949CONFIG_HEADER = $(top_builddir)/config.h
    5050CONFIG_CLEAN_FILES =
    51 LTLIBRARIES = $(noinst_LTLIBRARIES)
     51am__installdirs = "$(DESTDIR)$(pkglibdir)"
     52pkglibLTLIBRARIES_INSTALL = $(INSTALL)
     53LTLIBRARIES = $(pkglib_LTLIBRARIES)
    5254libORXgui_la_LIBADD =
    5355am_libORXgui_la_OBJECTS = libORXgui_la-gui.lo libORXgui_la-gui_gtk.lo \
     
    202204target_vendor = @target_vendor@
    203205MAINSRCDIR = ../../..
    204 noinst_LTLIBRARIES = libORXgui.la
     206pkglib_LTLIBRARIES = libORXgui.la
    205207libORXgui_la_CPPFLAGS = -DBUILD_ORXONOX \
    206208                        $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS)
     
    265267$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    266268        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    267 
    268 clean-noinstLTLIBRARIES:
    269         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    270         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     269install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
     270        @$(NORMAL_INSTALL)
     271        test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
     272        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
     273          if test -f $$p; then \
     274            f="`echo $$p | sed -e 's|^.*/||'`"; \
     275            echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
     276            $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
     277          else :; fi; \
     278        done
     279
     280uninstall-pkglibLTLIBRARIES:
     281        @$(NORMAL_UNINSTALL)
     282        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
     283            p="`echo $$p | sed -e 's|^.*/||'`"; \
     284          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
     285          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
     286        done
     287
     288clean-pkglibLTLIBRARIES:
     289        -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
     290        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
    271291          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    272292          test "$$dir" != "$$p" || dir=.; \
     
    275295        done
    276296libORXgui.la: $(libORXgui_la_OBJECTS) $(libORXgui_la_DEPENDENCIES)
    277         $(CXXLINK) $(libORXgui_la_LDFLAGS) $(libORXgui_la_OBJECTS) $(libORXgui_la_LIBADD) $(LIBS)
     297        $(CXXLINK) -rpath $(pkglibdir) $(libORXgui_la_LDFLAGS) $(libORXgui_la_OBJECTS) $(libORXgui_la_LIBADD) $(LIBS)
    278298
    279299mostlyclean-compile:
     
    647667all-am: Makefile $(LTLIBRARIES) $(HEADERS)
    648668installdirs:
     669        for dir in "$(DESTDIR)$(pkglibdir)"; do \
     670          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     671        done
    649672install: install-am
    650673install-exec: install-exec-am
     
    673696clean: clean-am
    674697
    675 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     698clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
    676699        mostlyclean-am
    677700
     
    694717install-data-am:
    695718
    696 install-exec-am:
     719install-exec-am: install-pkglibLTLIBRARIES
    697720
    698721install-info: install-info-am
     
    720743ps-am:
    721744
    722 uninstall-am: uninstall-info-am
     745uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES
    723746
    724747.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    725         clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     748        clean-libtool clean-pkglibLTLIBRARIES ctags distclean \
    726749        distclean-compile distclean-generic distclean-libtool \
    727750        distclean-tags distdir dvi dvi-am html html-am info info-am \
    728751        install install-am install-data install-data-am install-exec \
    729752        install-exec-am install-info install-info-am install-man \
    730         install-strip installcheck installcheck-am installdirs \
    731         maintainer-clean maintainer-clean-generic mostlyclean \
    732         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    733         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    734         uninstall-info-am
     753        install-pkglibLTLIBRARIES install-strip installcheck \
     754        installcheck-am installdirs maintainer-clean \
     755        maintainer-clean-generic mostlyclean mostlyclean-compile \
     756        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     757        tags uninstall uninstall-am uninstall-info-am \
     758        uninstall-pkglibLTLIBRARIES
    735759
    736760include $(MAINSRCDIR)/defs/include_paths.am
Note: See TracChangeset for help on using the changeset viewer.