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