Home | History | Annotate | Download | only in Core
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 mcld_core_SRC_FILES := \
      4   AttributeOption.cpp \
      5   BitcodeOption.cpp \
      6   Environment.cpp \
      7   GeneralOptions.cpp \
      8   IRBuilder.cpp \
      9   InputTree.cpp \
     10   LinkerConfig.cpp  \
     11   Linker.cpp \
     12   Module.cpp \
     13   ScriptOptions.cpp \
     14   TargetOptions.cpp
     15 
     16 # For the host
     17 # =====================================================
     18 include $(CLEAR_VARS)
     19 
     20 LOCAL_SRC_FILES := $(mcld_core_SRC_FILES)
     21 LOCAL_MODULE:= libmcldCore
     22 
     23 LOCAL_MODULE_TAGS := optional
     24 
     25 include $(MCLD_HOST_BUILD_MK)
     26 include $(BUILD_HOST_STATIC_LIBRARY)
     27 
     28 # For the device
     29 # =====================================================
     30 include $(CLEAR_VARS)
     31 
     32 LOCAL_SRC_FILES := $(mcld_core_SRC_FILES)
     33 LOCAL_MODULE:= libmcldCore
     34 
     35 LOCAL_MODULE_TAGS := optional
     36 
     37 include $(MCLD_DEVICE_BUILD_MK)
     38 include $(BUILD_STATIC_LIBRARY)
     39