Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: libtoolize

Location:
trunk/src/lib/sound
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/sound/Makefile.am

    r5450 r5452  
    22include $(MAINSRCDIR)/defs/include_paths.am
    33
    4 noinst_LTLIBRARIES = libORXsound.la
     4pkglib_LTLIBRARIES = libORXsound.la
    55
    66libORXsound_la_SOURCES = sound_engine.cc \
  • trunk/src/lib/sound/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)
    5254libORXsound_la_LIBADD =
    5355am_libORXsound_la_OBJECTS = sound_engine.lo sound_source.lo \
     
    193195target_vendor = @target_vendor@
    194196MAINSRCDIR = ../..
    195 noinst_LTLIBRARIES = libORXsound.la
     197pkglib_LTLIBRARIES = libORXsound.la
    196198libORXsound_la_SOURCES = sound_engine.cc \
    197199                         sound_source.cc \
     
    237239$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
    238240        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    239 
    240 clean-noinstLTLIBRARIES:
    241         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
    242         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
     241install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
     242        @$(NORMAL_INSTALL)
     243        test -z "$(pkglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkglibdir)"
     244        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
     245          if test -f $$p; then \
     246            f="`echo $$p | sed -e 's|^.*/||'`"; \
     247            echo " $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
     248            $(LIBTOOL) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
     249          else :; fi; \
     250        done
     251
     252uninstall-pkglibLTLIBRARIES:
     253        @$(NORMAL_UNINSTALL)
     254        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
     255            p="`echo $$p | sed -e 's|^.*/||'`"; \
     256          echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \
     257          $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \
     258        done
     259
     260clean-pkglibLTLIBRARIES:
     261        -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)
     262        @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
    243263          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    244264          test "$$dir" != "$$p" || dir=.; \
     
    247267        done
    248268libORXsound.la: $(libORXsound_la_OBJECTS) $(libORXsound_la_DEPENDENCIES)
    249         $(CXXLINK) $(libORXsound_la_LDFLAGS) $(libORXsound_la_OBJECTS) $(libORXsound_la_LIBADD) $(LIBS)
     269        $(CXXLINK) -rpath $(pkglibdir) $(libORXsound_la_LDFLAGS) $(libORXsound_la_OBJECTS) $(libORXsound_la_LIBADD) $(LIBS)
    250270
    251271mostlyclean-compile:
     
    373393all-am: Makefile $(LTLIBRARIES) $(HEADERS)
    374394installdirs:
     395        for dir in "$(DESTDIR)$(pkglibdir)"; do \
     396          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     397        done
    375398install: install-am
    376399install-exec: install-exec-am
     
    399422clean: clean-am
    400423
    401 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
     424clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
    402425        mostlyclean-am
    403426
     
    420443install-data-am:
    421444
    422 install-exec-am:
     445install-exec-am: install-pkglibLTLIBRARIES
    423446
    424447install-info: install-info-am
     
    446469ps-am:
    447470
    448 uninstall-am: uninstall-info-am
     471uninstall-am: uninstall-info-am uninstall-pkglibLTLIBRARIES
    449472
    450473.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    451         clean-libtool clean-noinstLTLIBRARIES ctags distclean \
     474        clean-libtool clean-pkglibLTLIBRARIES ctags distclean \
    452475        distclean-compile distclean-generic distclean-libtool \
    453476        distclean-tags distdir dvi dvi-am html html-am info info-am \
    454477        install install-am install-data install-data-am install-exec \
    455478        install-exec-am install-info install-info-am install-man \
    456         install-strip installcheck installcheck-am installdirs \
    457         maintainer-clean maintainer-clean-generic mostlyclean \
    458         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    459         pdf pdf-am ps ps-am tags uninstall uninstall-am \
    460         uninstall-info-am
     479        install-pkglibLTLIBRARIES install-strip installcheck \
     480        installcheck-am installdirs maintainer-clean \
     481        maintainer-clean-generic mostlyclean mostlyclean-compile \
     482        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
     483        tags uninstall uninstall-am uninstall-info-am \
     484        uninstall-pkglibLTLIBRARIES
    461485
    462486include $(MAINSRCDIR)/defs/include_paths.am
Note: See TracChangeset for help on using the changeset viewer.