libAppleWM: Changes to 'master'

Gaetan Nadon gnadon at kemper.freedesktop.org
Sun Jul 25 06:01:21 PDT 2010


 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b93e0ecfd0ed7b38cbc976d584318e11369ef988
Author: Gaetan Nadon <memsize at videotron.ca>
Date:   Fri Jul 23 21:08:24 2010 -0400

    simplify Makefile as per-target compilation flags are not needed
    
    Per-target compilation flags (libAppleWM_la_CFLAGS) are required
    when multiple targets which require different compiler flags,
    are build in the same makefile.
    
    Automake issues a command with -c and -o flags which not all compilers
    support. The object fles are prefixed with libIntelXvMC_la.
    The macro AM_PROG_CC_C_O must then be used to provide this feature
    on compilers that do not have it. If not, a warning is issued at make time.
    
    This macros checks for compiler support and if missing, uses a "compile"
    script it generates in the package root directory.
    
    Currently the driver uses per-target flags but the macro is missing.
    Rather than adding the macro, this patch stops using per-target flags
    by using the AM_CFLAGS variable for all targets in the makefile, as
    there is only one.
    
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>



More information about the xorg-commit mailing list