Changeset 3b16a551afc5b31cf8fe829154635dda46cf7aaf

Show
Ignore:
Timestamp:
12/08/05 21:17:33 (3 years ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1123874253 +0000
git-parent:

[bb137a2792b665978c3b836778fbd4ec1c61c975]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1123874253 +0000
Message:

Speed up recursive make significantly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    r28dbc84 r3b16a55  
    271271    -cd $(top_builddir) && chmod 0755 $@ 
    272272 
     273vlc-config.in: vlc-config.in.in 
     274    ./config.status --recheck 
     275 
    273276$(SOURCES): vlc-config 
    274277 
  • bootstrap

    r3ad7320 r3b16a55  
    224224all-modules: 
    225225    @set fnord \$\$MAKEFLAGS; amf=\$\$2; targets=\`\\ 
    226     if test "\$(plugin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --target plugin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case "\$\$z" in */lib\$\${mod}_plugin*) echo lib\$\${mod}_plugin\$(LIBEXT);; esac; done; fi; \\ 
    227     if test "\$(builtin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --target builtin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case "\$\$z" in */lib\$\${mod}.a*) echo lib\$\${mod}.a;; esac; done; fi; \\ 
    228     if test "\$(pic)" != "no"; then z=\$\$(\$(VLC_CONFIG) --target builtin pic); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case "\$\$z" in */lib\$\${mod}_pic.a*) echo lib\$\${mod}_pic.a;; esac; done; fi; \\ 
     226    if test "\$(plugin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --list plugin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}_plugin\$(LIBEXT);; esac; done; fi; \\ 
     227    if test "\$(builtin)" != "no"; then z=\$\$(\$(VLC_CONFIG) --list builtin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}.a;; esac; done; fi; \\ 
     228    if test "\$(pic)" != "no"; then z=\$\$(\$(VLC_CONFIG) --list builtin); for mod in `sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < ${mf} | xargs`; do case "\$\$z " in *\ \$\${mod}\ *) echo lib\$\${mod}_pic.a;; esac; done; fi; \\ 
    229229    \`; case "\$\$targets" in *lib*) \$(MAKE) \$(AM_MAKEFLAGS) \$\$targets || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \\ 
    230230    test -z "\$\$fail" 
  • vlc-config.in.in

    r575c056 r3b16a55  
    3838        [--linkage]               print linkage mode (c, c++, objc) 
    3939        [--target]                print targets and exit 
     40        [--list]                  print modules names and exit 
    4041        [--libs]                  output linking flags 
    4142        [--cflags]                output C compilation flags 
     
    175176      echo_target=yes 
    176177      ;; 
     178    --list) 
     179      echo_list=yes 
     180      ;; 
    177181    --cflags) 
    178182      echo_cflags=yes 
     
    266270      for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done 
    267271    fi 
     272    printf '\n' 
     273  fi 
     274  exit 0 
     275fi 
     276 
     277if test "${echo_list}" = yes; then 
     278  if test "${echo_plugin}" = yes; then 
     279    echo "${plugins}" 
     280    printf '\n' 
     281  fi 
     282  if test "${echo_builtin}" = yes; then 
     283    echo "${builtins}" 
    268284    printf '\n' 
    269285  fi