Home | History | Annotate | Download | only in srec_jni
      1 # Copyright 2006 The Android Open Source Project
      2 
      3 LOCAL_PATH:= $(call my-dir)
      4 include $(CLEAR_VARS)
      5 
      6 # common settings for all ASR builds, exports some variables for sub-makes
      7 include $(ASR_MAKE_DIR)/Makefile.defs
      8 
      9 LOCAL_SRC_FILES := \
     10   android_speech_srec_MicrophoneInputStream.cpp \
     11   android_speech_srec_Recognizer.cpp \
     12 
     13 
     14 LOCAL_C_INCLUDES := \
     15   $(LOCAL_PATH)/src \
     16   $(LOCAL_PATH)/include \
     17   $(LOCAL_PATH)/../include \
     18   $(ASR_ROOT_DIR)/shared/include \
     19   $(ASR_ROOT_DIR)/portable/include \
     20   $(ASR_ROOT_DIR)/srec/include \
     21   $(ASR_ROOT_DIR)/srec/cr \
     22   $(ASR_ROOT_DIR)/srec/EventLog/include \
     23   $(ASR_ROOT_DIR)/srec/Session/include \
     24   $(ASR_ROOT_DIR)/srec/Semproc/include \
     25   $(ASR_ROOT_DIR)/srec/Recognizer/include \
     26   $(ASR_ROOT_DIR)/srec/Grammar/include \
     27   $(ASR_ROOT_DIR)/srec/Nametag/include \
     28   $(ASR_ROOT_DIR)/srec/Vocabulary/include \
     29   $(ASR_ROOT_DIR)/srec/AcousticModels/include \
     30   $(ASR_ROOT_DIR)/srec/AcousticState/include \
     31   $(ASR_ROOT_DIR)/audio/AudioIn/UNIX/include \
     32 
     33 LOCAL_C_INCLUDES += \
     34   $(JNI_H_INCLUDE) \
     35 
     36 #  include/javavm  \
     37 
     38 LOCAL_CFLAGS += \
     39   $(ASR_GLOBAL_DEFINES) \
     40   $(ASR_GLOBAL_CPPFLAGS) \
     41 
     42 LOCAL_SHARED_LIBRARIES := \
     43   libutils \
     44   libhardware_legacy \
     45   libcutils \
     46   liblog \
     47   libmedia
     48 
     49 LOCAL_STATIC_LIBRARIES := \
     50   libzipfile \
     51   libunz \
     52 
     53 LOCAL_WHOLE_STATIC_LIBRARIES := \
     54   libESR_Shared \
     55   libESR_Portable \
     56   libSR_AcousticModels \
     57   libSR_AcousticState \
     58   libSR_Core \
     59   libSR_EventLog \
     60   libSR_Grammar \
     61   libSR_G2P \
     62   libSR_Nametag \
     63   libSR_Recognizer \
     64   libSR_Semproc \
     65   libSR_Session \
     66   libSR_Vocabulary \
     67 
     68 
     69 LOCAL_MODULE := libsrec_jni
     70 
     71 LOCAL_MODULE_TAGS := optional
     72 
     73 include $(BUILD_SHARED_LIBRARY)
     74