Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: libtoolize

Location:
trunk/src/lib/gui
Files:
4 edited

Legend:

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

    r5450 r5452  
    44AM_LDFLAGS =
    55
    6 noinst_LTLIBRARIES = libORXglgui.la
     6pkglib_LTLIBRARIES = libORXglgui.la
    77
    88libORXglgui_la_CPPFLAGS = -DBUILD_ORXONOX
  • trunk/src/lib/gui/gl_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)
    5254libORXglgui_la_LIBADD =
    5355am_libORXglgui_la_OBJECTS = libORXglgui_la-glmenu_imagescreen.lo \
     
    205207MAINSRCDIR = ../../..
    206208AM_LDFLAGS =
    207 noinst_LTLIBRARIES = libORXglgui.la
     209pkglib_LTLIBRARIES = libORXglgui.la
    208210libORXglgui_la_CPPFLAGS = -DBUILD_ORXONOX
    209211libORXglgui_la_SOURCES = glmenu/glmenu_imagescreen.cc \
     
    264266$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    265267        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    266 
    267 clean-noinstLTLIBRARIES:
    268         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    269         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     268install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
     269        @$(NORMAL_INSTALL)
     270        test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
     271        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
     272          if test -f $$p; then \
     273            f="`echo $$p | sed -e 's|^.*/||'`"; \
     274            echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
     275            $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
     276          else :; fi; \
     277        done
     278
     279uninstall-pkglibLTLIBRARIES:
     280        @$(NORMAL_UNINSTALL)
     281        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
     282            p="`echo $$p | sed -e 's|^.*/||'`"; \
     283          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
     284          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
     285        done
     286
     287clean-pkglibLTLIBRARIES:
     288        -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
     289        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
    270290          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    271291          test "$$dir" != "$$p" || dir=.; \
     
    274294        done
    275295libORXglgui.la: $(libORXglgui_la_OBJECTS) $(libORXglgui_la_DEPENDENCIES)
    276         $(CXXLINK) $(libORXglgui_la_LDFLAGS) $(libORXglgui_la_OBJECTS) $(libORXglgui_la_LIBADD) $(LIBS)
     296        $(CXXLINK) -rpath $(pkglibdir) $(libORXglgui_la_LDFLAGS) $(libORXglgui_la_OBJECTS) $(libORXglgui_la_LIBADD) $(LIBS)
    277297
    278298mostlyclean-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
  • 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.