ifnet: Remove unused functions
[dragonfly.git] / llvm_clang / block1 / Makefile.generated
blob3aacc6e86d633d75d96f217cefabc33df366d9be
1 # Commonly used generation targets
3 llvm/Support/DataTypes.h: ${TOP_LLVM}/include/llvm/Support/DataTypes.h.cmake
4         mkdir -p ${.TARGET:H}
5         sed -e 's|#cmakedefine|#define|' \
6                 -e 's|$${HAVE_INTTYPES_H}|1|' \
7                 -e 's|$${HAVE_STDINT_H}|1|' \
8                 -e 's|$${HAVE_UINT64_T}|1|' \
9                 -e 's|$${HAVE_U_INT64_T}|1|' ${.ALLSRC} > ${.TARGET}
11 .for X in config.h llvm-config.h
12 llvm/Config/${X}: ${.CURDIR}/../../block1/configuration/${X}
13         mkdir -p ${.TARGET:H}
14         cp ${.ALLSRC} ${.TARGET}
15 .endfor
17 DEFS=   Targets/LLVM_TARGET \
18         AsmPrinters/LLVM_ASM_PRINTER \
19         Disassemblers/LLVM_DISASSEMBLER \
20         AsmParsers/LLVM_ASM_PARSER
22 .for D in ${DEFS}
23 llvm/Config/${D:H}.def:
24         mkdir -p ${.TARGET:H}
25         @echo "#ifndef ${D:T}" > ${.TARGET}
26         @echo "#  error Please define the macro ${D:T}(TargetName)" >> ${.TARGET}
27         @echo "#endif" >> ${.TARGET}
28         @echo >> ${.TARGET}
29         @echo "${D:T}(X86)" >> ${.TARGET}
30 .if "${D:H}" == "Targets"
31         @echo "${D:T}(CppBackend)" >> ${.TARGET}
32 .endif
33 .if defined(CLANG_EXTRA_TARGETS)
34 .   if ${CLANG_EXTRA_TARGETS:MAArch64}
35         @echo "${D:T}(AArch64)" >> ${.TARGET}
36 .   endif
37 .   if ${CLANG_EXTRA_TARGETS:MAMDGPU}
38 .      if "${D:H}" != "Disassemblers"
39         @echo "${D:T}(AMDGPU)" >> ${.TARGET}
40 .      endif
41 .   endif
42 .   if ${CLANG_EXTRA_TARGETS:MARM}
43         @echo "${D:T}(ARM)" >> ${.TARGET}
44 .   endif
45 .   if ${CLANG_EXTRA_TARGETS:MMips}
46         @echo "${D:T}(Mips)" >> ${.TARGET}
47 .   endif
48 .   if ${CLANG_EXTRA_TARGETS:MPowerPC}
49         @echo "${D:T}(PowerPC)" >> ${.TARGET}
50 .   endif
51 .endif
52         @echo >> ${.TARGET}
53         @echo "#undef ${D:T}" >> ${.TARGET}
54         @echo "${D:H}.def created."
55 .endfor