Next: Assembly Support, Previous: Objective C Support, Up: Building Programs and Libraries [Contents][Index]
Automake includes some support for Unified Parallel C.
Any package including Unified Parallel C code must define the output
variable UPC
in configure.ac; the simplest way to do
this is to use the AM_PROG_UPC
macro (see Public Macros).
A few additional variables are defined when a Unified Parallel C source file is seen:
UPC
¶The name of the Unified Parallel C compiler.
UPCFLAGS
¶Any flags to pass to the Unified Parallel C compiler.
AM_UPCFLAGS
¶The maintainer’s variant of UPCFLAGS
.
UPCCOMPILE
¶The command used to actually compile a Unified Parallel C source file. The file name is appended to form the complete command line.
UPCLINK
¶The command used to actually link a Unified Parallel C program.