Mercurial > mplayer.hg
comparison configure @ 30984:ccf1dec0fce2
Generate dependency information as a sideeffect of compilation.
This speeds up compilation times, simplifies the code and
fixes dependency file generation in libav*.
author | diego |
---|---|
date | Tue, 06 Apr 2010 10:08:19 +0000 |
parents | 959d06beb608 |
children | 26537f75c1dd |
comparison
equal
deleted
inserted
replaced
30983:8b6727d2d479 | 30984:ccf1dec0fce2 |
---|---|
2511 else | 2511 else |
2512 CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS" | 2512 CFLAGS="-D_ISOC99_SOURCE -D_BSD_SOURCE $CFLAGS" |
2513 fi | 2513 fi |
2514 | 2514 |
2515 cc_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer" | 2515 cc_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer" |
2516 cc_check -MD -MP && CFLAGS="-MD -MP $CFLAGS" | |
2516 | 2517 |
2517 | 2518 |
2518 if test -n "$LDFLAGS" ; then | 2519 if test -n "$LDFLAGS" ; then |
2519 extra_ldflags="$extra_ldflags $LDFLAGS" | 2520 extra_ldflags="$extra_ldflags $LDFLAGS" |
2520 _warn_CFLAGS=yes | 2521 _warn_CFLAGS=yes |
8469 CFLAGS_TREMOR_LOW = $cflags_tremor_low | 8470 CFLAGS_TREMOR_LOW = $cflags_tremor_low |
8470 | 8471 |
8471 EXTRALIBS = $extra_ldflags $_ld_static $_ld_lm $extra_libs | 8472 EXTRALIBS = $extra_ldflags $_ld_static $_ld_lm $extra_libs |
8472 EXTRALIBS_MPLAYER = $libs_mplayer | 8473 EXTRALIBS_MPLAYER = $libs_mplayer |
8473 EXTRALIBS_MENCODER = $libs_mencoder | 8474 EXTRALIBS_MENCODER = $libs_mencoder |
8474 | |
8475 MPDEPEND_CMD = \$(CC) -MM -MP \$(CFLAGS) \$(filter-out %.xpm,\$(filter-out %.h,$^)) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," | |
8476 MPDEPEND_CMD_CXX = \$(CC) -MM -MP \$(CXXFLAGS) \$(filter-out %.hh,\$(filter-out %.h,$^)) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," | |
8477 | 8475 |
8478 GETCH = $_getch | 8476 GETCH = $_getch |
8479 HELP_FILE = $_mp_help | 8477 HELP_FILE = $_mp_help |
8480 TIMER = $_timer | 8478 TIMER = $_timer |
8481 | 8479 |