blob: 1c0cce68041f12c48e82ce5dcc913e92bc7c2d19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# $NetBSD: Makefile,v 1.2 2021/05/30 01:56:56 joerg Exp $
LIB= clangBasic
.include <bsd.init.mk>
.PATH: ${CLANG_SRCDIR}/lib/Basic
SRCS+= Attributes.cpp \
Builtins.cpp \
CharInfo.cpp \
CodeGenOptions.cpp \
Cuda.cpp \
Diagnostic.cpp \
DiagnosticIDs.cpp \
DiagnosticOptions.cpp \
ExpressionTraits.cpp \
FileEntry.cpp \
FileManager.cpp \
FileSystemStatCache.cpp \
IdentifierTable.cpp \
LangOptions.cpp \
LangStandards.cpp \
Module.cpp \
NoSanitizeList.cpp \
ObjCRuntime.cpp \
OpenCLOptions.cpp \
OpenMPKinds.cpp \
OperatorPrecedence.cpp \
ProfileList.cpp \
Sanitizers.cpp \
SanitizerSpecialCaseList.cpp \
SourceLocation.cpp \
SourceManager.cpp \
Stack.cpp \
TargetID.cpp \
TargetInfo.cpp \
Targets.cpp \
TokenKinds.cpp \
TypeTraits.cpp \
VE.cpp \
Version.cpp \
Warnings.cpp \
XRayInstr.cpp \
XRayLists.cpp
.PATH: ${CLANG_SRCDIR}/lib/Basic/Targets
SRCS+= AArch64.cpp \
AMDGPU.cpp \
ARC.cpp \
ARM.cpp \
AVR.cpp \
BPF.cpp \
Hexagon.cpp \
Lanai.cpp \
Le64.cpp \
M68k.cpp \
MSP430.cpp \
Mips.cpp \
NVPTX.cpp \
OSTargets.cpp \
PNaCl.cpp \
PPC.cpp \
RISCV.cpp \
SPIR.cpp \
Sparc.cpp \
SystemZ.cpp \
TCE.cpp \
WebAssembly.cpp \
X86.cpp \
XCore.cpp
CPPFLAGS+= -I${CLANG_SRCDIR}/lib/Basic -I.
VCSVersion.inc: ${LLVM_TOPLEVEL}/Makefile.inc
echo '#define LLVM_REVISION "${LLVM_REVISION}"' > VCSVersion.inc.tmp
echo '#define LLVM_REPOSITORY "git@github.com:llvm/llvm-project.git"' >> VCSVersion.inc.tmp
echo '#define CLANG_REVISION "${CLANG_REVISION}"' >> VCSVersion.inc.tmp
echo '#define CLANG_REPOSITORY "git@github.com:llvm/llvm-project.git"' >> VCSVersion.inc.tmp
mv VCSVersion.inc.tmp VCSVersion.inc
DPSRCS+= VCSVersion.inc
CLEANFILES+= VCSVersion.inc
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif
|