Home | History | Annotate | Download | only in Config
      1 /*===- llvm/Config/Targets.def - MCLD Target Architectures ------*- C++ -*-===*\
      2 |*                                                                            *|
      3 |*                     The MCLinker Project                                   *|
      4 |*                                                                            *|
      5 |* This file is distributed under the University of Illinois Open Source      *|
      6 |* License. See LICENSE.TXT for details.                                      *|
      7 |*                                                                            *|
      8 |*===----------------------------------------------------------------------===*|
      9 |*                                                                            *|
     10 |* This file enumerates all of the target architectures supported by          *|
     11 |* this build of MCLD. Clients of this file should define the                 *|
     12 |* MCLD_TARGET macro to be a function-like macro with a single                *|
     13 |* parameter (the name of the target); including this file will then          *|
     14 |* enumerate all of the targets.                                              *|
     15 |*                                                                            *|
     16 |* The set of targets supported by MCLD is generated at configuration         *|
     17 |* time, at which point this header is generated. Do not modify this          *|
     18 |* header directly.                                                           *|
     19 |*                                                                            *|
     20 \*===----------------------------------------------------------------------===*/
     21 
     22 #ifndef MCLD_TARGET
     23 #  error Please define the macro MCLD_TARGET(TargetName)
     24 #endif
     25 
     26 ${MCLD_ENUM_TARGETS}
     27 
     28 #undef MCLD_TARGET
     29