Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / bsd / llvm / bin / clang / Makefile
blobcf0c2a2bdbcac2c601bbf6cc9b8d5471ac99fa27
1 # $NetBSD: Makefile,v 1.33 2015/01/29 20:41:33 joerg Exp $
3 PROG_CXX= clang
4 NOMAN= yes
6 .if !defined(HOSTPROG)
7 SYMLINKS+= clang ${BINDIR}/clang++
8 SYMLINKS+= clang ${BINDIR}/clang-cpp
10 # if defined(__MINIX)
11 SYMLINKS+= clang ${BINDIR}/cc
12 SYMLINKS+= clang ${BINDIR}/c++
13 SYMLINKS+= clang ${BINDIR}/cpp
14 # endif # defined(__MINIX)
15 .endif
17 .include <bsd.init.mk>
19 .PATH: ${CLANG_SRCDIR}/tools/driver
21 SRCS= driver.cpp \
22 cc1_main.cpp \
23 cc1as_main.cpp
25 CLANG_LIBS+= \
26 clangFrontendTool \
27 clangFrontend \
28 clangARCMigrate \
29 clangStaticAnalyzerFrontend \
30 clangStaticAnalyzerCheckers \
31 clangStaticAnalyzerCore \
32 clangDriver \
33 clangSerialization \
34 clangCodeGen \
35 clangParse \
36 clangSema \
37 clangEdit \
38 clangAnalysis \
39 clangFrontendRewrite \
40 clangRewrite \
41 clangAST \
42 clangLex \
43 clangBasic
45 LLVM_LIBS+= \
46 ObjCARC \
47 ipo \
48 IRReader \
49 AsmParser \
50 BitReader \
51 BitWriter \
52 AArch64CodeGen \
53 AArch64TargetInfo \
54 AArch64AsmParser \
55 AArch64MCTargetDesc \
56 AArch64AsmPrinter \
57 AArch64Utils \
58 ARMCodeGen \
59 ARMTargetInfo \
60 ARMMCTargetDesc \
61 ARMAsmParser \
62 ARMAsmPrinter \
63 MipsCodeGen \
64 MipsTargetInfo \
65 MipsAsmPrinter \
66 MipsAsmParser \
67 MipsMCTargetDesc \
68 PowerPCCodeGen \
69 PowerPCTargetInfo \
70 PowerPCMCTargetDesc \
71 PowerPCAsmParser \
72 PowerPCAsmPrinter \
73 SparcCodeGen \
74 SparcTargetInfo \
75 SparcMCTargetDesc \
76 SparcAsmParser \
77 SparcAsmPrinter \
78 X86CodeGen \
79 X86MCTargetDesc \
80 X86TargetInfo \
81 X86Utils \
82 X86AsmParser \
83 X86AsmPrinter \
84 SelectionDAG \
85 AsmPrinter \
86 CodeGen \
87 Vectorize \
88 Target \
89 InstCombine \
90 Instrumentation \
91 ScalarOpts \
92 ProfileData \
93 Analysis \
94 MCDisassembler \
95 MCParser \
96 MC \
97 Object \
98 Linker \
99 TransformsUtils \
100 ipa \
101 IR \
102 Option \
103 Support
105 .include "${.PARSEDIR}/../../link.mk"
107 LDADD+= -lz
108 .if !defined(HOSTPROG)
109 DPADD+= ${LIBZ}
110 .endif
112 .include <bsd.prog.mk>