Home | History | Annotate | Download | only in bugpoint-passes
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
      4 include $(LLVM_ROOT_PATH)/llvm.mk
      5 
      6 bugpoint_passes_SRC_FILES := \
      7   TestPasses.cpp
      8 
      9 # BugpointPasses module for the host
     10 # =====================================================
     11 include $(CLEAR_VARS)
     12 
     13 LOCAL_SRC_FILES := $(bugpoint_passes_SRC_FILES)
     14 LOCAL_MODULE := BugpointPasses
     15 
     16 LOCAL_MODULE_CLASS := SHARED_LIBRARIES # needed for tblgen
     17 LOCAL_LDFLAGS_darwin := -Wl,-undefined -Wl,dynamic_lookup
     18 
     19 include $(LLVM_HOST_BUILD_MK)
     20 include $(LLVM_GEN_ATTRIBUTES_MK)
     21 include $(LLVM_GEN_INTRINSICS_MK)
     22 include $(BUILD_HOST_SHARED_LIBRARY)
     23