1##===- unittests/libclang/Makefile -------------------------*- Makefile -*-===##
2#
3#                     The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9
10CLANG_LEVEL = ../..
11TESTNAME = libclang
12LINK_LIBS_IN_SHARED := 1
13
14include $(CLANG_LEVEL)/../../Makefile.config
15LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc option
16
17# Note that 'USEDLIBS' must include all of the core clang libraries
18# when -static is given to linker on cygming.
19USEDLIBS = clang.a \
20	   clangIndex.a clangFormat.a clangRewrite.a \
21	   clangFrontend.a clangDriver.a \
22	   clangTooling.a \
23	   clangToolingCore.a \
24	   clangSerialization.a clangParse.a clangSema.a \
25	   clangAnalysis.a clangEdit.a clangAST.a clangLex.a \
26	   clangBasic.a
27
28include $(CLANG_LEVEL)/unittests/Makefile
29