Changeset 3081:2a06e1e5fd01 in roaraudio


Ignore:
Timestamp:
01/09/10 03:33:31 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

add version numbers to libs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r2909 r3081  
    11include Makefile.conf 
     2include Makefile.inc 
    23 
    34COMP_LIB=$(subdir_libroaresd) $(subdir_libroarsndio) $(subdir_libroaryiff) $(subdir_libroarpulse) $(subdir_libroararts) 
     
    3132install: prep-install-dirs 
    3233        cp $(cp_v) lib/roar*     '$(DESTDIR)$(PREFIX_BIN)' 
    33         cp $(cp_v) lib/lib*$(SHARED_SUFFIX)*  '$(DESTDIR)$(PREFIX_LIB)' 
     34        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do cp $$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_VERSION); done' 
     35        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs $$file.$(COMMON_VERSION) '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_V_MM); done' 
     36        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs $$file.$(COMMON_V_MM) '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_V_MAJOR); done' 
     37        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs $$file.$(COMMON_V_MAJOR) '$(DESTDIR)$(PREFIX_LIB)'/$$file; done' 
    3438        sh -c 'cd lib; while read d t; do ln -fs '$(DESTDIR)$(PREFIX_LIB)'/$$d '$(DESTDIR)$(PREFIX_COMP_LIBS)'/$$t; done < ../symlinks.comp' 
    3539        sh -c 'cd lib; for file in *.r; do b=`basename $$file .r`; cp $$file '$(DESTDIR)$(PREFIX_COMP_BINS)'/$$b; done' 
     
    4044semi-install: prep-install-dirs 
    4145        sh -c 'for file in lib/roar*;    do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_BIN)'/; done' 
    42         sh -c 'for file in lib/lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/; done' 
     46        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/; done' 
     47        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_VERSION); done' 
     48        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_V_MM); done' 
     49        sh -c 'cd lib; for file in lib*$(SHARED_SUFFIX)*; do ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_LIB)'/$$file.$(COMMON_V_MAJOR); done' 
    4350        sh -c 'cd lib; while read d t; do ln -fs `pwd`/$$d '$(DESTDIR)$(PREFIX_COMP_LIBS)'/$$t; done < ../symlinks.comp' 
    4451        sh -c 'cd lib; for file in *.r; do b=`basename $$file .r`; ln -fs `pwd`/$$file '$(DESTDIR)$(PREFIX_COMP_BINS)'/$$b; done' 
Note: See TracChangeset for help on using the changeset viewer.