# $NetBSD: Makefile,v 1.35 2017/01/11 12:02:25 joerg Exp $ PROG_CXX= clang NOMAN= yes .if !defined(HOSTPROG) SYMLINKS+= clang ${BINDIR}/clang++ SYMLINKS+= clang ${BINDIR}/clang-cpp .endif .include .PATH: ${CLANG_SRCDIR}/tools/driver SRCS= driver.cpp \ cc1_main.cpp \ cc1as_main.cpp CLANG_LIBS+= \ clangFrontendTool \ clangFrontend \ clangARCMigrate \ clangStaticAnalyzerFrontend \ clangStaticAnalyzerCheckers \ clangStaticAnalyzerCore \ clangASTMatchers \ clangDriver \ clangSerialization \ clangCodeGen \ clangParse \ clangSema \ clangEdit \ clangAnalysis \ clangFrontendRewrite \ clangRewrite \ clangAST \ clangLex \ clangBasic LLVM_LIBS+= \ TransformsCoroutines \ ProfileDataCoverage \ LTO \ ObjCARC \ ipo \ IRReader \ AsmParser \ BitReader \ BitWriter \ AArch64CodeGen \ AArch64TargetInfo \ AArch64AsmParser \ AArch64MCTargetDesc \ AArch64AsmPrinter \ AArch64Utils \ ARMCodeGen \ ARMTargetInfo \ ARMMCTargetDesc \ ARMAsmParser \ ARMAsmPrinter \ MipsCodeGen \ MipsTargetInfo \ MipsAsmPrinter \ MipsAsmParser \ MipsMCTargetDesc \ PowerPCCodeGen \ PowerPCTargetInfo \ PowerPCMCTargetDesc \ PowerPCAsmParser \ PowerPCAsmPrinter \ SparcCodeGen \ SparcTargetInfo \ SparcMCTargetDesc \ SparcAsmParser \ SparcAsmPrinter \ X86CodeGen \ X86MCTargetDesc \ X86TargetInfo \ X86Utils \ X86AsmParser \ X86AsmPrinter \ GlobalISel \ SelectionDAG \ AsmPrinter \ DebugInfoCodeView \ DebugInfoMSF \ Passes \ CodeGen \ Vectorize \ Target \ InstCombine \ Instrumentation \ ScalarOpts \ ProfileData \ MCDisassembler \ MCParser \ MC \ Analysis \ Object \ Linker \ TransformsUtils \ IR \ Option \ Support \ Demangle .include "${.PARSEDIR}/../../link.mk" LDADD+= -lz .if !defined(HOSTPROG) DPADD+= ${LIBZ} .endif .include