Home | History | Annotate | Download | only in make_cfst
      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 	make_cfst.cpp \
     11 
     12 LOCAL_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 
     23 LOCAL_CFLAGS += \
     24 	$(ASR_GLOBAL_DEFINES) \
     25 	$(ASR_GLOBAL_CPPFLAGS) \
     26 
     27 LOCAL_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 
     43 LOCAL_LDLIBS := \
     44 	-lm \
     45 	-lpthread
     46 ifneq ($(HOST_OS),freebsd)
     47 LOCAL_LDLIBS += -ldl
     48 endif
     49 
     50 LOCAL_MODULE:= make_cfst
     51 
     52 include $(BUILD_HOST_EXECUTABLE)
     53