* "configure substitutions are not allowed in _SOURCES variables" in automake,
so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS
to choose which asm sources are used
* Change GLAPI_LIB to point to the .la file in other Makefile.am files, and
make a link
to the .a fi
On 11/07/2012 16:20, Eric Anholt wrote:
> s/libglapi_la_CPPFLAGS/AM_CPPFLAGS/g may get you prettier build output
> (at least with CFLAGS, it prepends the lib name to the .o files, which
> affects build logs).
Thanks, that is a lot nicer :-)
>> +noinst_LTLIBRARIES = libglapi.la
>> +
>> +libglapi_l
Jon TURNEY writes:
> +libglapi_la_CPPFLAGS = \
> +$(DEFINES) \
> + -I$(top_srcdir)/include \
> + -I$(top_srcdir)/src/mapi \
> + -I$(top_srcdir)/src/mesa
> +
> +if HAVE_X86_ASM
> +GLAPI_ASM_SOURCES = $(X86_API)
> +endif
> +if HAVE_X86_64_ASM
> +GLAPI_ASM_SOURCES = $(X86_64_API)
* "configure substitutions are not allowed in _SOURCES variables" in automake,
so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS
to choose which asm sources are used
* Change GLAPI_LIB to point to the .la file in other Makefile.am files, and
make a link
to the .a fi
* "configure substitutions are not allowed in _SOURCES variables" in automake,
so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS
to choose which asm sources are used
* Change GLAPI_LIB to point to the .la file in other Makefile.am files, and
make a link
to the .a fi