1# Copyright 2006 The Android Open Source Project 2 3LOCAL_PATH:= $(call my-dir) 4include $(CLEAR_VARS) 5 6# common settings for all ASR builds, exports some variables for sub-makes 7include $(ASR_MAKE_DIR)/Makefile.defs 8 9LOCAL_SRC_FILES:= \ 10 make_cfst.cpp \ 11 12LOCAL_C_INCLUDES := \ 13 $(ASR_ROOT_DIR)/tools/thirdparty/OpenFst \ 14 $(ASR_ROOT_DIR)/shared/include \ 15 $(ASR_ROOT_DIR)/portable/include \ 16 $(ASR_ROOT_DIR)/srec/include \ 17 $(ASR_ROOT_DIR)/srec/EventLog/include \ 18 $(ASR_ROOT_DIR)/srec/Grammar/include \ 19 $(ASR_ROOT_DIR)/srec/Session/include \ 20 $(ASR_ROOT_DIR)/srec/Semproc/include \ 21 $(ASR_ROOT_DIR)/srec/Vocabulary/include \ 22 23LOCAL_CFLAGS += \ 24 $(ASR_GLOBAL_DEFINES) \ 25 $(ASR_GLOBAL_CPPFLAGS) \ 26 27LOCAL_SHARED_LIBRARIES := \ 28 libESR_Shared \ 29 libESR_Portable \ 30 libSR_Core \ 31 libSR_AcousticModels \ 32 libSR_AcousticState \ 33 libSR_EventLog \ 34 libSR_G2P \ 35 libSR_Grammar \ 36 libSR_Nametag \ 37 libSR_Recognizer \ 38 libSR_Semproc \ 39 libSR_Session \ 40 libSR_Vocabulary \ 41 libfst \ 42 43LOCAL_LDLIBS := \ 44 -lm \ 45 -lpthread \ 46 -ldl \ 47 48LOCAL_MODULE:= make_cfst 49 50include $(BUILD_HOST_EXECUTABLE) 51