Automake includes some support for Unified Parallel C.
Any package including Unified Parallel C code must define the output
UPC in configure.ac; the simplest way to do
this is to use the
AM_PROG_UPC macro (see Macros supplied with Automake).
A few additional variables are defined when a Unified Parallel C source file is seen:
The name of the Unified Parallel C compiler.
Any flags to pass to the Unified Parallel C compiler.
The maintainer’s variant of
The command used to actually compile a Unified Parallel C source file. The file name is appended to form the complete command line.
The command used to actually link a Unified Parallel C program.