1*0a6a1f1dSLionel Sambuc# $NetBSD: Makefile,v 1.13 2015/01/29 20:41:36 joerg Exp $ 2f4a2713aSLionel Sambuc 3f4a2713aSLionel SambucLIB= clangBasic 4f4a2713aSLionel Sambuc 5f4a2713aSLionel Sambuc.include <bsd.init.mk> 6f4a2713aSLionel Sambuc 7f4a2713aSLionel Sambuc.PATH: ${CLANG_SRCDIR}/lib/Basic 8f4a2713aSLionel Sambuc 9*0a6a1f1dSLionel SambucSRCS+= Attributes.cpp \ 10*0a6a1f1dSLionel Sambuc Builtins.cpp \ 11f4a2713aSLionel Sambuc CharInfo.cpp \ 12f4a2713aSLionel Sambuc Diagnostic.cpp \ 13f4a2713aSLionel Sambuc DiagnosticIDs.cpp \ 14f4a2713aSLionel Sambuc FileManager.cpp \ 15f4a2713aSLionel Sambuc FileSystemStatCache.cpp \ 16f4a2713aSLionel Sambuc IdentifierTable.cpp \ 17f4a2713aSLionel Sambuc LangOptions.cpp \ 18f4a2713aSLionel Sambuc Module.cpp \ 19f4a2713aSLionel Sambuc ObjCRuntime.cpp \ 20f4a2713aSLionel Sambuc OpenMPKinds.cpp \ 21f4a2713aSLionel Sambuc OperatorPrecedence.cpp \ 22*0a6a1f1dSLionel Sambuc SanitizerBlacklist.cpp \ 23*0a6a1f1dSLionel Sambuc Sanitizers.cpp \ 24f4a2713aSLionel Sambuc SourceLocation.cpp \ 25f4a2713aSLionel Sambuc SourceManager.cpp \ 26f4a2713aSLionel Sambuc TargetInfo.cpp \ 27f4a2713aSLionel Sambuc Targets.cpp \ 28f4a2713aSLionel Sambuc TokenKinds.cpp \ 29f4a2713aSLionel Sambuc Version.cpp \ 30*0a6a1f1dSLionel Sambuc VersionTuple.cpp \ 31*0a6a1f1dSLionel Sambuc VirtualFileSystem.cpp \ 32*0a6a1f1dSLionel Sambuc Warnings.cpp 33f4a2713aSLionel Sambuc 34f4a2713aSLionel SambucCPPFLAGS.Version.cpp= -DSVN_REVISION=\"${CLANG_REVISION}\" \ 35f4a2713aSLionel Sambuc -DLLVM_REVISION=\"${LLVM_REVISION}\" 36f4a2713aSLionel Sambuc 37f4a2713aSLionel Sambuc.if defined(HOSTLIB) 38f4a2713aSLionel Sambuc.include <bsd.hostlib.mk> 39f4a2713aSLionel Sambuc.else 40f4a2713aSLionel Sambuc.include <bsd.lib.mk> 41f4a2713aSLionel Sambuc.endif 42