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) \ 16 AsmParser \ 17 BitReader \ 18 BitWriter \ 19 IPO \ 20 MC \ 21 ObjCArcOpts \ 22 Option \ 23 Support 24 25# Note that 'USEDLIBS' must include all of the core clang libraries 26# when -static is given to linker on cygming. 27USEDLIBS = clang.a \ 28 clangCodeGen.a \ 29 clangIndex.a clangFormat.a clangRewrite.a \ 30 clangFrontend.a clangDriver.a \ 31 clangTooling.a \ 32 clangToolingCore.a \ 33 clangSerialization.a clangParse.a clangSema.a \ 34 clangAnalysis.a clangEdit.a clangAST.a clangLex.a \ 35 clangBasic.a 36 37include $(CLANG_LEVEL)/unittests/Makefile 38