libs-gui/Tools/speech_recognizer/GNUmakefile

37 lines
1.1 KiB
Text
Raw Normal View History

2020-01-30 16:28:18 -05:00
include $(GNUSTEP_MAKEFILES)/common.make
# Set the default. Eventually this should be conditional.
GSSPEECHRECOGNITIONENGINE = Pocketsphinx
VERSION = 0.1
# This is an app not a tool because, eventually, it will present the user
# interface for the GUI part of the speech engine.
APP_NAME = GSSpeechRecognitionServer
GSSpeechRecognitionServer_LANGUAGES = English
GSSpeechRecognitionServer_OBJC_FILES = \
GSSpeechRecognitionEngine.m \
GSSpeechRecognitionServer.m \
2020-02-01 03:47:21 -05:00
GSSpeechRecognizer.m \
2020-01-30 16:28:18 -05:00
main.m
ifeq ($(GSSPEECHRECOGNITIONENGINE), Pocketsphinx)
2020-02-03 07:56:55 -05:00
POCKETSPHINX_BASE_LIBS = -lpocketsphinx -lsphinxbase -lsphinxad
2020-01-30 16:28:18 -05:00
# Add includes and link dirs.... need to replace triplet.
2020-01-30 16:28:18 -05:00
GSSpeechRecognitionServer_OBJC_FILES += PocketsphinxSpeechRecognitionEngine.m
GSSpeechRecognitionServer_INCLUDE_DIRS += -I/usr/local/include/pocketsphinx \
-I/usr/include/pocketsphinx \
-I/usr/include/x86_64-linux-gnu/sphinxbase \
-I../../Headers \
2020-01-30 16:28:18 -05:00
-I../../Headers/Additions
GSSpeechRecognitionServer_LIB_DIRS += -L../../Source/$(GNUSTEP_OBJ_DIR) \
-L/usr/local/lib -lgnustep-gui \
$(POCKETSPHINX_BASE_LIBS)
endif
include $(GNUSTEP_MAKEFILES)/application.make