automake: Assembly Support

1 
1 8.13 Assembly Support
1 =====================
1 
1 Automake includes some support for assembly code.  There are two forms
1 of assembler files: normal (‘*.s’) and preprocessed by ‘CPP’ (‘*.S’ or
1 ‘*.sx’).
1 
1    The variable ‘CCAS’ holds the name of the compiler used to build
1 assembly code.  This compiler must work a bit like a C compiler; in
1 particular it must accept ‘-c’ and ‘-o’.  The values of ‘CCASFLAGS’ and
1 ‘AM_CCASFLAGS’ (or its per-target definition) is passed to the
1 compilation.  For preprocessed files, ‘DEFS’, ‘DEFAULT_INCLUDES’,
1 ‘INCLUDES’, ‘CPPFLAGS’ and ‘AM_CPPFLAGS’ are also used.
1 
1    The autoconf macro ‘AM_PROG_AS’ will define ‘CCAS’ and ‘CCASFLAGS’
1 for you (unless they are already set, it simply sets ‘CCAS’ to the C
1 compiler and ‘CCASFLAGS’ to the C compiler flags), but you are free to
1 define these variables by other means.
1 
1    Only the suffixes ‘.s’, ‘.S’, and ‘.sx’ are recognized by ‘automake’
1 as being files containing assembly code.
1