simplify Makefile as per-target compilation flags are not needed
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 <8a8cc541338200f67d4d0bcb65c78b6166649462@videotron.ca>

freedesktop-unofficial-mirror/xorg__lib__libAppleWM,freedesktop-unofficial-mirror/xorg__lib__libAppleWM