Revision df642790

View differences:

configure
2783 2783

  
2784 2784
echo "Creating config.mak and config.h..."
2785 2785

  
2786
# build tree in object directory if source path is different from current one
2787
if enabled source_path_used; then
2788
    DIRS="
2789
        doc
2790
        libavcodec
2791
        libavcodec/$arch
2792
        libavdevice
2793
        libavfilter
2794
        libavformat
2795
        libavutil
2796
        libavutil/$arch
2797
        libpostproc
2798
        libswscale
2799
        libswscale/$arch
2800
        tests
2801
        tools
2802
    "
2803
    FILES="
2804
        Makefile
2805
        common.mak
2806
        subdir.mak
2807
        doc/texi2pod.pl
2808
        libavcodec/Makefile
2809
        libavdevice/Makefile
2810
        libavfilter/Makefile
2811
        libavformat/Makefile
2812
        libavutil/Makefile
2813
        libpostproc/Makefile
2814
        libswscale/Makefile
2815
    "
2816
    for dir in $DIRS ; do
2817
        mkdir -p $dir
2818
    done
2819
    for f in $FILES ; do
2820
        $ln_s "$source_path/$f" $f
2821
    done
2822
fi
2823

  
2786 2824
enabled stripping || strip="echo skipping strip"
2787 2825

  
2788 2826
cat > config.mak <<EOF
......
2917 2955
# Do not overwrite an unchanged config.h to avoid superfluous rebuilds.
2918 2956
cp_if_changed $TMPH config.h
2919 2957

  
2920
# build tree in object directory if source path is different from current one
2921
if enabled source_path_used; then
2922
    DIRS="
2923
        doc
2924
        libavcodec
2925
        libavcodec/$arch
2926
        libavdevice
2927
        libavfilter
2928
        libavformat
2929
        libavutil
2930
        libavutil/$arch
2931
        libpostproc
2932
        libswscale
2933
        libswscale/$arch
2934
        tests
2935
        tools
2936
    "
2937
    FILES="
2938
        Makefile
2939
        common.mak
2940
        subdir.mak
2941
        doc/texi2pod.pl
2942
        libavcodec/Makefile
2943
        libavdevice/Makefile
2944
        libavfilter/Makefile
2945
        libavformat/Makefile
2946
        libavutil/Makefile
2947
        libpostproc/Makefile
2948
        libswscale/Makefile
2949
    "
2950
    for dir in $DIRS ; do
2951
        mkdir -p $dir
2952
    done
2953
    for f in $FILES ; do
2954
        $ln_s "$source_path/$f" $f
2955
    done
2956
fi
2957

  
2958

  
2959 2958
# build pkg-config files
2960 2959

  
2961 2960
pkgconfig_generate(){

Also available in: Unified diff