Home | History | Annotate | Download | only in not
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
      4 
      5 
      6 #===---------------------------------------------------------------===
      7 # not command line tool
      8 #===---------------------------------------------------------------===
      9 
     10 not_SRC_FILES := \
     11   not.cpp
     12 
     13 not_STATIC_LIBRARIES := \
     14   libLLVMCore               \
     15   libLLVMSupport            \
     16 
     17 include $(CLEAR_VARS)
     18 
     19 LOCAL_MODULE := not
     20 LOCAL_MODULE_TAGS := optional
     21 LOCAL_MODULE_CLASS := EXECUTABLES
     22 LOCAL_IS_HOST_MODULE := true
     23 
     24 LOCAL_SRC_FILES := $(not_SRC_FILES)
     25 
     26 LOCAL_STATIC_LIBRARIES := $(not_STATIC_LIBRARIES)
     27 
     28 LOCAL_LDLIBS += -lpthread -lm -ldl
     29 
     30 include $(LLVM_ROOT_PATH)/llvm.mk
     31 include $(LLVM_HOST_BUILD_MK)
     32 include $(BUILD_HOST_EXECUTABLE)
     33