[Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-11 Thread Jon TURNEY
* "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

Re: [Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-11 Thread Jon TURNEY
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

Re: [Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-11 Thread Eric Anholt
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)

[Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-10 Thread Jon TURNEY
* "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

[Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-09 Thread Jon TURNEY
* "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