Home | History | Annotate | Download | only in libclang
      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 
     10 CLANG_LEVEL = ../..
     11 TESTNAME = libclang
     12 LINK_LIBS_IN_SHARED := 1
     13 
     14 include $(CLANG_LEVEL)/../../Makefile.config
     15 LINK_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.
     19 USEDLIBS = 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 
     28 include $(CLANG_LEVEL)/unittests/Makefile
     29