Changeset 3b16a551afc5b31cf8fe829154635dda46cf7aaf
- 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
| r28dbc84 |
r3b16a55 |
|
| 271 | 271 | -cd $(top_builddir) && chmod 0755 $@ |
|---|
| 272 | 272 | |
|---|
| | 273 | vlc-config.in: vlc-config.in.in |
|---|
| | 274 | ./config.status --recheck |
|---|
| | 275 | |
|---|
| 273 | 276 | $(SOURCES): vlc-config |
|---|
| 274 | 277 | |
|---|
| r3ad7320 |
r3b16a55 |
|
| 224 | 224 | all-modules: |
|---|
| 225 | 225 | @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; \\ |
|---|
| 229 | 229 | \`; case "\$\$targets" in *lib*) \$(MAKE) \$(AM_MAKEFLAGS) \$\$targets || case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; ;; esac; \\ |
|---|
| 230 | 230 | test -z "\$\$fail" |
|---|
| r575c056 |
r3b16a55 |
|
| 38 | 38 | [--linkage] print linkage mode (c, c++, objc) |
|---|
| 39 | 39 | [--target] print targets and exit |
|---|
| | 40 | [--list] print modules names and exit |
|---|
| 40 | 41 | [--libs] output linking flags |
|---|
| 41 | 42 | [--cflags] output C compilation flags |
|---|
| … | … | |
| 175 | 176 | echo_target=yes |
|---|
| 176 | 177 | ;; |
|---|
| | 178 | --list) |
|---|
| | 179 | echo_list=yes |
|---|
| | 180 | ;; |
|---|
| 177 | 181 | --cflags) |
|---|
| 178 | 182 | echo_cflags=yes |
|---|
| … | … | |
| 266 | 270 | for target in `echo "${list}"`; do printf "${top_builddir}modules/${target}.a "; done |
|---|
| 267 | 271 | fi |
|---|
| | 272 | printf '\n' |
|---|
| | 273 | fi |
|---|
| | 274 | exit 0 |
|---|
| | 275 | fi |
|---|
| | 276 | |
|---|
| | 277 | if 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}" |
|---|
| 268 | 284 | printf '\n' |
|---|
| 269 | 285 | fi |
|---|