1# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:15 joerg Exp $ 2 3LIB= clangBasic 4 5.include <bsd.init.mk> 6 7.PATH: ${CLANG_SRCDIR}/lib/Basic 8 9SRCS+= Attributes.cpp \ 10 Builtins.cpp \ 11 CharInfo.cpp \ 12 CodeGenOptions.cpp \ 13 Cuda.cpp \ 14 Diagnostic.cpp \ 15 DiagnosticIDs.cpp \ 16 DiagnosticOptions.cpp \ 17 FileManager.cpp \ 18 FileSystemStatCache.cpp \ 19 FixedPoint.cpp \ 20 IdentifierTable.cpp \ 21 LangOptions.cpp \ 22 LangStandards.cpp \ 23 Module.cpp \ 24 ObjCRuntime.cpp \ 25 OpenMPKinds.cpp \ 26 OperatorPrecedence.cpp \ 27 SanitizerBlacklist.cpp \ 28 Sanitizers.cpp \ 29 SanitizerSpecialCaseList.cpp \ 30 SourceLocation.cpp \ 31 SourceManager.cpp \ 32 Stack.cpp \ 33 TargetInfo.cpp \ 34 Targets.cpp \ 35 TokenKinds.cpp \ 36 Version.cpp \ 37 Warnings.cpp \ 38 XRayInstr.cpp \ 39 XRayLists.cpp 40 41.PATH: ${CLANG_SRCDIR}/lib/Basic/Targets 42 43SRCS+= AArch64.cpp \ 44 AMDGPU.cpp \ 45 ARC.cpp \ 46 ARM.cpp \ 47 AVR.cpp \ 48 BPF.cpp \ 49 Hexagon.cpp \ 50 Lanai.cpp \ 51 Le64.cpp \ 52 MSP430.cpp \ 53 Mips.cpp \ 54 NVPTX.cpp \ 55 OSTargets.cpp \ 56 PNaCl.cpp \ 57 PPC.cpp \ 58 RISCV.cpp \ 59 SPIR.cpp \ 60 Sparc.cpp \ 61 SystemZ.cpp \ 62 TCE.cpp \ 63 WebAssembly.cpp \ 64 X86.cpp \ 65 XCore.cpp 66 67CPPFLAGS+= -I${CLANG_SRCDIR}/lib/Basic 68 69CPPFLAGS.Version.cpp= -DSVN_REVISION=\"${CLANG_REVISION}\" \ 70 -DLLVM_REVISION=\"${LLVM_REVISION}\" 71 72.if defined(HOSTLIB) 73.include <bsd.hostlib.mk> 74.else 75.include <bsd.lib.mk> 76.endif 77